From ca04adca60ae31664c579aedc58a7eca31c9bcb5 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Mon, 8 Apr 2019 03:57:28 +0100 Subject: [PATCH] forgot to rename i_valid_logic() to i_valid_test in multipipe --- src/add/multipipe.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/add/multipipe.py b/src/add/multipipe.py index b1562a06..35da5c2e 100644 --- a/src/add/multipipe.py +++ b/src/add/multipipe.py @@ -192,7 +192,7 @@ class CombMultiOutPipeline(MultiOutControlBase): # temporaries p_i_valid = Signal(reset_less=True) pv = Signal(reset_less=True) - m.d.comb += p_i_valid.eq(self.p.i_valid_logic()) + m.d.comb += p_i_valid.eq(self.p.i_valid_test) m.d.comb += pv.eq(self.p.i_valid & self.p.o_ready) # all outputs to next stages first initialised to zero (invalid) @@ -323,7 +323,7 @@ class InputPriorityArbiter: in_ready = [] for i in range(self.num_rows): p_i_valid = Signal(reset_less=True) - m.d.comb += p_i_valid.eq(self.pipe.p[i].i_valid_logic()) + m.d.comb += p_i_valid.eq(self.pipe.p[i].i_valid_test) in_ready.append(p_i_valid) m.d.comb += pe.i.eq(Cat(*in_ready)) # array of input "valids" m.d.comb += self.active.eq(~pe.n) # encoder active (one input valid) -- 2.30.2