Procházet zdrojové kódy

fix: preserve imported TD constraints during PHY

Codex Resource Selftest před 4 měsíci
rodič
revize
14fa1a87f9

+ 0 - 2
td/phy/prod2u_p4_normal_v3.tcl

@@ -1,7 +1,5 @@
 import_device ef2_4.db -package EF2L45BG256B
-set_param place async_reg on
 import_db ../syn/prod2u_p4_normal_v3_gate.db
-read_adc {constraints/prod2u_p4_normal_v3.adc}
 
 proc p4_find_unique_regs {patterns} {
     set matches {}

+ 1 - 0
tests/unit/test_new_cdc_structure.py

@@ -40,6 +40,7 @@ class NewCdcStructureTests(unittest.TestCase):
 
     def test_phy_reuses_syn_constraints_without_replaying_sdc(self):
         phy = (ROOT / "td/phy/prod2u_p4_normal_v3.tcl").read_text(encoding="ascii")
+        self.assertNotIn("read_adc", phy)
         self.assertNotIn("read_sdc", phy)
 
     def test_project_adapter_receives_compile_time_project_counts(self):