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
dsengupta0628
4238a057dd
combined latest osta
...
Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>
2026-03-25 20:03:03 +00:00
James Cherry
f4048cdf3e
read_saif ref missing instance resolves #406
...
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-24 10:31:24 -07:00
dsengupta0628
5ce29f4d7d
Merge remote-tracking branch 'upstream/master' into sta_update_upstream_lvf_stuff
2026-03-23 13:54:51 +00:00
James Cherry
7b0281014e
regression usage
...
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-22 10:13:57 -07:00
James Cherry
bacb61feaa
regression -j
...
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-21 10:18:55 -07: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
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
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
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
d31372ef9a
regression sta_dir
...
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-02-27 17:54:32 -08:00
James Cherry
c010a0f99e
liberty reader rewrite
...
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-02-27 17:12:50 -08:00
Kazuto Iris
a47a8dd831
Add GitHub Action for CI and fix broken testcases ( #391 )
...
* feat(ci): add GitHub Action for push and pull request
* fix(ci): fix broken testcases
* chore: add CODEOWNERS for ci
* ci: bump actions/upload-artifact from 6 to 7
2026-02-27 13:51:28 -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
d5597bafee
test: Make ./regression run parallel with multiple cores by default
...
Signed-off-by: Jaehyun Kim <jhkim@precisioninno.com>
2026-02-27 12:00:42 +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
d35d5661b4
test: Auto-detect new *.{tcl,ok} test cases in test and examples folders
...
Signed-off-by: Jaehyun Kim <jhkim@precisioninno.com>
2026-02-27 10:57:35 +09:00
Jaehyun Kim
c40b8b24bb
test: Make `./test/regression -j32` run all test cases including C++ unit tests
...
Signed-off-by: Jaehyun Kim <jhkim@precisioninno.com>
2026-02-27 10:15:53 +09:00
James Cherry
95d5ebb47c
test/helpers.tcl
...
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-02-26 09:32:20 -08:00
dsengupta0628
cd6f564caf
Renamed tests to match prlx repo, updated test to repro error without my fix
...
Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>
2026-02-25 20:33:15 +00:00
dsengupta0628
03f976128f
fix merge
...
Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>
2026-02-25 19:48:36 +00:00
Jaehyun Kim
8adbcc0d6d
Merge upstream STA update and adapt all tests to new API
...
Major upstream refactoring: Corner→Scene, Mode architecture, warning
format change (Warning ID:), command renames, and many API signature
changes. Adapted all C++ test files and TCL test scripts/expected
output files to pass with the new API. 6159/6159 tests pass.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Jaehyun Kim <jhkim@precisioninno.com>
2026-02-23 23:05:29 +09:00
Jaehyun Kim
7173c10cc1
test: strengthen assertions, add sorted SDC diff, and clean up tests
...
- Split oversized test files to stay under 5,000 lines per file:
TestSdc.cc → TestSdcClasses.cc, TestSdcStaInit.cc, TestSdcStaDesign.cc
TestSearchStaDesign.cc → TestSearchStaDesign.cc, TestSearchStaDesignB.cc
TestLibertyStaBasics.cc → TestLibertyStaBasics.cc, TestLibertyStaBasicsB.cc
TestNetwork.cc → TestNetwork.cc, TestNetworkB.cc
- Replace ~200+ (void) casts with proper EXPECT_* assertions across all
C++ test files (dcalc, liberty, network, sdc, search, power, spice, util)
- Remove ~55 SUCCEED() and EXPECT_TRUE(true) no-op assertions
- Fix 6 load-only Tcl tests by adding diff_files verification with
22 new .sdcok golden reference files
- Delete 7 orphan .ok files with no matching .tcl tests
- Add how_to_write_good_tests.md and TODO6.md documenting test quality rules
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Jaehyun Kim <jhkim@precisioninno.com>
2026-02-23 17:36:45 +09:00
Jaehyun Kim
b6d598a119
test: strengthen assertions, add sorted SDC diff, and clean up tests
...
- Add diff_files_sorted to test/helpers.tcl for hash-order-independent
SDC comparison (fixes non-deterministic write_sdc output ordering)
- Use diff_files_sorted in sdc_derate_disable_deep and
sdc_port_delay_advanced tests
- Remove stale coverage percentages from test comments (Comment 1)
- Remove unnecessary catch blocks in search property tests (Comment 3)
- Strengthen load-only tests with actual data verification (Comment 8)
- Remove orphan .ok files for deleted monolithic tests (Comment 9)
- Add golden .sdcok/.libok/.vok/.sdfok files for SDC/liberty/verilog
write-and-diff tests
- Add -B (clean rebuild) option to make_coverage_report.sh
- Replace (void) casts and EXPECT_TRUE(true) with real assertions in
TestSdc.cc and TestVerilog.cc
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Jaehyun Kim <jhkim@precisioninno.com>
2026-02-23 11:50:23 +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
Martin Povišer
d252a27586
Regolden tests
...
Signed-off-by: Martin Povišer <povik@cutebit.org>
2026-02-19 11:32:22 +01:00
dsengupta0628
1c1bef30d5
test functionality with dollar sign, also need regoldening an openroad regression with another commit
...
Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>
2026-02-17 20:19:17 +00:00
Jaehyun Kim
d6c09372ba
test: Initial upload
...
Signed-off-by: Jaehyun Kim <jhkim@precisioninno.com>
2026-02-13 19:19:09 +09:00
dsengupta0628
2d8605ebc9
Updated testing harness for the fix
...
Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>
2026-02-10 16:51:00 +00:00
dsengupta0628
5c1a9eb523
Fix write_verilog escape seq Issue 3826
...
Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>
2026-02-10 02:40:33 +00: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
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
323906cb1a
prima3 use asap7_small
...
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-12-19 09:40:16 -07: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
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
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
Akash Levy
6e16c3f189
Allow `set_units`/`set_cmd_units` to support floats properly ( #349 )
2025-12-04 08:30:05 -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
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
7fab248f56
disconnect_mcp_pin.ok
...
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-11-13 10:17:08 -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
265e7f2d10
get_filter comment
...
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-11-01 13:25:32 -07:00
James Cherry
de0f5440a6
Sta::isPathGroupName
...
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-10-26 09:23:16 -07:00
ambd161
36e516924f
Recognize some basic specify blocks and ignore them ( #309 )
...
* Add parser support for specify blocks and specparam
Treated like regular parameters, and so ignored
* Add regression test
* Apply PR feedback
* missed the verilog_lang
2025-10-12 14:11:00 -07:00
Akash Levy
9550c99f0c
Package require test ( #303 )
2025-10-04 10:36:22 -07:00
Mateusz Gancarz
45a8a1bcc0
search: fix truncating path ends list if sorting by slack ( #291 )
2025-09-03 16:45:33 -07:00
Akash Levy
4920f673a8
JSON reporting: split out source clock path ( #285 )
2025-08-13 09:53:44 -07:00
Akash Levy
2e903ab4da
Allow Liberty floats as strings for `voltage_map` and `capacitive_load_unit` ( #280 )
...
* Allow Liberty floats as strings for voltage_map and capacitive_load_unit
* Update liberty_float_as_str.lib
* Use valid bool
* Remove unused include
2025-08-01 17:41:56 -07:00
Akash Levy
ec3208bfbf
Allow backslash-EOL to end tokens in Liberty file ( #279 )
...
* Allow backslash EOL to end tokens in Liberty file
* Update liberty_backslash_eol.lib
* Update liberty_backslash_eol.lib
2025-07-31 12:19:36 -07:00
Akash Levy
c416229106
CMake output lib/exe fixes ( #244 )
...
* Fixes #167
* No need to make app/ directory, it's already there
* Put lib/exe only in build dir, update docs and other references accordingly
* Remove gitignore stuff
* Bump CMake version too
* Minor correction to be more exact
* Update regression_vars.tcl
* Requested txt fixes
* Update date
2025-05-19 15:04:49 -07:00
James Cherry
efee9ec7e4
prima3.ok
...
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-04-10 11:17:19 -07:00
James Cherry
462853b3b5
regression use include
...
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-03-31 08:32:25 -07:00
Akash Levy
e7e80ca6c2
All path groups ( #215 )
...
* All path groups
* Fixes
* Use c++17 iteration
2025-02-12 10:40:43 -08:00
James Cherry
2a4fd08211
update copyright
...
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-21 18:54:33 -07:00
James Cherry
cade6da64d
verilog c++ parser
...
commit 6fac3fee87a3309132b5bdbb731292ecd6410a86
Author: James Cherry <cherry@parallaxsw.com>
Date: Tue Jan 21 18:24:18 2025 -0700
Sta use VerilogReader class
Signed-off-by: James Cherry <cherry@parallaxsw.com>
commit 05d4bce4bcfcfaa07392b237a596a82315b895b3
Author: James Cherry <cherry@parallaxsw.com>
Date: Tue Jan 21 15:14:29 2025 -0700
vparse
Signed-off-by: James Cherry <cherry@parallaxsw.com>
commit e977e89b62191688db5c815131fc389d9ce401c5
Author: James Cherry <cherry@parallaxsw.com>
Date: Tue Jan 21 11:30:46 2025 -0700
write_verilog missing port ddcl
Signed-off-by: James Cherry <cherry@parallaxsw.com>
commit 1742d5d92533559235ea4c42d9ea4bf2d47fb943
Author: James Cherry <cherry@parallaxsw.com>
Date: Tue Jan 21 11:23:48 2025 -0700
verilog escape constexpr
Signed-off-by: James Cherry <cherry@parallaxsw.com>
commit 226a23092312a37503100d49ab74d4fb1e5856ef
Author: James Cherry <cherry@parallaxsw.com>
Date: Mon Jan 20 09:34:32 2025 -0700
comment
Signed-off-by: James Cherry <cherry@parallaxsw.com>
commit 63ca4ac5855710427e1ddfc5c2cba8998452d1f0
Author: James Cherry <cherry@parallaxsw.com>
Date: Sun Jan 19 19:45:48 2025 -0700
leaks
Signed-off-by: James Cherry <cherry@parallaxsw.com>
commit c1d38aa0cc983204b1bb3f49944709e74c831be7
Author: James Cherry <cherry@parallaxsw.com>
Date: Sun Jan 19 13:26:07 2025 -0700
verilog std::string
Signed-off-by: James Cherry <cherry@parallaxsw.com>
commit 22607b41b9eb9fc71d53214893150afb757a8a56
Author: James Cherry <cherry@parallaxsw.com>
Date: Sun Jan 19 11:36:23 2025 -0700
verilog std::string
Signed-off-by: James Cherry <cherry@parallaxsw.com>
commit dba2bc939fc58d465229cc2d474705151cd50d05
Author: James Cherry <cherry@parallaxsw.com>
Date: Sun Jan 19 10:01:14 2025 -0700
verilog std::string
Signed-off-by: James Cherry <cherry@parallaxsw.com>
commit 7d449041a2b75b874038af377d46130b45195a00
Author: James Cherry <cherry@parallaxsw.com>
Date: Sun Jan 19 09:18:55 2025 -0700
verilog std::string
Signed-off-by: James Cherry <cherry@parallaxsw.com>
commit d02495222838f037f25d131ce1b270a6121cf16f
Author: James Cherry <cherry@parallaxsw.com>
Date: Sun Jan 19 08:53:47 2025 -0700
verilog std::string
Signed-off-by: James Cherry <cherry@parallaxsw.com>
commit 10c5c1040f26c8ebe295d245a641fc913e0ec9f5
Author: James Cherry <cherry@parallaxsw.com>
Date: Sat Jan 18 21:50:12 2025 -0700
verlog constant use std::string
Signed-off-by: James Cherry <cherry@parallaxsw.com>
commit 21943c1b63fd36d12de1e5986905e14fe73ce7be
Author: James Cherry <cherry@parallaxsw.com>
Date: Sat Jan 18 17:41:43 2025 -0700
verilog std::string
Signed-off-by: James Cherry <cherry@parallaxsw.com>
commit c0232b71ea5137b37d055d83f3da194341aed7a0
Author: James Cherry <cherry@parallaxsw.com>
Date: Sat Jan 18 17:12:47 2025 -0700
verilog std::string
Signed-off-by: James Cherry <cherry@parallaxsw.com>
commit c68fd0329ee35b4877763bcdc82e8fe03a3b16de
Author: James Cherry <cherry@parallaxsw.com>
Date: Sat Jan 18 16:54:10 2025 -0700
verilog std::string
Signed-off-by: James Cherry <cherry@parallaxsw.com>
commit 3e2dca2140db42acce390ec1a18f29ee4de3c631
Author: James Cherry <cherry@parallaxsw.com>
Date: Sat Jan 18 16:07:19 2025 -0700
vparse const
Signed-off-by: James Cherry <cherry@parallaxsw.com>
commit 210196f9e5a63dfdd5ed45a418388b7ec74ade07
Author: James Cherry <cherry@parallaxsw.com>
Date: Sat Jan 18 12:31:13 2025 -0700
verilog parse centos7
Signed-off-by: James Cherry <cherry@parallaxsw.com>
commit b8e1882121ac1763e767d299fd929bdfb07c5ffb
Author: James Cherry <cherry@parallaxsw.com>
Date: Sat Jan 18 10:21:48 2025 -0700
verilog names string*
Signed-off-by: James Cherry <cherry@parallaxsw.com>
commit c455723c5801d2d7386e7d1d53a0f9fb501c0c03
Author: James Cherry <cherry@parallaxsw.com>
Date: Sat Jan 18 09:51:47 2025 -0700
verilog reader names
Signed-off-by: James Cherry <cherry@parallaxsw.com>
commit 47307b1d8a61abab91195969be8708a7646bbfe3
Author: James Cherry <cherry@parallaxsw.com>
Date: Sat Jan 18 09:21:30 2025 -0700
valgrind
Signed-off-by: James Cherry <cherry@parallaxsw.com>
commit 0de49ba76cb0d1e06f93868676b73b4cd2ee609e
Author: James Cherry <cherry@parallaxsw.com>
Date: Wed Jan 15 16:50:56 2025 -0700
suppress yynerrs_ warning
Signed-off-by: James Cherry <cherry@parallaxsw.com>
commit dbe2ba18d99d850ba5ebb1c75a4165bfff2df96d
Author: James Cherry <cherry@parallaxsw.com>
Date: Wed Jan 15 16:37:14 2025 -0700
cmake bison target names
Signed-off-by: James Cherry <cherry@parallaxsw.com>
commit 388be6c2aa69b839a53be78bafab420216554944
Author: James Cherry <cherry@parallaxsw.com>
Date: Tue Jan 14 08:57:02 2025 -0700
network link func rm repor, network args
Signed-off-by: James Cherry <cherry@parallaxsw.com>
commit f50d5b23aff126e7d396a555f06eae5597ec1354
Author: James Cherry <cherry@parallaxsw.com>
Date: Mon Jan 13 19:48:44 2025 -0700
verilog reader use gzstream
Signed-off-by: James Cherry <cherry@parallaxsw.com>
commit 8a0c8ce09087cceef36824de3656b5c7cea9f0f0
Author: James Cherry <cherry@parallaxsw.com>
Date: Mon Jan 13 18:02:40 2025 -0700
VerilogScanner::error
Signed-off-by: James Cherry <cherry@parallaxsw.com>
commit 413093e46e523d90e45a4c56ecaa25e4457998aa
Author: James Cherry <cherry@parallaxsw.com>
Date: Fri Jan 10 18:27:53 2025 -0700
rm verilog_network
Signed-off-by: James Cherry <cherry@parallaxsw.com>
commit aef8358a8f44e556a3814e9ddd205e179bf2b3d7
Author: James Cherry <cherry@parallaxsw.com>
Date: Fri Jan 10 18:01:09 2025 -0700
rm verilog_reader except link
Signed-off-by: James Cherry <cherry@parallaxsw.com>
commit cfc34aa41a5fe1942867c73061ae483e36c74f54
Author: James Cherry <cherry@parallaxsw.com>
Date: Fri Jan 10 17:04:33 2025 -0700
verilog reader rm line_
Signed-off-by: James Cherry <cherry@parallaxsw.com>
commit 62dd98b7cb800acc61192b0f326d4a3278e1a72d
Author: James Cherry <cherry@parallaxsw.com>
Date: Fri Jan 10 16:26:09 2025 -0700
verilog parse use location
Signed-off-by: James Cherry <cherry@parallaxsw.com>
commit ad6c26984526312134d03c0f39d3fcd63617efa4
Author: James Cherry <cherry@parallaxsw.com>
Date: Sat Jan 4 11:04:16 2025 -0800
verilog parse error
Signed-off-by: James Cherry <cherry@parallaxsw.com>
commit 1bff12c8c49c847de015dd32042cccf7952a2060
Author: James Cherry <cherry@parallaxsw.com>
Date: Sat Jan 4 08:00:40 2025 -0800
attribute -> Attr
Signed-off-by: James Cherry <cherry@parallaxsw.com>
commit e8372df18a5374b2c9ca8f094a244d06c59a9f4e
Author: James Cherry <cherry@parallaxsw.com>
Date: Fri Jan 3 17:57:21 2025 -0800
verilog rm string_buf
Signed-off-by: James Cherry <cherry@parallaxsw.com>
commit 785818f10108f689b4ea978a13d0131546f1a4e5
Author: James Cherry <cherry@parallaxsw.com>
Date: Fri Jan 3 16:10:10 2025 -0800
verilog parse use std::string
Signed-off-by: James Cherry <cherry@parallaxsw.com>
commit 95265fc4ad30325f115eb69d10c77afe3f265701
Author: James Cherry <cherry@parallaxsw.com>
Date: Fri Jan 3 15:44:31 2025 -0800
verilog parser const char * -> string*
Signed-off-by: James Cherry <cherry@parallaxsw.com>
commit b80db6d98057363f90a9497b10073f84c2e7cc3d
Author: James Cherry <cherry@parallaxsw.com>
Date: Thu Jan 2 08:31:06 2025 -0800
bison warning
Signed-off-by: James Cherry <cherry@parallaxsw.com>
commit df3b61bf7d590c241ee513eacfb1c7dff2a450d8
Author: James Cherry <cherry@parallaxsw.com>
Date: Wed Jan 1 17:04:17 2025 -0800
verilog parse works
Signed-off-by: James Cherry <cherry@parallaxsw.com>
commit 8b5a8fbb7042ceb58fbb24b836664a1da6028c45
Author: James Cherry <cherry@parallaxsw.com>
Date: Wed Jan 1 16:15:44 2025 -0800
rm VerilogParser.hh
Signed-off-by: James Cherry <cherry@parallaxsw.com>
commit 07bc0cc9c160e9dbe705f4c359973cc35342e05e
Author: James Cherry <cherry@parallaxsw.com>
Date: Wed Jan 1 15:59:57 2025 -0800
verlog parse compiles
Signed-off-by: James Cherry <cherry@parallaxsw.com>
commit 8d32f5f3d5e6a252cdb2020c62742f01b1c66f63
Author: James Cherry <cherry@parallaxsw.com>
Date: Mon Dec 30 09:14:13 2024 -0800
verilog parser
Signed-off-by: James Cherry <cherry@parallaxsw.com>
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-21 18:35:21 -07:00
James Cherry
b2646a96d0
power use density instead of activity
...
commit f9ac0ee51e238b30c4ace2d925344da612ccccee
Author: James Cherry <cherry@parallaxsw.com>
Date: Fri Jan 17 13:00:30 2025 -0700
doc
Signed-off-by: James Cherry <cherry@parallaxsw.com>
commit 4619c083ef70c19e4cae71b351ccf25190983f11
Author: James Cherry <cherry@parallaxsw.com>
Date: Fri Jan 17 10:02:50 2025 -0700
activity -> density
Signed-off-by: James Cherry <cherry@parallaxsw.com>
commit aad7d4c03a9138f0b00a9d7a756bf183760df8eb
Author: James Cherry <cherry@parallaxsw.com>
Date: Thu Jan 16 22:14:39 2025 -0700
power all but 2 regressions
Signed-off-by: James Cherry <cherry@parallaxsw.com>
commit 2d9465c6e5035d221fc4d3ec32f4997a28aa9877
Author: James Cherry <cherry@parallaxsw.com>
Date: Thu Jan 16 16:22:32 2025 -0700
power activity -> densiity
Signed-off-by: James Cherry <cherry@parallaxsw.com>
commit 5d3c6ef2c3b178cf8f4958fcc6cdc37ccac4a067
Author: James Cherry <cherry@parallaxsw.com>
Date: Thu Jan 16 11:54:05 2025 -0700
power1 passes
Signed-off-by: James Cherry <cherry@parallaxsw.com>
commit f8344e412eb398067d83387fec52b352bbd7eb06
Author: James Cherry <cherry@parallaxsw.com>
Date: Thu Jan 16 10:30:04 2025 -0700
set_power_activity -density
Signed-off-by: James Cherry <cherry@parallaxsw.com>
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-17 13:02:13 -07:00
Akash Levy
fbb4b8c6e6
Add error/warning suppression with `suppress_msg` and `unsuppress_msg` commands ( #157 )
...
* Add error/warning suppression with `suppress_msg` and `unsuppress_msg` commands
* Fixes
* Merge docs
* Fixes
* Remove optional arg from class
* Add where to find message codes
* Update docs
* Requested fixes
* Deal with errors on the TCL side instead of C++ side
* Update ok file
* Add back in C++ side error suppression and have tests for both C++/TCL side suppression
* Requested fixes to ChangeLog and unifying suppression in C++/TCL
* Requested fixes
* Requested test adjustments
* Smallfixes
* Smallfixes
* Another smallfix
2025-01-17 11:20:19 -08:00
Akash Levy
068183a49f
CCSN PR fixes ( #178 )
...
* Ignore CCSN groups
* Smallfixes: reduce CCSN lib size, comment
* Reduce size of CCSN testcase
* Remove ooo record_sta_tests
2025-01-16 09:35:38 -08:00
James Cherry
e7eebc98a3
read_vcd, report_activity_annotation resolves #162 resolves $158
...
commit 02be8357f8ba158292faab0e8d8b8d220e69c842
Author: James Cherry <cherry@parallaxsw.com>
Date: Wed Jan 15 15:59:20 2025 -0700
sort regressions
Signed-off-by: James Cherry <cherry@parallaxsw.com>
commit b0e1d863d34853b70d342c6bb0baa400a08db207
Author: James Cherry <cherry@parallaxsw.com>
Date: Wed Jan 15 15:44:07 2025 -0700
PowerResult::incf*
Signed-off-by: James Cherry <cherry@parallaxsw.com>
commit 23ed0ed05d8bbf83cc5b6fa7598f1253cbe2b222
Author: James Cherry <cherry@parallaxsw.com>
Date: Sun Jan 12 17:49:24 2025 -0700
gzip vcd/saif
Signed-off-by: James Cherry <cherry@parallaxsw.com>
commit a5a1a7b80e00b2deb51505b2e60312e3c29284fe
Author: James Cherry <cherry@parallaxsw.com>
Date: Sun Jan 12 17:12:09 2025 -0700
report_activity_annotation sort pins
Signed-off-by: James Cherry <cherry@parallaxsw.com>
commit 6c149cc6d66addda4eee5f56dbe4731876f1efa9
Author: James Cherry <cherry@parallaxsw.com>
Date: Sun Jan 12 16:47:02 2025 -0700
vcd/saif do not annotate internal pins
Signed-off-by: James Cherry <cherry@parallaxsw.com>
commit fe8c7c7fc7b2878cb16c7d2a57e1161555f9a36f
Author: James Cherry <cherry@parallaxsw.com>
Date: Sat Jan 11 17:09:22 2025 -0700
report_activity_annotation
Signed-off-by: James Cherry <cherry@parallaxsw.com>
commit 8a8f87ba05c6c6f31017288d573c23e92cac4f9e
Author: James Cherry <cherry@parallaxsw.com>
Date: Fri Jan 10 11:57:22 2025 -0700
ReadVcdActivies factor VcdCountReader
Signed-off-by: James Cherry <cherry@parallaxsw.com>
commit aa70ae987c4a749e53ae2f93c8ff04a3c28b0b08
Author: James Cherry <cherry@parallaxsw.com>
Date: Fri Jan 10 09:06:09 2025 -0700
vcd high time
Signed-off-by: James Cherry <cherry@parallaxsw.com>
commit 242493e992949ee72493f4f15a0fe92630ad2f03
Author: James Cherry <cherry@parallaxsw.com>
Date: Thu Jan 9 17:14:02 2025 -0700
comment
Signed-off-by: James Cherry <cherry@parallaxsw.com>
commit 8621a83d7abf5efcf54c24a1a16bba0c8eb5e441
Author: James Cherry <cherry@parallaxsw.com>
Date: Thu Jan 9 17:11:22 2025 -0700
ReadVcdActivities rm sta_
Signed-off-by: James Cherry <cherry@parallaxsw.com>
commit fc0327c39c5aef6d09580795f6a13abf9b9f8266
Author: James Cherry <cherry@parallaxsw.com>
Date: Thu Jan 9 09:36:30 2025 -0700
var name
Signed-off-by: James Cherry <cherry@parallaxsw.com>
commit a5b6e2ac66cef9355a9a87edcc185b483f5781ce
Author: James Cherry <cherry@parallaxsw.com>
Date: Thu Jan 9 08:23:50 2025 -0700
vcd passes
Signed-off-by: James Cherry <cherry@parallaxsw.com>
commit c0f6d268542b3dd431882cfa4e3d131d6d2fb933
Author: James Cherry <cherry@parallaxsw.com>
Date: Wed Jan 8 20:19:27 2025 -0700
vcd
Signed-off-by: James Cherry <cherry@parallaxsw.com>
commit 8181e206ee39e4c3fdd69ef1d3463092763c3d2b
Author: James Cherry <cherry@parallaxsw.com>
Date: Wed Jan 8 19:41:59 2025 -0700
vcd debug
Signed-off-by: James Cherry <cherry@parallaxsw.com>
commit 652736654b853d1f7fb64545c6a48500e1e3b83f
Author: James Cherry <cherry@parallaxsw.com>
Date: Wed Jan 8 19:17:06 2025 -0700
vcd bus support
Signed-off-by: James Cherry <cherry@parallaxsw.com>
commit 03c877512d92b0148fd62cbc636da58ef6fb25ff
Author: James Cherry <cherry@parallaxsw.com>
Date: Wed Jan 8 19:11:21 2025 -0700
vcd
Signed-off-by: James Cherry <cherry@parallaxsw.com>
commit 53bbd97a28d619ca87a546f34a3643c227b9df78
Author: James Cherry <cherry@parallaxsw.com>
Date: Wed Jan 8 16:02:47 2025 -0700
rm Vcd structs, ReadVcdActivities -> VcdReader
Signed-off-by: James Cherry <cherry@parallaxsw.com>
commit 745efff41221c3b06ba19931e4f8a58e5b0758ae
Author: James Cherry <cherry@parallaxsw.com>
Date: Wed Jan 8 15:46:49 2025 -0700
vcd skip hpins
Signed-off-by: James Cherry <cherry@parallaxsw.com>
commit a9a6177e8b671f0619809611984ed16f2d1a5b7a
Author: James Cherry <cherry@parallaxsw.com>
Date: Wed Jan 8 15:39:41 2025 -0700
ReadVcdActivies rm vcd_
Signed-off-by: James Cherry <cherry@parallaxsw.com>
commit 8b51b13b02c257d10385312d246e0da1f11b72f2
Author: James Cherry <cherry@parallaxsw.com>
Date: Wed Jan 8 15:28:31 2025 -0700
power_vcd1 passes
Signed-off-by: James Cherry <cherry@parallaxsw.com>
commit 744669797d1a4189c417d9d2f359cbd1f5bc7113
Author: James Cherry <cherry@parallaxsw.com>
Date: Wed Jan 8 10:16:35 2025 -0700
vcd
Signed-off-by: James Cherry <cherry@parallaxsw.com>
commit 0f0aeac1cd8349302b758ce4b79fd753063565f2
Author: James Cherry <cherry@parallaxsw.com>
Date: Mon Jan 6 16:20:13 2025 -0800
vcd reader
Signed-off-by: James Cherry <cherry@parallaxsw.com>
commit 01d296ce9b3ad8ac7e6dddf28a41a718b4138869
Author: James Cherry <cherry@parallaxsw.com>
Date: Sun Jan 5 16:08:41 2025 -0800
vcd rm max_var_width
Signed-off-by: James Cherry <cherry@parallaxsw.com>
commit 9ffdb19074e5c38464b88ead0ec751ae7d3c506c
Author: James Cherry <cherry@parallaxsw.com>
Date: Sun Jan 5 16:03:06 2025 -0800
vcd rm max_var_name_length_
Signed-off-by: James Cherry <cherry@parallaxsw.com>
commit 5c577143d4a166bd133a9d97d1761b52b8e122dd
Author: James Cherry <cherry@parallaxsw.com>
Date: Sun Jan 5 15:58:29 2025 -0800
ReadVcdActivities isa VcdReader
Signed-off-by: James Cherry <cherry@parallaxsw.com>
commit 6914405d0799b967a92634fe1aa251aaea4cdfbc
Author: James Cherry <cherry@parallaxsw.com>
Date: Sat Jan 4 17:24:57 2025 -0800
vcd parse rm StaState dependence
Signed-off-by: James Cherry <cherry@parallaxsw.com>
commit a0bd7aa5eee2e87c883776bf4840d117335e4a8b
Author: James Cherry <cherry@parallaxsw.com>
Date: Sat Jan 4 16:41:55 2025 -0800
vcd headers
Signed-off-by: James Cherry <cherry@parallaxsw.com>
commit 4842d19d7a5c47d6ee46f297cb9404ab77fe2662
Author: James Cherry <cherry@parallaxsw.com>
Date: Sat Jan 4 15:59:46 2025 -0800
refactor vcd parser
Signed-off-by: James Cherry <cherry@parallaxsw.com>
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-15 16:20:21 -07:00
Akash Levy
9c24e1a757
Ignore CCSN groups ( #176 )
2025-01-15 09:35:40 -08:00
James Cherry
7c2da8ab3d
report_json1/2.tcl rm redirection
...
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-15 09:24:53 -07:00
Akash Levy
44e7316da1
Add {`instance`, `cell`, `verilog_src`, `pin`, `net`, `hier_pins`, `capacitance`} fields to `report_checks -format json` for paths ( #135 )
...
* Add {`inst`, `cell`, `src`, `nets`} to `report_checks -format json`
* Smallfix
* Improved nets
* Race condition fix
* Fixes
* Small whitespace fix
* Add no paths corner case stuff
* Adjustments to naming of fields
* Requested fixes
* Reintroduce escapeBackslashes, use stringCopy to prevent stack memory warning
* Fix escapeBackslashes to use preferred style
* No backslash escaping
* Make requested fixes
2025-01-13 19:28:04 -08:00
James Cherry
c6ea49bd2d
docker valgrind
...
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-11 10:04:11 -07:00
Akash Levy
adfafa9b10
Fix for non-standard latches ( #151 )
...
* latch_3port
* Smallfixes
* Review amendments
* Smallfix
* Add comments to describe cases
2024-12-19 15:02:03 -08:00
Akash Levy
70d52c2fe0
Make `is_memory` property more sensitive for cells and libcells by also matching on `memory` groups ( #129 )
...
* Add `has_memory` property
* Whitespace fixes
* Remove unused argument name
* Review fixes
* Move gf180mcu_sram.lib.gz from examples/ to test/
* Fix tcl script
* Switch to is_memory
* Remove is_memory_cell
2024-11-20 15:10:12 -08:00
Akash Levy
7def9a256e
Add `-of_objects` key to `get_lib_pins` ( #128 )
2024-11-16 14:05:34 -08:00
James Cherry
bb0fb8fbbe
regression valgrind
...
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2024-11-09 14:51:28 -08:00
James Cherry
900c762ddb
regression cleanup .run files
...
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2024-10-19 16:11:18 -07:00
Akash Levy
61fefed647
Add `src_attr` field ( #108 )
2024-10-15 17:28:52 -07:00
Ethan Mahintorabi
8a46208c4d
Fixes constant integer verilog parsing
...
Fixes parsing attributes of the form
```systemverilog
(* bottom_bound = 1'sh0 *)
sky130_fd_sc_hd__dfrtp_1 _1415_ (
.CLK(clk),
.D(in),
.Q(out),
.RESET_B(reset)
);
```
In particular "supporting" the signed indicator.
Co-authored-by: Mike Inouye <mikeinouye@google.com>
Signed-off-by: Ethan Mahintorabi <ethanmoon@google.com>
2024-10-08 20:40:07 +00:00
James Cherry
b04def2de0
compress example liberty files
...
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2024-10-05 18:12:23 -07:00
Akash Levy
36f13a2d3e
Revisions
2024-09-24 21:20:10 -07:00
Akash Levy
3c98be53e4
Add ok file for get_noargs_objrefs
2024-09-21 18:51:53 -07:00
Akash Levy
a31a67b7df
Allow SDC `get_*` with 0 args and on object references
2024-09-21 18:51:11 -07:00
Akash Levy
4f62e54542
Follow testing guidelines and specify unateness
2024-09-13 00:57:41 -07:00
Akash Levy
28177e93f7
Merge branch 'parallaxsw:master' into libarcs_smallfix
2024-09-13 00:41:49 -07:00
Akash Levy
9c7cfb4efb
Use report_edges instead
2024-09-12 18:15:17 -07:00
Akash Levy
13e1dd395a
Update docs and make tests self-descriptive
2024-09-12 11:02:12 -07:00
Akash Levy
f77647a3e8
Smallfix to get tests consistently passing in regression
2024-09-09 20:16:26 -07:00
Akash Levy
5120bb98e1
Allow boolean attributes to be used in `get_* -filter` expressions without comparison
2024-08-19 15:02:42 -07:00
Akash Levy
93005762b3
Use asap7_small lib for speed
2024-08-12 20:50:21 -07:00
Akash Levy
ed1bab9d6c
Merge branch 'parallaxsw:master' into master
2024-08-12 20:45:29 -07:00
James Cherry
b59b963c6a
test/asap7_small.lib.gz
...
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2024-08-12 20:32:42 -07:00
Akash Levy
6bfe592d87
Revisions
2024-08-12 20:16:49 -07:00
Akash Levy
175f68584f
Revisions based on feedback
2024-08-12 19:40:49 -07:00
Akash Levy
992b3d1703
Add tests and fixes to get tests passing
2024-08-12 04:08:19 -07:00
Akash Levy
f5284ca53d
Rename files as requested
2024-08-01 21:14:48 -07:00
Akash Levy
17a2a240cc
Improve test case clarity
2024-07-31 21:12:00 -07:00
Akash Levy
504ccb97eb
One-to-one mismatched widths: partial timing arc creation
2024-07-31 20:48:36 -07:00
James Cherry
93b13c0533
rm ccs_sim dcalc
...
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2024-07-24 09:04:08 -07:00
James Cherry
40f8453dc3
prima delay calc
...
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2024-06-30 14:44:31 -07:00