FillInterleaved

chisel3.util.FillInterleaved

Creates repetitions of each bit of the input in order.

Attributes

Example
FillInterleaved(2, "b1 0 0 0".U)  // equivalent to "b11 00 00 00".U
FillInterleaved(2, "b1 0 0 1".U)  // equivalent to "b11 00 00 11".U
FillInterleaved(2, myUIntWire)  // dynamic interleaved fill
FillInterleaved(2, Seq(false.B, false.B, false.B, true.B))  // equivalent to "b11 00 00 00".U
FillInterleaved(2, Seq(true.B, false.B, false.B, true.B))  // equivalent to "b11 00 00 11".U
Source
Bitwise.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Inherited methods

def apply(n: Int, in: Seq[Bool])(using SourceInfo): UInt

Creates n repetitions of each bit of x in order.

Creates n repetitions of each bit of x in order.

Output data-equivalent to in(size(in)-1) (n times) ## ... ## in(1) (n times) ## in(0) (n times)

Attributes

Inherited from:
FillInterleaved$Intf (hidden)
Source
BitwiseIntf.scala
def apply(n: Int, in: UInt)(using SourceInfo): UInt

Creates n repetitions of each bit of x in order.

Creates n repetitions of each bit of x in order.

Output data-equivalent to in(size(in)-1) (n times) ## ... ## in(1) (n times) ## in(0) (n times)

Attributes

Inherited from:
FillInterleaved$Intf (hidden)
Source
BitwiseIntf.scala