testplan updates
This commit is contained in:
+9
-7
@@ -1375,8 +1375,7 @@ run_directed("duplicate_store_beq", prog);
|
||||
| ------------------- | ---------- | ------------------------- | ---------- |
|
||||
| sw x1, 1004(x1) | 0x00000000 | 0x00000000 (stored twice) | |
|
||||
|
||||
**First architectural divergence:**
|
||||
|
||||
**First architectural divergence:** duplicate SW when one is expected after a branch is taken
|
||||
<!-- State the first register, memory, or control-flow result that becomes incorrect. -->
|
||||
|
||||
### Minimization
|
||||
@@ -1385,7 +1384,9 @@ run_directed("duplicate_store_beq", prog);
|
||||
|
||||
```systemverilog
|
||||
prog = '{
|
||||
// Smallest sequence that still fails
|
||||
asm_instr(.op(OP_SW), .rs1(0), .rs2(0), .imm(1004)),
|
||||
asm_instr(.op(OP_BEQ), .rs1(0), .rs2(0), .imm(8)),
|
||||
asm_instr(.op(OP_ADDI), .rd(1), .rs1(0), .imm(1)),
|
||||
EBREAK_WORD
|
||||
};
|
||||
```
|
||||
@@ -1398,20 +1399,21 @@ Include a screenshot showing the offending instruction and the first incorrect a
|
||||
|
||||
### Conclusion
|
||||
|
||||
**Trigger:**
|
||||
**Trigger:** sw + beq
|
||||
|
||||
<!-- Smallest condition that causes the failure. -->
|
||||
|
||||
**Expected behavior:**
|
||||
**Expected behavior:** one single sw and beq is successful
|
||||
|
||||
<!-- ISA-correct behavior. -->
|
||||
|
||||
**Observed behavior:**
|
||||
**Observed behavior:** sw is counted twice, while the scoreboard only expects one store
|
||||
|
||||
<!-- What the encrypted CPU does instead. -->
|
||||
|
||||
**Behavioral characterization:**
|
||||
**Behavioral characterization:** the cpu holds write enable high for more than one cycle, leading to two stores
|
||||
|
||||
<!-- One precise sentence. Do not speculate about hidden RTL. -->
|
||||
|
||||
### 5. Code coverage >98% for cpu_tb_top
|
||||
![[Pasted image 20261006143238.png]]
|
||||
Reference in New Issue
Block a user