DecodeTable

chisel3.util.experimental.decode.DecodeTable
class DecodeTable[I <: DecodePattern](patterns: Seq[I], fields: Seq[DecodeField[I, _ <: Data]])

A structured way of generating large decode tables, often found in CPU instruction decoders

Each field is a DecoderPattern, its genTable method will be called for each possible pattern and gives expected output for this field as a BitPat.

Type parameters

I

concrete type of input patterns trait

Value parameters

fields

all fields as decoded output

patterns

all possible input patterns, should implement trait DecoderPattern

Attributes

Source
DecoderBundle.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

Attributes

Source
DecoderBundle.scala
def decode(input: UInt): DecodeBundle

Attributes

Source
DecoderBundle.scala

Concrete fields

lazy val table: TruthTable

Attributes

Source
DecoderBundle.scala