Exception Handling in Processor Verification
ConceptException handling in processor verification is planned stimulus and checking for processor exception causes such as illegal opcodes, watchpoints, misaligned memory accesses, and instruction-slot rule violations. In constrained-random verification, exception conditions should be planned early, modeled in transaction properties and constraints, and injected through instruction scenarios with controlled occurrence probabilities and combinations.
WIKI
Overview
In constrained-random processor verification, exception handling refers to planning and generating instruction streams that exercise the processor hardware's exception behavior. Pure random instruction streams are usually insufficient for this purpose because they rarely create useful stimulus for important functions such as branches, jumps, and exceptions. A constrained-random verification infrastructure therefore needs knowledge of the processor instruction-set architecture and state, and it should be driven by top-down stimulus planning. [C1]
A program trace can be modeled as a collection of one or more instruction scenarios. For example, one scenario may provide boot code with an exception handler, another may program internal configuration registers for hardware watchpoints, and later scenarios may contain load/store, arithmetic, and branch operations. Exception conditions can be introduced randomly inside these scenarios. [C2]
NEIGHBORHOOD
No graph connections found for this entity yet. It may appear in future ingestion runs.
explore full graph →