Commit Graph

2476 Commits

Author SHA1 Message Date
Jaehyun Kim cf1db116dc Remove dead re-add constraint blocks from SDC tests
removeConstraints was removed upstream in STA 3.0 (MCMM refactor).
The "Re-add constraints" blocks were originally preceded by
remove_constraints calls; without them, the re-adds are no-ops.

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Jaehyun Kim <jhkim@precisioninno.com>
2026-04-07 00:06:42 +09:00
Jaehyun Kim bc7639be11 Revert CMakeLists.txt -Werror changes
Drop the ALLOW_WARNINGS option, -Werror flag, and
OpenSTAWarnings interface library. Restore original
target_compile_options with generator expressions.

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Jaehyun Kim <jhkim@precisioninno.com>
2026-04-06 23:41:51 +09:00
Jaehyun Kim 616cb6234a Fix report_checks -fields {nets} typo to {net} across test scripts
The valid field name is "net" (singular) per search/Search.tcl.
Using "nets" triggered Warning 168 (unknown field) silently in
29 test scripts. Fix the field name and regolden .ok files.

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Jaehyun Kim <jhkim@precisioninno.com>
2026-04-06 14:41:40 +09:00
Jaehyun Kim b30c82b2d0 Make diff_files/diff_files_sorted error on mismatch
Previously these functions returned 1 on mismatch but no caller
checked the return value, allowing roundtrip failures to go
undetected. Now they call error() so the sta process exits
non-zero and the regression runner catches the failure.

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Jaehyun Kim <jhkim@precisioninno.com>
2026-04-06 14:35:59 +09:00
Jaehyun Kim b6429ffe95 Remove dead remove_constraints placeholder blocks from SDC tests
The remove_constraints API was permanently removed from Sta.
Delete the commented-out calls, TODO comments, and "skipped"
print statements instead of keeping placeholder blocks.

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Jaehyun Kim <jhkim@precisioninno.com>
2026-04-06 14:35:53 +09:00
Jaehyun Kim d6a80441e4 Merge branch 'master' of https://github.com/The-OpenROAD-Project-private/OpenSTA into secure-test-suite-cleanup
Signed-off-by: Jaehyun Kim <jhkim@precisioninno.com>
2026-04-06 14:35:47 +09:00
Matt Liberty f8bf0fd0e2
Merge pull request #336 from The-OpenROAD-Project-staging/add-difference-found
Add GHA to check for differences found in .ok files
2026-04-06 05:19:01 +00:00
Matt Liberty d1bc00cf8c update tests to avoid "Differences found" in .ok files
Signed-off-by: Matt Liberty <mliberty@precisioninno.com>
2026-04-06 04:58:47 +00:00
Matt Liberty 687314a055 Add GHA to check for differences found in .ok files
Same as in OR

Signed-off-by: Matt Liberty <mliberty@precisioninno.com>
2026-04-06 04:58:47 +00:00
Matt Liberty 5c0158bad9
Merge pull request #337 from The-OpenROAD-Project-staging/secure-fix-test-diffs
Regolden test files to fix false diff_files mismatches
2026-04-06 04:57:51 +00:00
Jaehyun Kim 52887aa6db Regolden test golden files to fix false diff_files mismatches
Update .libok/.txtok/.sdcok golden files to match current writer
output so diff_files produces "No differences found" instead of
silently reporting mismatches that were captured as expected output.

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Jaehyun Kim <jhkim@precisioninno.com>
2026-04-06 10:19:05 +09:00
Jaehyun Kim 0c15e18f94 build: Add -Werror by default
Signed-off-by: Jaehyun Kim <jhkim@precisioninno.com>
2026-04-05 23:55:35 +09:00
Jaehyun Kim 1170781f9a Merge remote-tracking branch 'origin/master' into secure-test-suite-cleanup
Signed-off-by: Jaehyun Kim <jhkim@precisioninno.com>
2026-04-05 22:42:35 +09:00
Matt Liberty 3d2bcb1dd1
Merge pull request #334 from The-OpenROAD-Project-staging/sta_changes_to_fix_test
Sta changes to fix test
2026-04-05 01:55:05 +00:00
dsengupta0628 43177bba8f more to fix
Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>
2026-04-05 00:38:29 +00:00
dsengupta0628 fc7ac6c16c test/cpp changes
Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>
2026-04-05 00:18:45 +00:00
Matt Liberty d6c13c424a
Merge pull request #333 from The-OpenROAD-Project-staging/filter-dot
In FilterExpr::lex allow '.' in key = value filter
2026-04-04 16:21:55 +00:00
Matt Liberty e288db0225 In FilterExpr::lex allow '.' in key = value filter
The current lexer doesn't allow the . in the filter
  name =~ tcdm_master_.*req_.*_i

Signed-off-by: Matt Liberty <mliberty@precisioninno.com>
2026-04-04 15:23:04 +00:00
Matt Liberty 8b4c581a90
Merge pull request #330 from The-OpenROAD-Project-staging/fix-exception-override-priority
Fix exception_override_priority test for OpenROAD regression
2026-04-03 04:45:06 +00:00
Jaehyun Kim 7d0e0bb641 Merge branch 'master' of https://github.com/The-OpenROAD-Project-private/OpenSTA into secure-test-suite-cleanup
Signed-off-by: Jaehyun Kim <jhkim@precisioninno.com>
2026-04-03 12:27:03 +09:00
Jaehyun Kim 619d6bc6fa Merge branch 'fix-exception-override-priority' into secure-test-suite-cleanup
Signed-off-by: Jaehyun Kim <jhkim@precisioninno.com>
2026-04-03 12:21:10 +09:00
Jaehyun Kim 1d38466776 Remove dead roundtrip comment blocks from SDC tests
Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Jaehyun Kim <jhkim@precisioninno.com>
2026-04-03 12:17:55 +09:00
Jaehyun Kim 05e65b1dbf Remove read_sdc roundtrip from all SDC tests
OpenROAD regression runs 7600+ tests in a shared environment where
clock definitions leak between tests. Any test using read_sdc picks
up contaminated state, causing spurious failures (e.g., clk2 period
15 vs 20). Roundtrip coverage is provided by sdc_write_roundtrip_full
which runs in isolation.

Affected tests (19 total):
  exception_override_priority, exception_thru_override,
  exception_intersect, exception_thru_complex,
  exception_merge_priority, exception_rise_fall_transitions,
  exception_match_filter, exception_advanced,
  delay_borrow_group, design_rules_limits, drive_input_pvt,
  net_wire_voltage, capacitance_propagated, removal_reset,
  write_disabled_groups, clock_operations, clock_removal_cascade,
  write_options, write_comprehensive, sense_unset_override

All 6107 tests pass.

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Jaehyun Kim <jhkim@precisioninno.com>
2026-04-03 11:02:08 +09:00
Matt Liberty 4c8efd7474
Merge pull request #306 from The-OpenROAD-Project/dependabot/github_actions/actions/cache-5
Bump actions/cache from 4 to 5
2026-04-02 21:23:59 +00:00
Matt Liberty f0dd97833a
Merge pull request #305 from The-OpenROAD-Project/dependabot/github_actions/actions/checkout-6
Bump actions/checkout from 5 to 6
2026-04-02 21:23:19 +00:00
Matt Liberty 94bb37bb4a
Merge pull request #327 from The-OpenROAD-Project/driver-vertex-level-cache
added driver vertex levelization
2026-04-02 21:22:03 +00:00
Jaehyun Kim a1c1685c04 Clean up test suite per 3-way code review findings
- Remove temp files: network_gcd_traversal.log, util_report_redirect.log
- Delete 19 comment-only C++ test stubs (dead code for removed APIs)
- Remove redundant graph_make_verify test (covered by graph_advanced)
- Centralize assert_file_nonempty/assert_file_contains into test/helpers.tcl
  and remove inline copies from 17 verilog test files
- Fix Build.sh stray quotes in heredoc output
- Fix regression.sh unquoted variable expansions
- Update .gitignore: add */test/*.log and Testing/

All 6087 tests pass.

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Jaehyun Kim <jhkim@precisioninno.com>
2026-04-02 22:27:27 +09:00
Jaehyun Kim 3561f12c7a Remove SDC roundtrip from exception_override_priority test
The read_sdc roundtrip section fails in OpenROAD regression because
the shared test environment leaks clock definitions from other tests
(clk2 period 15 vs 20). Roundtrip coverage is already provided by
sdc_write_roundtrip_full which runs in an isolated context.

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Jaehyun Kim <jhkim@precisioninno.com>
2026-04-02 21:44:26 +09:00
Matt Liberty 29cea73c3d
Merge pull request #294 from The-OpenROAD-Project-staging/secure-sta-test-by-opus
Add new Tcl and C++ test cases
2026-04-02 12:18:17 +00:00
Jaehyun Kim bb186c39dd Remove temporary files
Signed-off-by: Jaehyun Kim <jhkim@precisioninno.com>
2026-04-02 20:45:42 +09:00
Cho Moon 748fb9bd4b code review changes per Deepashree
Signed-off-by: Cho Moon <cmoon@precisioninno.com>
2026-04-02 06:27:17 +00:00
Jaehyun Kim f192996a42 Update golden files for upstream bias_pins feature
Upstream added bias pin type recognition, changing VNB/VPB pin
direction from "unknown" to "bias" in liberty output. Update 9
golden .ok files to match.

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Jaehyun Kim <jhkim@precisioninno.com>
2026-04-02 12:42:08 +09:00
Jaehyun Kim a22112fe8f Merge remote-tracking branch 'origin/master' into secure-sta-test-by-opus
# Conflicts:
#	verilog/test/CMakeLists.txt

Signed-off-by: Jaehyun Kim <jhkim@precisioninno.com>
2026-04-02 12:30:18 +09:00
Jaehyun Kim ea22794652 Merge remote-tracking branch 'opensta/master' into secure-sta-test-by-opus
# Conflicts:
#	liberty/TableModel.cc

Signed-off-by: Jaehyun Kim <jhkim@precisioninno.com>
2026-04-02 12:21:14 +09:00
Matt Liberty 438633dfa8
Merge pull request #329 from The-OpenROAD-Project-staging/sta_bias_pin_issue_commit_history_correct
Sta bias pin issue handling, non-determinism in delay calc
2026-04-02 03:06:57 +00:00
Jaehyun Kim 0e5f14eb37 Revert "Stabilize tests against non-deterministic ordering and version changes"
This reverts commit d3454bc464.

Signed-off-by: Jaehyun Kim <jhkim@precisioninno.com>
2026-04-02 11:06:36 +09:00
Jaehyun Kim d3454bc464 Stabilize tests against non-deterministic ordering and version changes
- Use diff_files_sorted for exception_override_priority SDC comparisons
  to handle non-deterministic write_sdc output ordering across environments
- Add (VERSION ignore pattern to SDF diff_files calls so tests don't
  break on upstream version bumps

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Jaehyun Kim <jhkim@precisioninno.com>
2026-04-02 10:07:23 +09:00
dsengupta0628 d47cbeb76b fix to exclude bias pins from timing graph
Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>
2026-04-02 00:56:38 +00:00
dsengupta0628 5e2d5e8ad5 pull latest master, has delay calc non-determinism fix
Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>
2026-04-02 00:49:47 +00:00
Jaehyun Kim 61bdb83038 Merge branch 'master' of https://github.com/The-OpenROAD-Project-private/OpenSTA into secure-sta-test-by-opus
Signed-off-by: Jaehyun Kim <jhkim@precisioninno.com>
2026-04-01 23:54:49 +09:00
James Cherry 70659c2328 PathVisitor::visitFaninPaths filter check edges
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-31 21:03:55 -07:00
Cho Moon 211aea7497 added one more Sta API
Signed-off-by: Cho Moon <cmoon@precisioninno.com>
2026-04-01 00:12:26 +00:00
James Cherry 638ffa57d4 cleanup
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-31 16:45:47 -07:00
James Cherry 8c1ebce695 GraphDelayCalc::findInputDriverDelay rm finishDrvrPin
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-31 16:37:38 -07:00
Cho Moon 55bb77ff89 added driver vertex levelization
Signed-off-by: Cho Moon <cmoon@precisioninno.com>
2026-03-31 22:59:52 +00:00
James Cherry 9eb9edb0b3 GateTableModel::gateDelay do not clip delays
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-31 14:20:50 -07:00
James Cherry 1d4b516239 GraphDelayCalc::findInputArcDelay thread issue
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-31 13:59:59 -07:00
Matt Liberty 12683d645c
Merge pull request #325 from The-OpenROAD-Project-staging/sta_latest_merge_strings
update swig file to not use deprecated api and not test it either
2026-03-31 19:02:49 +00:00
dsengupta0628 b37b37e0d9 update swig file to not use deprecated api and not test it either
Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>
2026-03-31 15:50:43 +00:00
Jaehyun Kim 14af24bc93 Ignore SDF VERSION in diff_files to stabilize tests
Add (VERSION pattern to diff_files ignore parameter so SDF tests
don't break on every upstream version bump. Update golden .ok files
to reflect the now-clean diffs.

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Jaehyun Kim <jhkim@precisioninno.com>
2026-03-31 22:05:59 +09:00