TruthTable

chisel3.util.experimental.decode.TruthTable
See theTruthTable companion class
object TruthTable

Attributes

Companion
class
Source
TruthTable.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
TruthTable.type

Members list

Value members

Concrete methods

def apply(table: Iterable[(BitPat, BitPat)], default: BitPat, sort: Boolean = ...): TruthTable

Public apply method to TruthTable. Calls apply_impl with the default value true of checkCollisions

Public apply method to TruthTable. Calls apply_impl with the default value true of checkCollisions

Attributes

Source
TruthTable.scala
def fromEspressoOutput(table: Iterable[(BitPat, BitPat)], default: BitPat, sort: Boolean = ...): TruthTable

Public method for calling with the Espresso decoder format fd

Public method for calling with the Espresso decoder format fd

For Espresso, for each output, a 1 means this product term belongs to the ON-set, a 0 means this product term has no meaning for the value of this function. This is the same as the fd (or f) type in espresso.

Value parameters

default

the default BitPat is made up of a single bit type, either "?", "0" or "1". A default of "?" sets Espresso to fr-format, while a "0" or "1" sets it to the fd-format.

sort

whether to sort the final truth table using BitPat.bitPatOrder

table

the truth table

Attributes

Returns

a fully built TruthTable

Source
TruthTable.scala
def fromString(tableString: String): TruthTable

Parse TruthTable from its string representation.

Parse TruthTable from its string representation.

Attributes

Source
TruthTable.scala