update naming on Reg_Rsv signals
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 27 Nov 2021 12:19:57 +0000 (12:19 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 27 Nov 2021 12:19:57 +0000 (12:19 +0000)
src/soc/scoreboard/reg_select.py

index f1833eeaf0f5c0a712112f430961adf660eb3ab7..e87aee05b8a9a18918e7323f29881da74383525d 100644 (file)
@@ -17,10 +17,10 @@ class Reg_Rsv(Elaboratable):
         self.n_src = n_src
         self.n_dst = n_dst
         self.fu_count = fu_count
-        self.dst_rsel_i = tuple(Signal(fu_count, name="dst_rsel_i",
+        self.dst_rsel_i = tuple(Signal(fu_count, name="dst%i_rsel_i" % (i+1),
                                        reset_less=True) \
                                 for i in range(n_dst))
-        self.src_rsel_i = tuple(Signal(fu_count, name="src_rsel_i",
+        self.src_rsel_i = tuple(Signal(fu_count, name="src%i_rsel_i" % (i+1),
                                        reset_less=True) \
                                 for i in range(n_src))
         self.dst_rsel_o = Signal(n_dst, reset_less=True)