From: Luke Kenneth Casson Leighton Date: Mon, 30 Aug 2021 11:39:26 +0000 (+0100) Subject: missed valid/ready_i/o to o/i_ conversion X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=504db284b89c9db66685d18d25b0d1325684d202;p=soc.git missed valid/ready_i/o to o/i_ conversion --- diff --git a/src/soc/fu/logical/test/test_pipe_caller.py b/src/soc/fu/logical/test/test_pipe_caller.py index 293682e3..7c323ba1 100644 --- a/src/soc/fu/logical/test/test_pipe_caller.py +++ b/src/soc/fu/logical/test/test_pipe_caller.py @@ -89,18 +89,18 @@ class TestRunner(FHDLTestCase): yield from set_alu_inputs(alu, pdecode2, simulator) # set valid for one cycle, propagate through pipeline... - yield alu.p.valid_i.eq(1) + yield alu.p.i_valid.eq(1) yield - yield alu.p.valid_i.eq(0) + yield alu.p.i_valid.eq(0) opname = code.split(' ')[0] yield from simulator.call(opname) index = simulator.pc.CIA.value//4 - vld = yield alu.n.valid_o + vld = yield alu.n.o_valid while not vld: yield - vld = yield alu.n.valid_o + vld = yield alu.n.o_valid yield yield from self.check_alu_outputs(alu, pdecode2, @@ -120,7 +120,7 @@ class TestRunner(FHDLTestCase): m.submodules.alu = alu = LogicalBasePipe(pspec) comb += alu.p.i_data.ctx.op.eq_from_execute1(pdecode2.do) - comb += alu.n.ready_i.eq(1) + comb += alu.n.i_ready.eq(1) comb += pdecode2.dec.raw_opcode_in.eq(instruction) sim = Simulator(m)