Home /Modules/cpu/REGISTERS.md

REGISTERS.md

lib/cpu/cortex-r/REGISTERS.md · 26 line(s) · markdown

Cortex-R Registers

Profile-driven register state

The precise register bank is architecture-generation and execution-state dependent. The model should include only registers supported by the selected core.

Common categories include:

Rules

  1. Use target-documented reset values and register widths.
  2. Model special-register access restrictions and side effects.
  3. Preserve banked state during exception entry and return.
  4. Reject access to registers absent from the selected profile.
  5. Preserve reserved-bit semantics as specified; never assign invented meanings.
  6. Mark implementation-defined registers as unspecified until a concrete core configuration supplies their definitions.

Introspection

Expose a profile-aware register inventory to the SLeeLa debugger. Reports should identify each register's width, access mode, reset source, bank or execution mode, and evidence classification.