self.rd_pend_i = Signal(n_reg, reset_less=True) # Read pend in (top)
self.wr_pend_i = Signal(n_reg, reset_less=True) # Write pend in (top)
- self.rd_rsel_o = Signal(n_reg, reset_less=True) # Read pend out (bot)
- self.wr_rsel_o = Signal(n_reg, reset_less=True) # Write pend out (bot)
+ self.v_rd_rsel_o = Signal(n_reg, reset_less=True) # Read pend out (bot)
+ self.v_wr_rsel_o = Signal(n_reg, reset_less=True) # Write pend out (bot)
self.go_wr_i = Signal(reset_less=True) # Go Write in (left)
self.go_rd_i = Signal(reset_less=True) # Go Read in (left)
# to be accumulated to indicate if register is in use (globally)
# after ORing, is fed back in to rd_pend_i / wr_pend_i
- m.d.comb += self.rd_rsel_o.eq(src1_c.qlq | src2_c.qlq)
- m.d.comb += self.wr_rsel_o.eq(dest_c.qlq)
+ m.d.comb += self.v_rd_rsel_o.eq(src1_c.qlq | src2_c.qlq)
+ m.d.comb += self.v_wr_rsel_o.eq(dest_c.qlq)
return m
wr_pend_v = []
for fu in range(self.n_fu_row):
dc = dm[fu]
- rd_pend_v.append(dc.rd_rsel_o)
- wr_pend_v.append(dc.wr_rsel_o)
+ rd_pend_v.append(dc.v_rd_rsel_o)
+ wr_pend_v.append(dc.v_wr_rsel_o)
rd_v = GlobalPending(self.n_reg_col, rd_pend_v)
wr_v = GlobalPending(self.n_reg_col, wr_pend_v)
m.submodules.rd_v = rd_v