opcode injection
TechniqueOpcode injection is a test-generation technique for processor verification in which a random valid instruction opcode is inserted into an otherwise randomized instruction word. In the cited RISC-V cross-level verification approach, it helps produce legal instructions while preserving randomized instruction fields, counteracting the tendency of fully random 32-bit words to encode illegal instructions.
WIKI
Overview
Opcode injection is used in an instruction stream generator to turn a fully randomized instruction word into a more useful test instruction. The technique injects a random valid instruction opcode while leaving the remaining instruction fields randomized. This creates a valid instruction form without fully constraining operands, immediates, or other fields.
The cited RISC-V verification work presents opcode injection as the first modification to a baseline generator that otherwise fully randomizes generated instructions. The modification is described as simple, generic, and effective, and as important for ensuring that many legal instructions are considered during testing.
NEIGHBORHOOD
No graph connections found for this entity yet. It may appear in future ingestion runs.
explore full graph →