mirror of
https://github.com/retroSoC/retroSoC.git
synced 2026-11-06 14:55:14 +00:00
fix: fix the wrong timing para for commercial flow
This commit is contained in:
2 files changed
+14
-4
No files matched your search
@@ -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(
|
||||
|
||||
Reference in new issue
Block a user