PriorityEncoderOH
chisel3.util.PriorityEncoderOH
object PriorityEncoderOH
Returns a bit vector in which only the least-significant 1 bit in the input vector, if any, is set.
Attributes
- Example
-
PriorityEncoderOH(Seq(false.B, true.B, true.B, false.B)) // results in Seq(false.B, true.B, false.B, false.B) - Source
- OneHot.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
PriorityEncoderOH.type
Members list
In this article