Internals#
The internals subdirectory provides several common/utility facilities to both memory controllers and execution engines:
bounds.handconfig.hDefine 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.hand set to eitherEXHIBITorINHIBIT(i.e.,1or0) and only checked for value - never existence!debug.hProvides debug preprocessor definitions, including printing macros and an
UNUSEDmarker. See Debug for more details.errors.handerrors.cDefines the
r2u2_status_tenum used to signal error conditions throughout the monitor, as well as string conversion facilities for errors when in debug mode.types.hDefinitions of parameterize types common to all components of the monitor, allowing for type punning.