object decoder extends LazyLogging
- Source
- decoder.scala
- Alphabetic
- By Inheritance
- decoder
- LazyLogging
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def apply(input: UInt, truthTable: TruthTable): UInt
try to use EspressoMinimizer to decode
inputbytruthTableifespressonot exist in your PATH environment it will fall back to QMCMinimizer, and print a warning.try to use EspressoMinimizer to decode
inputbytruthTableifespressonot exist in your PATH environment it will fall back to QMCMinimizer, and print a warning.- input
input signal that contains decode table input
- truthTable
TruthTable to decode user input.
- returns
decode table output.
- def apply(minimizer: Minimizer, input: UInt, truthTable: TruthTable): UInt
Use a specific Minimizer to generated decoded signals.
Use a specific Minimizer to generated decoded signals.
- minimizer
specific Minimizer, can be QMCMinimizer or EspressoMinimizer.
- input
input signal that contains decode table input
- truthTable
TruthTable to decode user input.
- returns
decode table output.
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def bitset(input: UInt, bitSets: Seq[BitSet], errorBit: Boolean = false): UInt
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 }
- input
input to the decoder circuit, width should be equal to bitSets.width
- 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.
- returns
decoded wire
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def espresso(input: UInt, truthTable: TruthTable): UInt
Use EspressoMinimizer to generated decoded signals.
Use EspressoMinimizer to generated decoded signals.
- input
input signal that contains decode table input
- truthTable
TruthTable to decode user input.
- returns
decode table output.
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getLogger: Logger
- Definition Classes
- LazyLogging
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val logger: Logger
- Attributes
- protected
- Definition Classes
- LazyLogging
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def qmc(input: UInt, truthTable: TruthTable): UInt
Use QMCMinimizer to generated decoded signals.
Use QMCMinimizer to generated decoded signals.
- input
input signal that contains decode table input
- truthTable
TruthTable to decode user input.
- returns
decode table output.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
This is the documentation for Chisel.
Package structure
The chisel3 package presents the public API of Chisel. It contains the concrete core types
UInt,SInt,Bool,Clock, andReg, the abstract typesBits,Aggregate, andData, and the aggregate typesBundleandVec.The Chisel package is a compatibility layer that attempts to provide chisel2 compatibility in chisel3.
Utility objects and methods are found in the
utilpackage.The
testerspackage defines the basic interface for chisel testers.