PriorityMux
chisel3.util.PriorityMux
object PriorityMux
Builds a Mux tree under the assumption that multiple select signals can be enabled. Priority is given to the first select signal.
Attributes
- Example
-
val hotValue = chisel3.util.PriorityMux(Seq( io.selector(0) -> 2.U, io.selector(1) -> 4.U, io.selector(2) -> 8.U, io.selector(4) -> 11.U, ))Returns the output of the Mux tree.
- Source
- Mux.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
PriorityMux.type
Members list
In this article