2.2 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 int and char in the description, it is often desirable to use integer types with a defined bitwidth that is independent of the host architecture.

LISA defines these integer types:

uint8_t
8-bit unsigned integer value.
int8_t
8-bit signed integer value.
uint16_t
16-bit unsigned integer value.
int16_t
16-bit signed integer value.
uint32_t
32-bit unsigned integer value.
int32_t
32-bit signed integer value.
uint64_t
64-bit unsigned integer value.
int64_t
64-bit signed integer value.

These types are efficient because they have no overhead over native C data types.

Non-ConfidentialPDF file icon PDF version101092_0100_04_en
Copyright © 2014–2018 Arm Limited or its affiliates. All rights reserved.