Commit Graph

2482 Commits

Author SHA1 Message Date
dsengupta0628 3eec04f4e8 update STA to Parallaxsw version on 4/7 with fix for issue 416 and some unrelated stuff
Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>
2026-04-07 12:59:25 +00:00
Matt Liberty e4338cf834
Merge pull request #339 from The-OpenROAD-Project-staging/sta_handle_funny_defs
fix: guard parseBusName against non-numeric bus subscripts
2026-04-06 17:57:24 +00:00
dsengupta0628 2a5592122d Update unguarded stoi handling
Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>
2026-04-06 16:38:58 +00: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
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
James Cherry 548b665412 get_* -filter allow true/false, '.' in glob pattern resolves #416
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-04-04 16:19:41 -07:00
James Cherry d6e826ef8b save_ok hook
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-04-04 14:58:25 -07:00
James Cherry e3d1bb09b0 Network [[nodiscard]]
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-04-04 09:26:03 -07: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
James Cherry 84150e925b prima ceff
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-04-04 09:21:34 -07:00
James Cherry aedddcecd8 DMP use std::array
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-04-04 09:21:01 -07: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
James Cherry fe23c4530f regression.tcl
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-04-03 16:46:13 -07:00
James Cherry 2f85fdfee3 Dmp cleanup
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-04-03 16:46:05 -07:00
James Cherry 6bb888b218 stringFloat comment
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-04-03 11:25:33 -07:00
James Cherry e04f36b541 GraphDelayCalc::findInputArcDelay rm Slew
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-04-03 11:22:38 -07:00
James Cherry 5d40134239 ArnoldiDelayCalc rcmodel
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-04-03 11:22:38 -07:00
James Cherry f873c6520a Library/Cell name/filename args string_view
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-04-03 11:22:38 -07:00
Mohamed Gaber a5921d1ca9
util/StringUtil.cc: feature-test std::from_chars (#415)
Support for std::{from,to}_chars isn't finalized in
libcxx as of the time of writing, see __cpp_lib_to_chars in
6331bfa41a/libcxx/docs/FeatureTestMacroTable.rst

This patch adds a fallback using strtof. There are two
differences:
* strtof is locale-dependent
* strtof tolerates leading spaces

Signed-off-by: Mohamed Gaber <me@donn.website>
2026-04-03 11:21:57 -07:00
Henner Zeller e8218f2db1
Tcl 9 compatibility changes (#414)
* Provide close2proc function to prevent tcl9 from crashing.

Tcl 9 does not test if the close2Proc function pointer is non-null,
but calls it unconditionally:
https://github.com/tcltk/tcl/blob/core-9-0-3/generic/tclIO.c#L384

So we need to provide a non-null function pointer for our code
to not crash with Tcl9.

Use the same implementation as the previous close channel
had.

Signed-off-by: Henner Zeller <h.zeller@acm.org>

* Use non-deprecated trace add variable syntax.

In modern tcl, `trace variable` is now i`trace add variable`,
and `"rw"` should be spelled out as `{read write}`
There were backwards compatible forms in Tcl 8.x but now loudly
complains in Tcl 9

Signed-off-by: Henner Zeller <h.zeller@acm.org>

* Use `Tcl_Size` for all tcl functions returning sizes.

This is the type the Tcl-API provides in its prototypes and
starting from Tcl9 this typedef actually changes from `int` to `long`,
so will no longer compile when passing an `int*`.

So whenever we get a return value of this type, use the
correct typedef to declare the variable. This makes it forward and
backward compatible.

Signed-off-by: Henner Zeller <h.zeller@acm.org>

* Address review comments: compare with `read`/`write` not `r`, `w`

Signed-off-by: Henner Zeller <h.zeller@acm.org>

---------

Signed-off-by: Henner Zeller <h.zeller@acm.org>
2026-04-03 11:02:25 -07: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 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
Mike Inouye 4180288868
Add string_view header and sort includes in ContainerHelpers.hh (#413) 2026-04-02 15:59:01 -07: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 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