summaryrefslogtreecommitdiff
path: root/tb/sim/hazards.py
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2022-10-16 18:20:45 -0600
committerAlejandro Soto <alejandro@34project.org>2022-10-16 18:20:45 -0600
commit87c73314d7ce0062b13ae14f376ec50a4653fb18 (patch)
treed420e07e20066154442f3edde6c57606760ba81a /tb/sim/hazards.py
parenta5468f968b46707e08eacf79847f1e12a4213ff7 (diff)
Implement register dumps
Diffstat (limited to 'tb/sim/hazards.py')
-rw-r--r--tb/sim/hazards.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tb/sim/hazards.py b/tb/sim/hazards.py
index 9fa3e44..b89b15b 100644
--- a/tb/sim/hazards.py
+++ b/tb/sim/hazards.py
@@ -1,9 +1,10 @@
SP = 256
+cycles = 256
mem_dumps = [range(SP - 4, SP)]
def final():
assert_reg(r0, 59)
assert_reg(r1, 0)
- assert_reg(sp, SP)
+ assert_reg(sp_svc, SP)
assert_mem(SP - 4, 3)