Packages

object decoder extends LazyLogging

Source
decoder.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. decoder
  2. LazyLogging
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def apply(input: UInt, truthTable: TruthTable): UInt

    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.

    input

    input signal that contains decode table input

    truthTable

    TruthTable to decode user input.

    returns

    decode table output.

  5. 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.

  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. 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

  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. 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.

  12. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def getLogger: Logger
    Definition Classes
    LazyLogging
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. val logger: Logger
    Attributes
    protected
    Definition Classes
    LazyLogging
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. 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.

  22. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from LazyLogging

Inherited from AnyRef

Inherited from Any

Ungrouped