disable hazard vectors when overlap is not requested in core.py
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 24 Nov 2021 11:55:14 +0000 (11:55 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 24 Nov 2021 11:55:14 +0000 (11:55 +0000)
src/soc/simple/core.py

index 18bacc596a0fd470f3e12eb46ac7db3ac1f451a5..ade46bafc9f8a07a0cd59d577c00b582c7417259 100644 (file)
@@ -93,7 +93,7 @@ class NonProductionCore(ControlBase):
                              (pspec.allow_overlap == True))
 
         # test core type
-        self.make_hazard_vecs = True
+        self.make_hazard_vecs = self.allow_overlap
         self.core_type = "fsm"
         if hasattr(pspec, "core_type"):
             self.core_type = pspec.core_type