Packages

object Mux1H extends Mux1H$Intf

Builds a Mux tree out of the input signal vector using a one hot encoded select signal. Returns the output of the Mux tree.

Source
Mux.scala
Example:
  1. val hotValue = chisel3.util.Mux1H(Seq(
     io.selector(0) -> 2.U,
     io.selector(1) -> 4.U,
     io.selector(2) -> 8.U,
     io.selector(4) -> 11.U,
    ))
Note

results unspecified unless exactly one select signal is high

Linear Supertypes
Mux1H$Intf, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Mux1H
  2. Mux1H$Intf
  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 _applyImpl(sel: UInt, in: UInt)(implicit sourceInfo: SourceInfo): Bool
    Attributes
    protected
  5. def _applyImpl[T <: Data](sel: UInt, in: Seq[T])(implicit sourceInfo: SourceInfo): T
    Attributes
    protected
  6. def _applyImpl[T <: Data](in: Iterable[(Bool, T)])(implicit sourceInfo: SourceInfo): T
    Attributes
    protected
  7. def _applyImpl[T <: Data](sel: Seq[Bool], in: Seq[T])(implicit sourceInfo: SourceInfo): T
    Attributes
    protected
  8. macro def apply(sel: UInt, in: UInt): Bool
    Definition Classes
    Mux1H$Intf
  9. macro def apply[T <: Data](sel: UInt, in: Seq[T]): T
    Definition Classes
    Mux1H$Intf
  10. macro def apply[T <: Data](in: Iterable[(Bool, T)]): T
    Definition Classes
    Mux1H$Intf
  11. macro def apply[T <: Data](sel: Seq[Bool], in: Seq[T]): T
    Definition Classes
    Mux1H$Intf
  12. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  13. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  14. def do_apply(sel: UInt, in: UInt)(implicit sourceInfo: SourceInfo): Bool
    Definition Classes
    Mux1H$Intf
  15. def do_apply[T <: Data](sel: UInt, in: Seq[T])(implicit sourceInfo: SourceInfo): T
    Definition Classes
    Mux1H$Intf
  16. def do_apply[T <: Data](in: Iterable[(Bool, T)])(implicit sourceInfo: SourceInfo): T
    Definition Classes
    Mux1H$Intf
  17. def do_apply[T <: Data](sel: Seq[Bool], in: Seq[T])(implicit sourceInfo: SourceInfo): T
    Definition Classes
    Mux1H$Intf
  18. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  20. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  21. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  22. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  23. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  28. def toString(): String
    Definition Classes
    AnyRef → Any
  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Mux1H$Intf

Inherited from AnyRef

Inherited from Any

Ungrouped