Instruction Field Randomization
ConceptInstruction field randomization is a constrained-random stimulus generation approach in which the individual fields of a processor instruction (opcode, operands, modifiers, etc.) are randomized subject to architectural and legal-instruction constraints. It is typically implemented with a hierarchical class structure driven by test-layer knobs that bias opcode categories and per-instruction fields, and is realized on top of a SystemVerilog constraint solver such as the VCS constraint solver.
WIKI
Overview
Instruction field randomization is the technique of generating valid instruction stimuli for processor and microcode verification by randomizing the fields of an instruction (opcode category, operand values, prefix/suffix bits, and so on) rather than selecting pre-encoded instruction words from a list. The fields are constrained so that the resulting instruction is legal for the target microarchitecture, and so that the distribution of generated instructions is shaped by a set of test-writer-controllable knobs (weights and switches).
In the AMD microcode stimulus generator described in the cited article, the instruction generator was controlled by a set of knobs or switches that allowed the test writer to generate constrained stimulus, and the upper-layer random sequence was controlled by knobs only and chose the opcode category first so the correct object type could be allocated at that location to add the sub-class into the sequence.
NEIGHBORHOOD
No graph connections found for this entity yet. It may appear in future ingestion runs.
explore full graph →