Commit Graph

2142 Commits

Author SHA1 Message Date
Jaehyun Kim 5c9b4d7a15 test: Apply review feedback - part3
Remove unnecessary catch blocks across all test modules (graph,
liberty, network, parasitics, power, sdc, sdf, search, spice,
verilog), expand C++ tests (TestSearchIncremental 8→36 tests,
TestPower 71→96, TestSpice 98→126), add report_checks after each
set_wire_load_model in liberty_wireload.tcl, and rewrite
liberty_sky130_corners.tcl with actual multi-corner timing analysis.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 13:46:30 +09:00
Jaehyun Kim e57c8043cd test: Apply review feedback - part3
Remove unnecessary catch blocks from Tcl test files across all modules,
add report_checks after each set_wire_load_model in liberty_wireload,
rewrite liberty_sky130_corners for actual multi-corner timing analysis
with define_corners, and expand C++ tests (TestSearchIncremental 8→36,
TestPower 71→96, TestSpice 98→126 tests).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 13:05:07 +09:00
Jaehyun Kim 547737f71e test: Apply review feedback - part2
- Remove stale line-number coverage comments (# Targets: line NNN, hit=0)
- Remove useless file-existence checks from verilog/sdf tests
- Delete 21 orphaned dcalc Tcl tests (C++ tests already cover them)
- Rename liberty_ccsn_ecsm -> liberty_ccsn (no ECSM libs available)
- Fix liberty_sky130_corners to use define_corners/-corner for real multi-corner testing
- Add report_checks per wireload model in liberty_wireload
- Fix test/regression to work from test/ directory (label mismatch)
- Refactor all module CMakeLists.txt with sta_module_tests() macro

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 01:13:42 +09:00
Jaehyun Kim 6799b1909a test: Apply review feedback - part1
Signed-off-by: Jaehyun Kim <jhkim@precisioninno.com>
2026-02-19 23:30:23 +09:00
Jaehyun Kim fdb24d8132 test: Remove redundant results folder
Signed-off-by: Jaehyun Kim <jhkim@precisioninno.com>
2026-02-14 00:06:27 +09:00
Jaehyun Kim c147d63880 sdc: Fix dangling pointer issue in `Sdc::deleteDeratingFactors()`
Signed-off-by: Jaehyun Kim <jhkim@precisioninno.com>
2026-02-13 22:53:41 +09:00
Jaehyun Kim b77779f7a6 test: Refactoring. Standardize Google Test naming conventions by removing `R#_` prefixes, improve temporary file creation with `mkstemp`, etc
Signed-off-by: Jaehyun Kim <jhkim@precisioninno.com>
2026-02-13 20:36:42 +09:00
Jaehyun Kim d6c09372ba test: Initial upload
Signed-off-by: Jaehyun Kim <jhkim@precisioninno.com>
2026-02-13 19:19:09 +09:00
Matt Liberty e872c55bfe Merge remote-tracking branch 'parallax/master' 2026-02-05 04:12:23 +00: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 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 0c6c3d3d35 leakage power if uncond, ignore cell power resolves #373
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-01-29 19:44:18 -07:00
Matt Liberty 087793e8a0 Merge remote-tracking branch 'parallax/master' 2026-01-28 19:13:58 +00:00
James Cherry 25ea7a3795 network edits invalidate power resolves #371
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-01-28 12:06:40 -07:00
James Cherry 08acc67c05 Sta::networkChanged() comment
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-01-28 11:56:40 -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 dda887bc6e report_checks -unique_edges resolves #354
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-01-17 11:45:40 -07:00
James Cherry 0429ac324b rm dbg print
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-01-15 15:00:48 -07:00
James Cherry 7f65853afa WriteSpice rm dead code
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-01-11 19:52:55 -08:00
James Cherry b58ff962d6 msg id conflict
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-01-11 15:01:04 -08:00
Matt Liberty 638c03a1c9 Fix: implicit capture of ‘this’ via ‘[=]’ is deprecated in C++20
Signed-off-by: Matt Liberty <mliberty@precisioninno.com>
2026-01-11 01:34:48 +00:00
Matt Liberty 94dc4a04c6 Merge remote-tracking branch 'parallax/master' 2026-01-10 18:17:05 +00:00
James Cherry 3618838be0 read_vcd missing $dumpvars resolves #360
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-01-10 09:10:42 -08:00
Matt Liberty 4966240d28 Merge remote-tracking branch 'parallax/master' 2026-01-09 18:28:40 +00:00
Mike Inouye 128ea3cf28
Use Map with a deterministic instance power iterator (#359)
* Use deterministic instance power iterator

* Use deterministic instance power iterator

* Use std::map instead of sta::Map
2026-01-09 09:49:00 -08:00
James Cherry 808ac488ef error msg id
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-01-07 09:05:40 -08:00
James Cherry 6a8ffcd898 dcalc bfs incr level/hercules_is_int 0.3 correlation
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-01-06 15:26:25 -08:00
James Cherry 9d401d1c0e dcalc bfs incr level/hercules_is_int 0.3 correlation
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-01-06 14:37:26 -08:00
James Cherry 4afa443892 rm PR #342 turd
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-12-20 11:45:48 -07:00
James Cherry fb61208148 fix and simplify power_json test
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-12-20 10:45:17 -07:00
nataliakokoromyti 56e4bd8ce1
Report power as JSON (#342)
* fix power_json.tcl

* get rid of the if/else statements throughout
2025-12-20 08:13:15 -08:00
James Cherry 1bf9426e96 power activity propagation thru reg/latch resolves #350
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-12-20 09:11:41 -07:00
James Cherry 323906cb1a prima3 use asap7_small
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-12-19 09:40:16 -07:00
James Cherry d0f5a962c8 power debug
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-12-19 09:40:16 -07:00
Ethan Mahintorabi 7ac4a47db1
util: Add method to get thread count from dispatch queue (#324)
I'm looking to try to have unified thread pool with OpenSTA and OpenROAD
and having this method would make it easier to understand how much
parallelism is available in the pool.

Signed-off-by: Ethan Mahintorabi <ethanmoon@google.com>
2025-12-12 15:49:22 -08:00
James Cherry 3bda441305 report_clock_skews cache results resolves #113
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-12-12 15:37:30 -07:00
James Cherry 0dd7d1bbdc rm write_verilog -sort
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-12-12 09:40:45 -07:00
James Cherry 0772eaaf6a swig exception hander use $action resolves #357
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-12-10 16:29:22 -07:00
James Cherry bd3efdc322 README
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-12-07 10:00:28 -07:00
Akash Levy 215a966325
Fix write_units_json (#354) 2025-12-06 08:45:51 -08:00
James Cherry 967f512fdc rename test groups
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-12-05 14:47:27 -07: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 75c2b1e80d rm read_vcd test
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-12-05 12:53:55 -07:00
James Cherry e09e1b7dcf rm set_units_float test
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-12-05 09:56:14 -07:00
James Cherry e8c7a6541b more unit fallout
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-12-05 09:51:15 -07:00
James Cherry 8b8b86bb66 fix damage from pr #348
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-12-04 19:04:57 -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
Stan Lee 85b790ce45
Large bus width bug with read_vcd (#348)
* a

* Revert "a"

This reverts commit 2717585799dc829618bc523a4b1525df2a298cf1.

* bus issue

* reverse string to match vcd bits

* requested changes

* clearer

* this makes more sense

* revert

* comment

* add test case
2025-12-04 17:04:23 -08:00