From fb1fd2758c7d605d80e0a9fd0be744b902a74e81 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Wed, 1 Jul 2020 20:16:32 +0100 Subject: [PATCH] whoops swapped trap test instructions accidentally --- src/soc/fu/trap/test/test_pipe_caller.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/soc/fu/trap/test/test_pipe_caller.py b/src/soc/fu/trap/test/test_pipe_caller.py index 1d3c7f8d..5ab41ee9 100644 --- a/src/soc/fu/trap/test/test_pipe_caller.py +++ b/src/soc/fu/trap/test/test_pipe_caller.py @@ -86,7 +86,7 @@ class TrapTestCase(FHDLTestCase): self.run_tst_program(Program(lst), initial_regs, initial_sprs) def test_0_trap_eq_imm(self): - insns = ["tw", "td"] + insns = ["twi", "tdi"] for i in range(2): choice = random.choice(insns) lst = [f"{choice} 4, 1, %d" % i] # TO=4: trap equal @@ -95,7 +95,7 @@ class TrapTestCase(FHDLTestCase): self.run_tst_program(Program(lst), initial_regs) def test_0_trap_eq(self): - insns = ["twi", "tdi"] + insns = ["tw", "td"] for i in range(2): choice = insns[i] lst = [f"{choice} 4, 1, 2"] # TO=4: trap equal -- 2.30.2