Integer Types
Bit
bit is a integer data type with default properties: unsigned, 1-bit width, {0, 1} domain.
Declare a bit
Declare 8-bits wide bit type
Possible values specified by bit width are {0..(2width-1)}
dual bounds may be removed in future version
Declared with specified value domain
Values of variable are within intersection of possible values by width and value domain.
Single value (e.g., [0, 1, 5] or [5, ..2, 6..8, 254..]) is not support yet
Tip
Specify value domain is useful for random variable. Following examples are equalize:
Integer
int is a integer data type with default properties: signed, 32-bits width, {-231..(231-1)} domain.
Declare an integer:
Declare 8-bits wide int type
Possible values specified by bit width are {-2width-1..(2width-1-1)}
dual bounds may be removed in future version
Declared with specified value domain
Values of variable are within intersection of possible values by width and value domain.
Single value (e.g., [0, 1, 5] or [5, ..2, 6..8, 254..]) is not support yet