Skip to content
STIMSMITH

Weighted Distribution

Concept

Weighted distribution is a constrained-random test-generation technique in which weighted values or knobs bias the mix of generated stimulus, such as opcode types or instruction-field values, so verification can control coverage emphasis and target corner cases.

First seen 5/28/2026
Last seen 5/28/2026
Evidence 1 chunks
Wiki v1

WIKI

Overview

Weighted distribution is used in constrained-random verification to control how often different stimulus choices are generated. In the cited microcode-stimulus generator, tests provide a set of weighted values that direct the generator toward the required mix of instructions, and the constraint solver applies those weights to control the distribution of generated opcode types.

Role in constrained-random generation

READ FULL ARTICLE →

NEIGHBORHOOD

No graph connections found for this entity yet. It may appear in future ingestion runs.

explore full graph →

RELATIONSHIPS

2 connections
The generator uses weighted distributions to control opcode type distribution.
Opcode Generator ← uses 90% 1e
The opcode generator applies weights to control distribution of opcode types.

CITATIONS

4 sources
4 citations — click to collapse
[1] Weighted values direct the generator to the required mix of instructions and are applied by the constraint solver to control opcode-type distribution. Generating AMD microcode stimuli using VCS constraint solver
[2] SystemVerilog constraint-language constructs provide precise control over the distribution of values for individual instruction fields. Generating AMD microcode stimuli using VCS constraint solver
[3] The opcode-generator architecture uses an upper random-sequence layer with weighted knobs and a lower randomized opcode-class layer that receives additional constraints and weights. Generating AMD microcode stimuli using VCS constraint solver
[4] Weighted distribution and biasing are used in the hierarchical constrained-random approach to help hit corner cases. Generating AMD microcode stimuli using VCS constraint solver