dsengupta0628
ae37dc6238
pickup changes from upstream, latest on 4/27
...
Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>
2026-04-27 18:45:35 +00:00
James Cherry
a1c3077139
message ids
...
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-04-23 18:12:40 -07:00
dsengupta0628
05b4e3a1d9
Latest pulled in changes on 4/20 from upstream to push all together with latest from 4/16
...
Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>
2026-04-20 14:21:16 +00:00
James Cherry
6e7ec45bc8
rm extra swig module dcls
...
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-04-16 15:46:32 -07:00
dsengupta0628
9fbfcc4fcb
picked changes from upstream master, resolved conflict for levelized driververtices, parseBus for weird defs
...
Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>
2026-04-16 21:37:37 +00:00
James Cherry
21848bcdd2
clang tidy
...
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-04-15 09:38:10 -07:00
James Cherry
63efee64bf
tidy round1
2026-04-13 14:59:05 -07:00
dsengupta0628
3b8e81393d
Merge branch 'master' into sta_latest_from_parallaxsw_0407
2026-04-07 21:53:36 +00:00
dsengupta0628
371b85cd20
latest STA plus changes to fix prima dcalc and read_spef issues, TCL regression added
...
Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>
2026-04-07 20:48:15 +00:00
Deepashree Sengupta
c887b2e4b3
Bias pin handling ( #409 )
...
* Update STA to exclude bias pins from timing graph and subsequently in write_verilog
Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>
* unnecessary space in orig verilog
Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>
* Update to use well supplies rather than bias pins
Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>
---------
Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>
2026-04-07 11:00:01 -07: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
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
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
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
Jaehyun Kim
069de0498c
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-03-31 15:27:01 +09:00
dsengupta0628
b5f647cb7f
update test infra to accomodate std::string instead of const char*
...
Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>
2026-03-30 19:44:26 +00:00
dsengupta0628
5f46ad3dfb
Merge remote-tracking branch 'upstream/master' into sta_latest_merge_strings
2026-03-30 16:22:27 +00:00
Jaehyun Kim
422f774b64
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-03-29 22:33:08 +09:00
James Cherry
6742692876
string squash
...
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-28 19:13:35 -07:00
dsengupta0628
3f2c80a830
Merge branch 'master' into sta_update_upstream_lvf_stuff
2026-03-25 19:55:19 +00:00
dsengupta0628
3d5f1e8594
fix warnings
...
Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>
2026-03-25 14:48:15 +00:00
Jaehyun Kim
59663ab640
update test files for upstream API refactoring
...
Adapt all cpp/tcl test files to match upstream OpenSTA API changes:
- string* output params changed to string return values (Verilog, Network)
- Report methods renamed (reportLineString->reportLine, printf->std::format)
- Delay type refactored from float typedef to class (Graph)
- Liberty model APIs updated (value semantics, shared_ptr, PocvMode)
- EXPECT_STREQ -> EXPECT_EQ for std::string returns (Sdc, Search)
- streamPrint -> sta::print with std::format specifiers (Spice)
- Avoid unset_clock_groups -all path (upstream iterator invalidation bug)
Signed-off-by: Jaehyun Kim <jhkim@precisioninno.com>
2026-03-23 13:58:23 +00:00
Jaehyun Kim
9547beead3
Merge remote-tracking branch 'origin/secure-bump-opensta-0321' into secure-sta-test-by-opus
...
Signed-off-by: Jaehyun Kim <jhkim@precisioninno.com>
2026-03-21 18:54:41 +09:00
Jaehyun Kim
43bca8d224
Merge remote-tracking branch 'opensta/master' into secure-sta-test-by-opus
...
Signed-off-by: Jaehyun Kim <jhkim@precisioninno.com>
2026-03-21 18:54:37 +09:00
Jaehyun Kim
aac881a974
update test files for upstream API refactoring
...
Adapt all cpp/tcl test files to match upstream OpenSTA API changes:
- string* output params changed to string return values (Verilog, Network)
- Report methods renamed (reportLineString->reportLine, printf->std::format)
- Delay type refactored from float typedef to class (Graph)
- Liberty model APIs updated (value semantics, shared_ptr, PocvMode)
- EXPECT_STREQ -> EXPECT_EQ for std::string returns (Sdc, Search)
- streamPrint -> sta::print with std::format specifiers (Spice)
- Avoid unset_clock_groups -all path (upstream iterator invalidation bug)
Signed-off-by: Jaehyun Kim <jhkim@precisioninno.com>
2026-03-21 18:46:31 +09:00
Jaehyun Kim
8868609846
Merge branch 'master' of https://github.com/parallaxsw/OpenSTA
...
Signed-off-by: Jaehyun Kim <jhkim@precisioninno.com>
2026-03-21 18:09:38 +09:00
dsengupta0628
af791b9974
Merge branch 'master' into sta_update_upstream_lvf_stuff
2026-03-20 19:50:24 +00:00
Jaehyun Kim
992a1dcec5
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-03-20 21:56:12 +09:00
Vitor Bandeira
69e11bbd0d
Merge pull request #300 from The-OpenROAD-Project-staging/secure-sta-test-suite
...
test: Add test infrastructure and sample test cases
2026-03-18 08:54:06 -03:00
James Cherry
134b547501
use std::format squash
2026-03-16 15:01:38 -07:00
James Cherry
d6e7b4256c
lvf squish
...
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-13 14:06:35 -07:00
Jaehyun Kim
e7b861051d
test: Fix post-merge build errors and regolden .ok files
...
After merging upstream changes, fix all build errors in C++ test files
and regolden Tcl test golden files to match updated code output.
Build fixes:
- dcalc/test/cpp/TestDcalc.cc: Fix const char* loop iterations, use
EXPECT_NEAR for uninitialized subnormal float comparison
- liberty/test/cpp/TestLibertyStaBasicsB.cc: Wrap tests using removed
LibertyBuilder() default constructor in #if 0
- liberty/test/cpp/TestLibertyStaCallbacks.cc: Fix LibertyBuilder()
call to use sta_->debug()/report(); wrap old visitor tests in #if 0
- search/test/cpp/TestSearchStaDesignB.cc: Fix pg->name() nullptr
comparison (now returns std::string&)
- search/test/cpp/TestSearchStaInit.cc: Fix 5 clkPinsInvalid/isIdealClock
tests to expect throw (API now requires linked network)
Tcl test fixes:
- Remove calls to removed APIs: report_path_end_header/footer, report_path_end2
from 6 search test scripts; regolden their .ok files
- Regolden .ok files for liberty (15), graph (1), network (8),
parasitics (3), sdc (3), util (2), verilog (8) modules to reflect
upstream format changes (timing arcs output, pin ordering, spacing)
All 6103 tests now pass.
Signed-off-by: Jaehyun Kim <jhkim@precisioninno.com>
2026-03-11 17:11:08 +09:00
Jaehyun Kim
a5f8e9c3ab
test: Fix test failures after master merge
...
Update test code to match API changes from upstream master:
- TestGraph.cc: Fix makeScenes() call to pass reference instead of pointer
- TestLibertyClasses.cc: Fix ScaleFactorType wire_res/wire_cap name mapping;
fix TablePtr usage by calling .get() where const TableModel* is expected
- TestLibertyClasses.cc: Update liberty_read_nangate.ok for new timing arc output
- TestPower.cc: Replace PwrActivityOrigin::defaulted with ::unknown;
fix isSet() expectations (unknown origin returns false)
- TestSdcClasses.cc, TestSdf.cc, TestUtil.cc, TestSpice.cc:
Fix RiseFall::to_string() expected values from short form ("^"/"v")
to long form ("rise"/"fall")
- TestUtil.cc: Remove tests for deleted StringVector/split/TokenParser
and StringSet::deleteContents (removed from master)
- TestSpice.cc: Replace StdStringSeq with StringSeq
- helpers.tcl: Use pwd-based result_dir so module tests write results
to their own test/results/ directory
- verilog_bus.ok: Update golden file for new port ordering from master
Signed-off-by: Jaehyun Kim <jhkim@precisioninno.com>
2026-03-11 10:16:27 +09:00
Jaehyun Kim
d4ad9312ea
Merge origin/master into secure-sta-test-suite
...
Resolve add/add conflict in test/helpers.tcl by merging both versions:
- Keep master's report_file, report_file_filter, sort_objects functions
- Keep branch's diff_files, diff_files_sorted functions
- Use master's result_dir setup with branch's mkdir logic in make_result_file
Resolve content conflict in test/regression by keeping branch's
bash/ctest launcher over master's Tcl regression script.
Signed-off-by: Jaehyun Kim <jhkim@precisioninno.com>
2026-03-11 09:48:28 +09:00
James Cherry
981f44db68
update copyright
...
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-10 14:57:45 -07:00
James Cherry
83d08b5b5c
verilog reader use override
...
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-10 14:57:45 -07:00
Deepashree Sengupta
fbe9da3fb7
Fix for OpenSTA issue 398 and OpenROAD issue 9454 with regression ( #401 )
...
* Fix for OpenSTA issue 398 and OpenROAD issue 9454 with regression
Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>
* Incorporated feedbacks from previous version
Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>
* rename tests
Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>
* remove unnecessary newline
Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>
* Updated to use network_->portBitIterator
Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>
---------
Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>
2026-03-10 14:57:21 -07:00
James Cherry
28d94b83fa
StdStringSet -> StringSet
...
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-08 15:55:12 -07:00
James Cherry
859982bdc7
StdStringSeq -> StringSeq
...
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-08 15:51:50 -07:00
James Cherry
0c36caa182
rm StdString
...
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-08 15:16:00 -07:00
James Cherry
48511e09b1
override
...
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-08 14:07:40 -07:00
Deepashree Sengupta
eb0446d4e2
Write verilog escape ( #394 )
...
* Fir for write_verilog issue 3826
Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>
* staToVerilog2 remove escaped_name+=ch
Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>
* updated regression to remove \ from module name
Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>
* Using helpers.tcl function to redirect results
Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>
* add std::string and remove trailing space, update regression name
Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>
* update regression to reflect correct output verilog name
Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>
---------
Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>
2026-03-02 16:48:15 -08:00
James Cherry
741bf4d561
rm using std::
...
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-02 12:13:13 -08:00
James Cherry
0f8d7cffd3
mv StdStringSeq defs to StringUtil.hh
...
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-02-28 15:53:23 -08:00
Jaehyun Kim
92bb9b8ec9
test: Add comprehensive test infrastructure and test cases across all OpenSTA modules
...
Signed-off-by: Jaehyun Kim <jhkim@precisioninno.com>
2026-02-27 12:59:25 +09:00
Jaehyun Kim
1b97c9c9b4
Merge branch 'master' of https://github.com/The-OpenROAD-Project-private/OpenSTA into secure-sta-test-by-opus
2026-02-27 11:56:33 +09:00
Jaehyun Kim
55259b894b
test: Add `save_ok` script
...
Signed-off-by: Jaehyun Kim <jhkim@precisioninno.com>
2026-02-27 11:12:27 +09:00
Jaehyun Kim
9bbac53157
test: Make ctest run C++ unit tests
...
Signed-off-by: Jaehyun Kim <jhkim@precisioninno.com>
2026-02-27 09:51:10 +09:00
dsengupta0628
03f976128f
fix merge
...
Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>
2026-02-25 19:48:36 +00:00