Reverse

chisel3.util.Reverse
object Reverse

Returns the input in bit-reversed order. Useful for little/big-endian conversion.

Attributes

Example
Reverse("b1101".U)  // equivalent to "b1011".U
Reverse("b1101".U(8.W))  // equivalent to "b10110000".U
Reverse(myUIntWire)  // dynamic reverse
Source
Bitwise.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Reverse.type

Members list

Value members

Inherited methods

def apply(in: UInt)(using SourceInfo): UInt

Attributes

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