next_state macro
CodeArtifactThe `next_state` macro is an ITL architectural-style code artifact that defines the effect of an instruction, and interrupts, on a processor’s architectural state. It returns the updated architectural state, forms the core of the ISA description, and is translated into a public C++ function when generating an instruction set simulator.
WIKI
Overview
The next_state macro is an architectural-style ITL macro used to describe the state transition semantics of a processor instruction set. In the cited ISS-generation flow, an architectural-style formulation requires an explicit next_state macro that captures the effects of instructions and interrupts on the architectural state. [C1]
The macro’s return value is the architectural state after execution of the current instruction. The paper describes this as the architectural state “modified by the execution of the current instruction,” and states that next_state forms the core of the ISA. [C2]
NEIGHBORHOOD
No graph connections found for this entity yet. It may appear in future ingestion runs.
explore full graph →