Used to know the data type of the children class of BitVector
Return a range of bits at offset and of width bitCount
Return a range of bits at offset and of width bitCount
val myBool = myBits(myUInt, 2 bits)
Return a range of bits at offset and of width bitCount
Return a range of bits at offset and of width bitCount
val myBool = myBits(3, 2 bits)
Return the bit at index bitId
Return the bit at index bitId
val myBool = myBits(myUInt)
Return the bit at index bitId
Return the bit at index bitId
val myBool = myBits(3)
Cast data to Bits
Cast data to Bits
Create a data set to 0
Create a data set to 0
Resize the bitVector to width
Resize the bitVector to width
a resized bitVector
val res = myBits.resize(10)
Left rotation of that bits
Right rotation of that bits
Set all bits
Concatenation between two data
Concatenation between two data
BitVector is not equal to MaskedLiteral
Compare a BitVector with a MaskedLiteral (M"110--0")
Compare a BitVector with a MaskedLiteral (M"110--0")
the maskedLiteral
a Bool data containing the result of the comparison
val myBool = myBits === M"0-1"
Allow a data to be overrided
Allow a data to be overrided
Logical AND of all bits
Return a range of bits
Return a range of bits
val myBool = myBits(3 downto 1)
Cast the BitVector into a Vector of Bool
Cast the BitVector into a Vector of Bool
a vector of Bool
set a data as inout
Set a data as input
Set a data as output
Clear all bits
flip the direction of the data
flip the direction of the data
Generate this if condition is true
Generate this if condition is true
Return the width of the data
Get current component with all parents
Get current component with all parents
Return the width
Does the base type have initial value
Does the base type have initial value
Return the upper bound
Is the baseType a node
Is the baseType a node
Is the basetype using reset signal
Is the basetype using reset signal
Is the basetype using soft reset signal
Is the basetype using soft reset signal
Check if the baseType is vital
Check if the baseType is vital
Return the least significant bit
Return the most significant bit
Extract a range of bits of the BitVector
Extract a range of bits of the BitVector
Extract a bit of the BitVector
Extract a bit of the BitVector
Logical OR of all bits
Pull a signal to the top level (use for debugging)
Pull a signal to the top level (use for debugging)
Usefull for register that doesn't need a reset value in RTL, but need a randome value for simulation (avoid x-propagation)
Usefull for register that doesn't need a reset value in RTL, but need a randome value for simulation (avoid x-propagation)
Return the range
Remove all assignements of the base type
Resized data regarding target
Resized data regarding target
Left rotation of that Bits
Right rotation of that Bits
Set all bits to value
Set all bits to value
Set baseType to Combinatorial
remove the direction (in,out,inout) to a data
Set baseType to reg
Set baseType to Node
Set baseType to Node
Set the baseType to vital
Set the baseType to vital
Set the width of the BitVector
Set the width of the BitVector
the width of the data
the BitVector of a given size
Split the BitVector into slice of x bits * @example
Split the BitVector into slice of x bits * @example
val res = myBits.subdiviedIn(3 bits)
the width of the slice
a Vector of slices
Split the BitVector into x slice
Split the BitVector into x slice
the width of the slice
a Vector of slices
val res = myBits.subdiviedIn(3 slices)
Logical XOR of all bits
(Since version ???) use setAsDirectionLess instead
(Since version ) see corresponding Javadoc for more information.
BitVector is a family of types for storing multiple bits of information in a single value. This type has three subtypes that can be used to model different behaviours:
BitVector Documentation