PriorityEncoder
chisel3.util.PriorityEncoder
object PriorityEncoder
Returns the bit position of the least-significant high bit of the input bitvector.
Attributes
- Note
-
Multiple bits may be high in the input.
If no bits are high, the result is undefined.
- Example
-
PriorityEncoder("b0110".U) // results in 1.U - Source
- OneHot.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
PriorityEncoder.type
Members list
In this article