add name to write pick on core
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 4 Nov 2021 18:47:36 +0000 (18:47 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 4 Nov 2021 18:47:36 +0000 (18:47 +0000)
src/soc/simple/core.py

index a381059c703b2835c61743f231e8412d411ca49c..508fd5de9c3bbb76d53ee1f621ab3f6acaa700bd 100644 (file)
@@ -449,7 +449,7 @@ class NonProductionCore(Elaboratable):
                 pick = fu.wr.rel_o[idx] & fu_active  # & wrflag
                 comb += wrpick.i[pi].eq(pick)
                 # create a single-pulse go write from the picker output
-                wr_pick = Signal()
+                wr_pick = Signal(name="wpick_%s_%s_%d" % (funame, regname, idx))
                 comb += wr_pick.eq(wrpick.o[pi] & wrpick.en_o)
                 comb += fu.go_wr_i[idx].eq(rising_edge(m, wr_pick))