From: Luke Kenneth Casson Leighton Date: Wed, 1 Jul 2020 19:16:32 +0000 (+0100) Subject: whoops swapped trap test instructions accidentally X-Git-Tag: div_pipeline~182 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fb1fd2758c7d605d80e0a9fd0be744b902a74e81;p=soc.git whoops swapped trap test instructions accidentally --- 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