LISA+ integer types and state variables
LISA+ uses C/C++
code to describe the behavior and the state variables of a component. Although you can use
native C integer types like
char in the description,
it is often desirable to use integer types with a defined bitwidth that is independent of the
LISA defines these integer types:
- 8-bit unsigned integer value.
- 8-bit signed integer value.
- 16-bit unsigned integer value.
- 16-bit signed integer value.
- 32-bit unsigned integer value.
- 32-bit signed integer value.
- 64-bit unsigned integer value.
- 64-bit signed integer value.
These types are efficient because they have no overhead over native C data types.