From 8c06c97c81339f68e06ff465aac2d8b1f2da4e27 Mon Sep 17 00:00:00 2001 From: Alejandro Soto Date: Tue, 13 Dec 2022 23:21:32 -0600 Subject: Implement interrupt emulation --- tb/sim/irq.py | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 tb/sim/irq.py (limited to 'tb/sim/irq.py') diff --git a/tb/sim/irq.py b/tb/sim/irq.py new file mode 100644 index 0000000..9691e4c --- /dev/null +++ b/tb/sim/irq.py @@ -0,0 +1,4 @@ +def final(): + assert_reg(r0, 1) + assert_reg(r1, 0b01) + assert_reg(r2, 2) -- cgit v1.2.3