Fix bug introduced when I made it possible to set the initial state of CR
authorMichael Nolan <mtnolan2640@gmail.com>
Fri, 15 May 2020 22:55:55 +0000 (18:55 -0400)
committerMichael Nolan <mtnolan2640@gmail.com>
Fri, 15 May 2020 22:56:28 +0000 (18:56 -0400)
src/soc/alu/test/test_pipe_caller.py
src/soc/logical/test/test_pipe_caller.py
src/soc/shift_rot/test/test_pipe_caller.py

index f9497c7c78ddb35edd4ae68554821487693a21c3..d56019b293e569217a0982a74f16711037e61ee2 100644 (file)
@@ -200,7 +200,7 @@ class TestRunner(FHDLTestCase):
                 print(test.name)
                 program = test.program
                 self.subTest(test.name)
-                simulator = ISA(pdecode2, test.regs, test.sprs)
+                simulator = ISA(pdecode2, test.regs, test.sprs, 0)
                 gen = program.generate_instructions()
                 instructions = list(zip(gen, program.assembly.splitlines()))
 
index 82b62b06e22ee05997674596ac573f25bcff0236..190a9adeb6896c7027fd2f6836bc7eab991e0459 100644 (file)
@@ -202,7 +202,7 @@ class TestRunner(FHDLTestCase):
                 print(test.name)
                 program = test.program
                 self.subTest(test.name)
-                simulator = ISA(pdecode2, test.regs, test.sprs)
+                simulator = ISA(pdecode2, test.regs, test.sprs, 0)
                 gen = program.generate_instructions()
                 instructions = list(zip(gen, program.assembly.splitlines()))
 
index 97df2f20d59343b191119c185199451430dfd3eb..3244332bd97b209a3cf7f12e599643d9129496fa 100644 (file)
@@ -219,7 +219,7 @@ class TestRunner(FHDLTestCase):
                 print(test.name)
                 program = test.program
                 self.subTest(test.name)
-                simulator = ISA(pdecode2, test.regs, test.sprs)
+                simulator = ISA(pdecode2, test.regs, test.sprs, 0)
                 gen = program.generate_instructions()
                 instructions = list(zip(gen, program.assembly.splitlines()))