Commit Graph

2319 Commits

Author SHA1 Message Date
Jaehyun Kim a4419fb7dd Enable disabled liberty tests and stabilize clock groups regression
Signed-off-by: Jaehyun Kim <jhkim@precisioninno.com>
2026-03-11 18:24:39 +09:00
Jaehyun Kim 2d2a275ab9 Remove intermediate doc files
Signed-off-by: Jaehyun Kim <jhkim@precisioninno.com>
2026-03-11 17:46:38 +09: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 00e83881b2 test: Remove duplicate codes in TestPower.cc
Signed-off-by: Jaehyun Kim <jhkim@precisioninno.com>
2026-03-11 11:27:00 +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
Jaehyun Kim f7c4a825e1 build: Update Dockerfile.centos7 style
Signed-off-by: Jaehyun Kim <jhkim@precisioninno.com>
2026-03-11 09:38:17 +09:00
Matt Liberty a0b629462d
Merge pull request #307 from The-OpenROAD-Project-staging/upstream
Upstream
2026-03-09 23:26:52 +00:00
Matt Liberty 38f7af09cc Merge remote-tracking branch 'upstream/master' into upstream 2026-03-09 17:58:52 +00:00
James Cherry f1b33edd98 PathGroup use BoundedHeap
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-09 10:15:53 -07:00
James Cherry 9b2bdf85e1 PathGroup::name std::string
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-08 16:39:48 -07:00
James Cherry 28b9401e31 const
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-08 16:15:24 -07:00
James Cherry d99cdd11de Sta::makeCheckTiming
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-08 16:10:24 -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 4f540792a0 rm StringSet
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-08 15:39:41 -07:00
James Cherry 7e7ab96329 rm StdString
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-08 15:25:02 -07:00
James Cherry a1797918da Use & for StdStringSeq args
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-08 15:19:27 -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 8bd938d840 CheckError use std::string
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-08 15:02:14 -07:00
James Cherry ab99512351 spef reader use std::string
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-08 14:48:48 -07:00
James Cherry d7905a3886 delay_calcs use std::string
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-08 14:41:22 -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 48511e09b1 override
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-08 14:07:40 -07:00
James Cherry c2c40f76b1 DmpAlg
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-08 14:03:53 -07:00
James Cherry c7ba405a14 comment
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-08 13:59:22 -07:00
James Cherry fe0e3d0673 const
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-08 13:50:22 -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 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 ef924bb0b5 fmt
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-07 16:41:25 -07:00
Matt Liberty f7d663c38d
Merge pull request #304 from The-OpenROAD-Project-staging/update-upstream
Update upstream
2026-03-07 22:06:27 +00:00
Matt Liberty 2b9035c573 remove CODEOWNERS, not relevant here
Signed-off-by: Matt Liberty <mliberty@precisioninno.com>
2026-03-07 21:52:35 +00:00
Matt Liberty 6653d6c253 skip ci in the private org
Signed-off-by: Matt Liberty <mliberty@precisioninno.com>
2026-03-07 21:49:34 +00:00
James Cherry b5b0c66d12 power activity doc resolves #192
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-07 12:37:42 -07:00
Matt Liberty b5b2f540c0 Merge remote-tracking branch 'upstream/master' into update-upstream
Get levelizations fixes

Signed-off-by: Matt Liberty <mliberty@precisioninno.com>
2026-03-07 19:26:14 +00:00
James Cherry 60f6e5963f rm PwrActivityOrigin::defaulted
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-07 12:21:31 -07:00
James Cherry bbe31b03de comment
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-07 10:58:09 -07:00
James Cherry ad1cb85580 doc
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-07 09:24:58 -07:00
James Cherry 12c811a492 latch en=1 tags
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-06 18:10:20 -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
Matt Liberty 5e9e9db706
Merge pull request #303 from The-OpenROAD-Project-staging/sta_nondet_crash_debug
Fix more MT issues arising from pruneCrprArrival
2026-03-04 22:52:26 +00:00
dsengupta0628 3afeba7212 Revert "handle MT issues in setVertexArrivals, fix non-determ crash"
This reverts commit for serVertexArrivals MT safe change 16c2678e51.
2026-03-04 21:09:02 +00:00
dsengupta0628 0a8ccbd3c4 Revert "Fix more MT issues arising from pruneCrprArrival"
This reverts pruneCrprArrival changes commit fa9d1b13c9.
2026-03-04 21:08:23 +00:00
dsengupta0628 fa9d1b13c9 Fix more MT issues arising from pruneCrprArrival
Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>
2026-03-04 00:02:57 +00:00
Matt Liberty ccbd2ed139
Merge pull request #302 from The-OpenROAD-Project-staging/sta_follow_up_write_verilog
Sta follow up write verilog
2026-03-03 22:22:38 +00:00
James Cherry 1ba71c3ab2 test/helpers.tcl
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-03 19:37:54 +00:00