Fix forgotten test_pipe_caller changes from e0b4334c7d83dda41d5610239150079f30a2f713
authorJacob Lifshay <programmerjake@gmail.com>
Wed, 7 Oct 2020 01:36:06 +0000 (18:36 -0700)
committerJacob Lifshay <programmerjake@gmail.com>
Wed, 7 Oct 2020 01:36:06 +0000 (18:36 -0700)
src/soc/fu/div/test/helper.py
src/soc/fu/mul/test/test_pipe_caller_long.py

index f368cf74462762433f79052b4d99bcc13ce26981..a11b34942356448d7386c1aff5435ef4406350d9 100644 (file)
@@ -196,7 +196,7 @@ class DivTestHelper(unittest.TestCase):
         pspec = DivPipeSpec(id_wid=2, div_pipe_kind=div_pipe_kind)
         m.submodules.alu = alu = DivBasePipe(pspec)
 
-        comb += alu.p.data_i.ctx.op.eq_from_execute1(pdecode2.e)
+        comb += alu.p.data_i.ctx.op.eq_from_execute1(pdecode2.do)
         comb += alu.n.ready_i.eq(1)
         comb += pdecode2.dec.raw_opcode_in.eq(instruction)
         sim = Simulator(m)
index 9053d5b59895fd9ca5dd5fbdda10c08be0e13ceb..d62f1a7204928aed1776bd6339087b325025a2c0 100644 (file)
@@ -257,7 +257,7 @@ class TestRunner(unittest.TestCase):
         pspec = MulPipeSpec(id_wid=2)
         m.submodules.alu = alu = MulBasePipe(pspec)
 
-        comb += alu.p.data_i.ctx.op.eq_from_execute1(pdecode2.e)
+        comb += alu.p.data_i.ctx.op.eq_from_execute1(pdecode2.do)
         comb += alu.n.ready_i.eq(1)
         comb += pdecode2.dec.raw_opcode_in.eq(instruction)
         sim = Simulator(m)