BitData Module
This module provides several useful functions to access a 32-bit bit vector, represented as either a uint32 or a uint64.
Functions and values
Function or value | Description |
Full Usage:
concat n1 n2 shiftAmount
Parameters:
uint32
n2 : uint32
shiftAmount : int32
Returns: uint32
|
|
Full Usage:
extract binary ofs1 ofs2
Parameters:
uint32
ofs1 : uint32
ofs2 : uint32
Returns: uint32
|
|
Full Usage:
getBitMask64 size
Parameters:
int
Returns: uint64
|
|
Full Usage:
pickBit binary pos
Parameters:
uint32
pos : uint32
Returns: uint32
|
|
Full Usage:
signExtend originalSize targetSize v
Parameters:
int
targetSize : int
v : uint64
Returns: uint64
|