better name for read latch in core.py
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 1 Dec 2021 13:01:01 +0000 (13:01 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 1 Dec 2021 13:01:01 +0000 (13:01 +0000)
src/soc/simple/core.py

index 6e9184dfad28a827280584e8225671796ca5be3a..bb7f8ce9e9b7b8454bc583b7fa2363f99c6e62a7 100644 (file)
@@ -519,7 +519,7 @@ class NonProductionCore(ControlBase):
                 rdflag = Signal(name="rdflag_%s_%s" % (funame, rhname),
                                 reset_less=True)
                 if rhname not in fu.rf_latches:
-                    rfl = Signal(name="rdflag_latch_"+rhname)
+                    rfl = Signal(name="rdflag_latch_%s_%s" % (funame, rhname))
                     fu.rf_latches[rhname] = rfl
                     with m.If(fu.issue_i):
                         sync += rfl.eq(rdflags[i])