whoops assertion that the Logical pipeline Function Unit is... um... LOGICAL
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 14 May 2020 09:51:56 +0000 (10:51 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 14 May 2020 09:51:56 +0000 (10:51 +0100)
src/soc/logical/test/test_pipe_caller.py

index 2b2b129da3c9f05df1bde1e38c260b5cbd13e246..eaed9e743b38e3752e418394b2f355d59443b7a2 100644 (file)
@@ -180,7 +180,7 @@ class TestRunner(FHDLTestCase):
                     yield instruction.eq(ins)          # raw binary instr.
                     yield Settle()
                     fn_unit = yield pdecode2.e.fn_unit
-                    self.assertEqual(fn_unit, Function.ALU.value)
+                    self.assertEqual(fn_unit, Function.LOGICAL.value)
                     yield from set_alu_inputs(alu, pdecode2, simulator)
                     yield from set_extra_alu_inputs(alu, pdecode2, simulator)
                     yield