scanRightOr
chisel3.util.scanRightOr
object scanRightOr
Map each bit to the logical OR of itself and all bits with higher index
Here scanRight means "start from the right and iterate to the left, where right is the highest index", a common operation on arrays and lists.
Attributes
- Example
-
scanRightOr("b00001000".U) // Returns "b00001111".U scanRightOr("b00010100".U) // Returns "b00011111".U scanRightOr("b00000000".U) // Returns "b00000000".U - Source
- Bitwise.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
scanRightOr.type
Members list
In this article