From 7b63878961703aa339d766b1e4b9798d6169f7c1 Mon Sep 17 00:00:00 2001 From: Jacob Lifshay Date: Tue, 6 Oct 2020 18:36:06 -0700 Subject: [PATCH] Fix forgotten test_pipe_caller changes from e0b4334c7d83dda41d5610239150079f30a2f713 --- src/soc/fu/div/test/helper.py | 2 +- src/soc/fu/mul/test/test_pipe_caller_long.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/soc/fu/div/test/helper.py b/src/soc/fu/div/test/helper.py index f368cf74..a11b3494 100644 --- a/src/soc/fu/div/test/helper.py +++ b/src/soc/fu/div/test/helper.py @@ -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) diff --git a/src/soc/fu/mul/test/test_pipe_caller_long.py b/src/soc/fu/mul/test/test_pipe_caller_long.py index 9053d5b5..d62f1a72 100644 --- a/src/soc/fu/mul/test/test_pipe_caller_long.py +++ b/src/soc/fu/mul/test/test_pipe_caller_long.py @@ -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) -- 2.30.2