fix: fix the wrong timing para for commercial flow

This commit is contained in:
maksyuki committed 2026-08-24 07:39:09 +08:00
1 parent e0f6533d01
commit 23c80da792
2 files changed
+14 -4

No files matched your search

+10
View File
@@ -287,6 +287,16 @@ def test_dc_analyze_receives_one_source_list_argument() -> None:
assert "concat $analyze_command [dict get $rtl sources]" not in synthesis
def test_dc_check_timing_uses_supported_options() -> None:
synthesis = (FLOW / "tcl/syn/main.tcl").read_text(encoding="utf-8")
assert synthesis.count("check_timing\n") == 2
assert "check_timing -verbose" not in synthesis
assert synthesis.count(
"check_timing -include {unconstrained_endpoints}"
) == 2
assert "no_clock" not in synthesis
def test_commercial_timing_contract_covers_canonical_domains(tmp_path: Path) -> None:
output = tmp_path / "commercial_timing_contract.tcl"
subprocess.run(