Packages

o

chisel3.util

scanLeftOr

object scanLeftOr

Map each bit to the logical OR of itself and all bits with lower index

Here scanLeft means "start from the left and iterate to the right, where left is the lowest index", a common operation on arrays and lists.

Source
Bitwise.scala
Example:
  1. scanLeftOr("b00001000".U(8.W)) // Returns "b11111000".U
    scanLeftOr("b00010100".U(8.W)) // Returns "b11111100".U
    scanLeftOr("b00000000".U(8.W)) // Returns "b00000000".U
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. scanLeftOr
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def apply(data: UInt): UInt