Commit Graph

379 Commits

Author SHA1 Message Date
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
Jaehyun Kim eea333c4bf Merge branch 'master' of https://github.com/The-OpenROAD-Project-private/OpenSTA into secure-sta-test-suite
Signed-off-by: Jaehyun Kim <jhkim@precisioninno.com>
2026-03-16 12:20:36 +09:00
dsengupta0628 83e1f9b77f Changes to bring back warning 1241 and fix lumpedCapDelayCalc- both commits also in parallax/osta
Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>
2026-03-13 00:19:07 +00:00
James Cherry 00ee6a1956 liberty max_transition warning resolves #403
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-11 11:58:58 -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 6280635c38 liberty statetable ref test_cell ports resolves #276
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-10 12:58:53 -07:00
James Cherry 0850e97b88 readLibraryAttributes only call when non-empty library
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-09 18:12:56 -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 4f540792a0 rm StringSet
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-08 15:39:41 -07:00
James Cherry 8bd938d840 CheckError use std::string
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-08 15:02:14 -07:00
James Cherry 48511e09b1 override
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-08 14:07:40 -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 274637ce46 liberty attributes after cells resolves #400
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-08 10:21:55 -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 f1e5587fef rapidus liberty latch D->Q/EN->Q matching
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-05 18:41:25 -07:00
James Cherry 8ed837d74b relevelize latch EN->Q
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-05 13:33:58 -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
James Cherry e76f54a068 rm TokenParser
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-02-28 15:45:34 -08:00
James Cherry cd21c43693 rm LibertyPort::clkTreeDelays, clockTreePathDelays
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-02-28 14:57:00 -08:00
James Cherry c010a0f99e liberty reader rewrite
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-02-27 17:12:50 -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
Martin Povišer 0d34825700 Merge remote-tracking branch 'parallax/rel_3.0' into pull-rel_3.0 2026-02-19 11:31:08 +01:00
James Cherry 4c157f46ee InternalPower::related_pg_port string->port
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-02-11 08:33:09 -07:00
Matt Liberty e872c55bfe Merge remote-tracking branch 'parallax/master' 2026-02-05 04:12:23 +00:00
James Cherry 7cb71fe766 liberty memory management
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-02-04 18:33:32 -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 c7f4bb3bb3 Merge branch 'master' into rel_3.0
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-02-04 17:36:33 -07:00
James Cherry cde32a1572 leakage power well pg pin resolves #377
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-02-04 16:50:28 -07:00
Matt Liberty ec62b3a5b9 Merge remote-tracking branch 'parallax/master' 2026-02-04 07:51:04 +00:00
James Cherry 0ae888b619 Merge branch 'master' into rel_3.0
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-02-03 08:40:58 -07:00
James Cherry 3136871ecd LibertyCell::isClockGateLatchNegedge resolves #375
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-02-03 08:33:46 -07:00
James Cherry 87ea907884 defineScalingFactorVisitors min_pulse_width resolves #376
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-02-03 08:18:41 -07:00
James Cherry b04ffe737b LibertyBuilder::makeRegLatchArcs null ref resolves #368
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-01-20 17:35:25 -07:00
James Cherry d42b821c00 rel 3.0
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-01-13 09:36:45 -07:00
Matt Liberty 4966240d28 Merge remote-tracking branch 'parallax/master' 2026-01-09 18:28:40 +00:00
James Cherry 6ef25d488a more unit issues
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-12-05 14:47:16 -07:00
James Cherry e8c7a6541b more unit fallout
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-12-05 09:51:15 -07:00
Matt Liberty eb8ab089df Merge remote-tracking branch 'parallax/master' 2025-11-25 16:53:40 +00:00
Matt Liberty 574379eb32
rm stray semicolon (#338)
Signed-off-by: Matt Liberty <mliberty@precisioninno.com>
2025-11-21 07:01:39 -08:00
Matt Liberty 1d6e79a327 Merge remote-tracking branch 'upstream/master' 2025-11-18 06:35:29 +00:00
Logikable c4b94c3ee5
Add missing system header includes. (#330)
Signed-off-by: Sean Luchen <seanluchen@google.com>
2025-11-17 09:23:32 -08:00
Akash Levy 16a92707fb
Fix `isBuffer` (#329)
* Add support for "well" direction type (nwell, pwell, etc.), and fix isBuffer (+ other functions) to accommodate wells

* Just fix isBuffer issue
2025-11-16 15:34:37 -08:00
Matt Liberty 7b4cea532b Merge remote-tracking branch 'upstream/master' 2025-11-13 03:32:56 +00:00
James Cherry cf903f4db6 suppress rapidus liberty warning
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-11-09 08:23:53 -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
Matt Liberty d7cb9be1ca Merge remote-tracking branch 'upstream/master' 2025-11-07 04:44:07 +00:00
James Cherry 351b8287a7 issue 322 revisited
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-11-06 12:34:53 -07:00