Commit Graph

229 Commits

Author SHA1 Message Date
dsengupta0628 5f46ad3dfb Merge remote-tracking branch 'upstream/master' into sta_latest_merge_strings 2026-03-30 16:22:27 +00:00
James Cherry 6742692876 string squash
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-28 19:13:35 -07:00
dsengupta0628 d8a92a8c13 Merge branch 'master' into sta_update_upstream_lvf_stuff 2026-03-26 00:38:44 +00:00
dsengupta0628 3f2c80a830 Merge branch 'master' into sta_update_upstream_lvf_stuff 2026-03-25 19:55:19 +00:00
dsengupta0628 2910df0b18 cleanup#2
Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>
2026-03-25 16:06:38 +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
dsengupta0628 af791b9974 Merge branch 'master' into sta_update_upstream_lvf_stuff 2026-03-20 19:50:24 +00: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 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 129d007f76 override
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-09 17:43:03 -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 bf8a61fe08 PinPair
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-08 14:27:56 -07:00
James Cherry c7d48679c9 include/sta/WriteSdc.hh -> sdc/WriteSdc.hh
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-08 14:27:49 -07:00
James Cherry a419f0a721 LibertyPortPair calls
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-08 13:36:54 -07:00
James Cherry 3b61817f90 sdc:isConstrained for clk latency pin
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-07 17:19:23 -07:00
James Cherry d8c0e9285b RiseFall use shortName instead of to_string
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-06 12:02:05 -07:00
James Cherry 741bf4d561 rm using std::
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-02 12:13:13 -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
James Cherry 54a3cc0721 revert bb23f157
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-02-13 09:02:22 -07:00
James Cherry bb23f15732 Sdc::deleteDeratingFactors resolves #381
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-02-13 08:01:26 -07:00
James Cherry 33e480a6c1 liberty memory management
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-02-04 18:33:04 -07:00
James Cherry db01a2122e Merge branch 'master' into rel_3.0 2026-01-23 12:40:57 -07:00
Akash Levy 117e4094bc
Fix for invalid operator error handling (#366)
* Fix for invalid operator error handling

* Revisions
2026-01-23 11:39:56 -08:00
James Cherry d42b821c00 rel 3.0
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-01-13 09:36:45 -07:00
James Cherry 01ad7e5ed3 fix damage from pr #349
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-12-04 18:39:46 -07:00
Akash Levy 6e16c3f189
Allow `set_units`/`set_cmd_units` to support floats properly (#349) 2025-12-04 08:30:05 -08:00
James Cherry db3a1dd6e6 disconnect_pin do not delete pin from exceptions
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-11-13 10:31:43 -07:00
James Cherry 4dad6ab3b1 disconnect/disconnect pin set_multicycle_path resolves #327
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-11-13 10:06:57 -07:00
James Cherry 2fc4ece17f rm Sta:findGroupPathPins
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-11-08 18:42:41 -07:00
James Cherry 82a37d0777 sdc ExceptionPathSet*->ExceptionPathSet
commit 277de17b34f4b36b9c889f883872c604b39a7558
Author: James Cherry <cherry@parallaxsw.com>
Date:   Sat Nov 8 12:53:22 2025 -0700

    ExceptionPathSet Set -> std::set

    Signed-off-by: James Cherry <cherry@parallaxsw.com>

commit ce9afb6d29a5532b9b5fdadcdaf48aeaf1ba9c99
Author: James Cherry <cherry@parallaxsw.com>
Date:   Sat Nov 8 12:17:01 2025 -0700

    ExceptionPathSet*->ExceptionPathSet

    Signed-off-by: James Cherry <cherry@parallaxsw.com>

Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-11-08 13:38:07 -07:00
James Cherry 8287aec5f6 Verilog make pins for liberty pg_pins resolves #326
commit b4a89c93965c49a8685fd41cb6aee10635d7a7f3
Author: James Cherry <cherry@parallaxsw.com>
Date:   Fri Nov 7 11:48:10 2025 -0700

    pg_ -> PwrGnd

    Signed-off-by: James Cherry <cherry@parallaxsw.com>

commit 12ddba4bf220cec8459c15e483a871b13e507bf2
Author: James Cherry <cherry@parallaxsw.com>
Date:   Fri Nov 7 08:56:02 2025 -0700

    pg_port

    Signed-off-by: James Cherry <cherry@parallaxsw.com>

Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-11-07 11:55:43 -07:00
James Cherry 10a3cdc4d1 Exception::delete* hash update resolves #325
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-11-04 16:57:28 -07:00
James Cherry 28812daf20 leak
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-11-04 16:50:54 -07:00
James Cherry 5b312ee084 rm disconnected pin from exceptions resolves #318
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-10-31 10:36:57 -07:00
James Cherry 98d801d7a6 report paths in multiple matching groups resolves ascenium #145
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-10-30 08:53:36 -07:00
James Cherry 525c2efb3d Sta::endpointSlack
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-10-25 10:02:34 -07:00
James Cherry ab39366f7b tagStateCmp use +exceptionStateLess
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-09-12 09:10:03 -07:00
James Cherry dcbaaf4c05 ExpandedExceptionVisitor
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-09-07 15:22:06 -07:00
James Cherry 26be60906c ExpandedExceptionVisitor memory error
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-09-06 16:18:21 -07:00
James Cherry 6d3be1fe41 set_load -subtract_pin_load port warning
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-07-19 17:24:26 -07:00
James Cherry 1c45b89879 set_min/max_delay illegal endpoint warning
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-07-04 16:43:21 -07:00
James Cherry 606c666180 set_min/max_delay -from reg/D startpoint warning resolves #265
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-07-03 17:08:44 -07:00
James Cherry 0b59461bdd write_sdc crash after delete instance resolves #248
commit 3b7eba13dcfc90dc8f8b0b6c3959c9253c302eae
Author: James Cherry <cherry@parallaxsw.com>
Date:   Thu May 29 14:05:39 2025 -0700

    write_sdc crash after delete instance resolves #248

    Signed-off-by: James Cherry <cherry@parallaxsw.com>

Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-05-31 11:12:59 -07:00
Akash Levy dba11c1ecf
Fix compiler warning about if (#247) 2025-05-28 11:25:42 -07:00