RegType Module
A helper for RegType.
Functions and values
Function or value | Description |
|
|
|
|
Full Usage:
RegType.getMask t
Parameters:
int<MeasureProduct<rt, MeasureOne>>
Returns: bigint
A bit mask in big integer.
|
|
Full Usage:
RegType.toBitWidth t
Parameters:
RegType
-
RegType.
Returns: int
A bit width in integer of the given RegType.
|
|
Full Usage:
RegType.toByteWidth t
Parameters:
RegType
-
RegType.
Returns: int
A byte width in integer of the given RegType.
|
|
Full Usage:
RegType.toString t
Parameters:
RegType
-
RegType.
Returns: string
A string representation for RegType. For example, I32 means a 32-bit
integer type.
|