decoder
Attributes
- Source
- decoder.scala
- Graph
-
- Supertypes
- Self type
-
decoder.type
Members list
Value members
Concrete methods
Use a specific Minimizer to generated decoded signals.
Use a specific Minimizer to generated decoded signals.
Value parameters
- input
-
input signal that contains decode table input
- minimizer
-
specific Minimizer, can be QMCMinimizer or EspressoMinimizer.
- truthTable
-
TruthTable to decode user input.
Attributes
- Returns
-
decode table output.
- Source
- decoder.scala
try to use EspressoMinimizer to decode input by truthTable if espresso not exist in your PATH environment it will fall back to QMCMinimizer, and print a warning.
try to use EspressoMinimizer to decode input by truthTable if espresso not exist in your PATH environment it will fall back to QMCMinimizer, and print a warning.
Value parameters
- input
-
input signal that contains decode table input
- truthTable
-
TruthTable to decode user input.
Attributes
- Returns
-
decode table output.
- Source
- decoder.scala
Generate a decoder circuit that matches the input to each bitSet.
Generate a decoder circuit that matches the input to each bitSet.
The resulting circuit functions like the following but is optimized with a logic minifier.
when(input === bitSets(0)) { output := b000001 }
.elsewhen (input === bitSets(1)) { output := b000010 }
....
.otherwise { if (errorBit) output := b100000 else output := DontCare }
Value parameters
- bitSets
-
set of ports to be matched, all width should be the equal
- errorBit
-
whether generate an additional decode error bit at MSB of output.
- input
-
input to the decoder circuit, width should be equal to bitSets.width
Attributes
- Returns
-
decoded wire
- Source
- decoder.scala
Use EspressoMinimizer to generated decoded signals.
Use EspressoMinimizer to generated decoded signals.
Value parameters
- input
-
input signal that contains decode table input
- truthTable
-
TruthTable to decode user input.
Attributes
- Returns
-
decode table output.
- Source
- decoder.scala
Use QMCMinimizer to generated decoded signals.
Use QMCMinimizer to generated decoded signals.
Value parameters
- input
-
input signal that contains decode table input
- truthTable
-
TruthTable to decode user input.
Attributes
- Returns
-
decode table output.
- Source
- decoder.scala
Inherited methods
Attributes
- Inherited from:
- LazyLogging
- Source
- Logger.scala
Inherited fields
Attributes
- Inherited from:
- LazyLogging
- Source
- Logger.scala