comment out domains that have already been created
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 3 Jun 2021 15:36:40 +0000 (16:36 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 3 Jun 2021 15:36:40 +0000 (16:36 +0100)
src/soc/simple/issuer.py

index 4f559ce1ebc6316c613462c935c8826481e629e2..1245a6c48d3ee7308076d63098316fb8c22e6770 100644 (file)
@@ -1292,6 +1292,11 @@ class TestIssuer(Elaboratable):
         # internal clock is set to selector clock-out.  has the side-effect of
         # running TestIssuer at this speed (see DomainRenamer("intclk") above)
         # debug clock runs at coresync internal clock
+        cd_coresync = ClockDomain("coresync")
+        #m.domains += cd_coresync
+        if self.ti.dbg_domain != 'sync':
+            cd_dbgsync = ClockDomain("dbgsync")
+            #m.domains += cd_dbgsync
         intclk = ClockSignal("coresync")
         dbgclk = ClockSignal(self.ti.dbg_domain)
         # XXX BYPASS PLL XXX