Add state-aware random program scaffolding

This commit is contained in:
Huang
2026-09-29 21:29:06 -04:00
committed by Benzi
parent e1ff376357
commit 2bb9ccd45e
5 changed files with 131 additions and 18 deletions
+10 -2
View File
@@ -101,6 +101,13 @@ biases and why the resulting programs remain useful and terminating.
| `c_no_branch_at_end` | Provided | | No member change |
| `c_branch_taken_bias` | Open | | |
<!--
For c_mem_align, explain why alignment of the encoded immediate is not enough.
Identify the runtime inputs to an effective address, the legal DSRAM byte-address
range for a whole word, and how your constraint preserves useful rs1 choices.
Do not reserve a base register merely to make the constraint easier.
-->
### External-port constraints
| Constraint | Provided, partial, or open | Behavior and purpose | Final implementation summary |
@@ -121,7 +128,9 @@ biases and why the resulting programs remain useful and terminating.
**Implementation outline:**
```systemverilog
// Write the intended loop and lifecycle using seqr.gen_program(...).
// Sketch the loop using seqr.gen_program(...). Include the iteration label,
// CPU reset, memory reinitialization, bounded run, result reads, and recovery
// behavior after a timeout.
```
## 3. Assertions
@@ -229,4 +238,3 @@ Include a screenshot showing the offending instruction and the first incorrect a
**Behavioral characterization:**
<!-- One precise sentence. Do not speculate about hidden RTL. -->