Internals#
The internals subdirectory provides several common/utility facilities to both memory controllers and execution engines:
bounds.h
andconfig.h
Define and check compile-time configuration of the monitor. See the Userβs Guide for details on setting parameters.
Caution
To allow undefined preprocessors definitions to be detected as an error state, all flags must be defined in
config.h
and set to eitherEXHIBIT
orINHIBIT
(i.e.,1
or0
) and only checked for value - never existence!debug.h
Provides debug preprocessor definitions, including printing macros and an
UNUSED
marker. See debug for more details.errors.h
anderrors.c
Defines the
r2u2_status
enum used to signal error conditions throughout the monitor, as well as string conversion facilities for errors when in debug mode.types.h
Definitions of parameterize types common to all components of the monitor, allowing for type punning.