Commit Graph

468 Commits

Author SHA1 Message Date
Jay Patel 50f83fee04
Merge 88fa9bb0a4 into 14751996b1 2026-05-29 04:05:30 -03:00
dsengupta0628 85f3840898 latest changes 5/14 including generalize path report field and expose levelizObserver for dbsta
Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>
2026-05-14 17:01:51 +00:00
JayPankajPatel 88fa9bb0a4 Fix bit_width calculation for ascending bus ranges in writeBusDcls
std::abs(from - to + 1) gives the wrong result when from < to
(ascending ranges, e.g. [0:10]): abs(0 - 10 + 1) = 9 instead of 11.

Moving +1 outside abs fixes both ascending and descending ranges:
  ascending  [0:10]:  abs(0  - 10) + 1 = 11 (correct)
  descending [10:0]:  abs(10 - 0)  + 1 = 11 (correct)

Fixes #360
2026-05-11 01:50:01 -07:00
James Cherry 8cbd400249 Liberty power_down_function parse resolves #428
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-05-08 10:10:21 -07:00
dsengupta0628 ae37dc6238 pickup changes from upstream, latest on 4/27
Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>
2026-04-27 18:45:35 +00:00
James Cherry c671b266fe tidy
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-04-20 15:02:24 -07:00
dsengupta0628 7fe56ccc08 update tests golden outputs and one cpp file to accomodate new changes in upstream OSTA. functionality remains the same
Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>
2026-04-20 15:05:37 +00:00
dsengupta0628 05b4e3a1d9 Latest pulled in changes on 4/20 from upstream to push all together with latest from 4/16
Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>
2026-04-20 14:21:16 +00:00
dsengupta0628 133e2d6f99 update tests to compile okay with new upstream codes
Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>
2026-04-20 13:35:44 +00:00
James Cherry 6c9af4a5fa LibertyPort::less
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-04-18 11:39:03 -07:00
James Cherry 668cfb26af makeSceneMap rm dup warnings
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-04-18 08:45:04 -07:00
James Cherry 6e7ec45bc8 rm extra swig module dcls
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-04-16 15:46:32 -07:00
dsengupta0628 9fbfcc4fcb picked changes from upstream master, resolved conflict for levelized driververtices, parseBus for weird defs
Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>
2026-04-16 21:37:37 +00:00
James Cherry 134cf2cab7 tidy
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-04-15 18:21:47 -07:00
James Cherry 63efee64bf tidy round1 2026-04-13 14:59:05 -07:00
dsengupta0628 d5925fcdcc changes from upstream 4/13 with prima delaycalc checkArgs refactor, some coverity fix but still problematic
Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>
2026-04-13 21:26:42 +00:00
dsengupta0628 097daeb3c5 address comment related to Coverity to simplify
Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>
2026-04-10 18:59:42 +00:00
James Cherry 6ef92c5fc0 LibertyPort::less
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-04-10 10:35:36 -07:00
Mike Inouye d6268da88f
Consider multi-bit flops as having sequentials. (#419) 2026-04-10 10:28:01 -07:00
dsengupta0628 5878d2594d Dont update the swig as we are not adding any TCL regression so not needed
Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>
2026-04-10 15:53:55 +00:00
dsengupta0628 44643b5733 fix state table mbff issue and coverity in this file
Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>
2026-04-10 15:44:30 +00:00
dsengupta0628 d7d732932a remove unnecessary files and update .gititnore
Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>
2026-04-08 00:28:53 +00:00
dsengupta0628 98835d8f20 update tests
Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>
2026-04-07 21:47:01 +00:00
dsengupta0628 371b85cd20 latest STA plus changes to fix prima dcalc and read_spef issues, TCL regression added
Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>
2026-04-07 20:48:15 +00:00
Deepashree Sengupta c887b2e4b3
Bias pin handling (#409)
* Update STA to exclude bias pins from timing graph and subsequently in write_verilog

Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>

* unnecessary space in orig verilog

Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>

* Update to use well supplies rather than bias pins

Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>

---------

Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>
2026-04-07 11:00:01 -07:00
dsengupta0628 3eec04f4e8 update STA to Parallaxsw version on 4/7 with fix for issue 416 and some unrelated stuff
Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>
2026-04-07 12:59:25 +00:00
Jaehyun Kim 52887aa6db Regolden test golden files to fix false diff_files mismatches
Update .libok/.txtok/.sdcok golden files to match current writer
output so diff_files produces "No differences found" instead of
silently reporting mismatches that were captured as expected output.

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Jaehyun Kim <jhkim@precisioninno.com>
2026-04-06 10:19:05 +09:00
dsengupta0628 fc7ac6c16c test/cpp changes
Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>
2026-04-05 00:18:45 +00:00
James Cherry f873c6520a Library/Cell name/filename args string_view
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-04-03 11:22:38 -07:00
Jaehyun Kim f192996a42 Update golden files for upstream bias_pins feature
Upstream added bias pin type recognition, changing VNB/VPB pin
direction from "unknown" to "bias" in liberty output. Update 9
golden .ok files to match.

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Jaehyun Kim <jhkim@precisioninno.com>
2026-04-02 12:42:08 +09:00
Jaehyun Kim a22112fe8f Merge remote-tracking branch 'origin/master' into secure-sta-test-by-opus
# Conflicts:
#	verilog/test/CMakeLists.txt

Signed-off-by: Jaehyun Kim <jhkim@precisioninno.com>
2026-04-02 12:30:18 +09:00
Jaehyun Kim ea22794652 Merge remote-tracking branch 'opensta/master' into secure-sta-test-by-opus
# Conflicts:
#	liberty/TableModel.cc

Signed-off-by: Jaehyun Kim <jhkim@precisioninno.com>
2026-04-02 12:21:14 +09:00
dsengupta0628 d47cbeb76b fix to exclude bias pins from timing graph
Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>
2026-04-02 00:56:38 +00:00
dsengupta0628 5e2d5e8ad5 pull latest master, has delay calc non-determinism fix
Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>
2026-04-02 00:49:47 +00:00
James Cherry 9eb9edb0b3 GateTableModel::gateDelay do not clip delays
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-31 14:20:50 -07:00
Jaehyun Kim 3ca78b11c8 Adapt test files to upstream API changes (string_view migration)
Update 16 test files to match upstream OpenSTA API refactoring:
- const char* → std::string/std::string_view across all test APIs
- EXPECT_STREQ → EXPECT_EQ for std::string/string_view returns
- nullptr → "" for string_view parameters (makeClock, makeClockGroups, etc.)
- PropertyValue("literal") → PropertyValue(std::string("literal")) to avoid
  bool constructor overload resolution
- Method renames: relatedGroundPin→relatedGroundPort,
  relatedPowerPin→relatedPowerPort, firstName→firstParam,
  secondName→secondParam
- Constructor changes: OperatingConditions (5-arg → 1-arg + setters),
  ModeDef::defineValue (3-arg → 1-arg + setSdfCond)
- LibertyAttrValue::floatValue returns std::pair<float,bool> now
- Filter API: separate args → single expression string + bool_props_as_int
- SDF version golden files: 3.0.1 → 3.1.0

All 6104 tests pass.

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Jaehyun Kim <jhkim@precisioninno.com>
2026-03-31 16:34:40 +09:00
Jaehyun Kim 069de0498c 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-31 15:27:01 +09:00
dsengupta0628 b5f647cb7f update test infra to accomodate std::string instead of const char*
Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>
2026-03-30 19:44:26 +00:00
James Cherry 5955958564 findScaleFactorType, findScaleFactorPvt string_view
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-30 11:01:15 -07:00
dsengupta0628 5f46ad3dfb Merge remote-tracking branch 'upstream/master' into sta_latest_merge_strings 2026-03-30 16:22:27 +00:00
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
James Cherry 1806e4aede StaTclTypes %include "std_string_view.i"
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-28 19:55:13 -07:00
James Cherry 614385fe51 Liberty unnecessary move
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-28 19:48:21 -07:00
James Cherry 6742692876 string squash
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-28 19:13:35 -07:00
dsengupta0628 616280e2f7 fix LibertyParser warnings
Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>
2026-03-27 01:10:10 +00:00
dsengupta0628 cb8851ef57 Do not clip negative delays just yet- needs more debug
Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>
2026-03-26 14:35:25 +00:00
dsengupta0628 4238a057dd combined latest osta
Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>
2026-03-25 20:03:03 +00:00
dsengupta0628 3f2c80a830 Merge branch 'master' into sta_update_upstream_lvf_stuff 2026-03-25 19:55:19 +00:00
dsengupta0628 3d5f1e8594 fix warnings
Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>
2026-03-25 14:48:15 +00:00
James Cherry b9e439f41c delay calc clip delay to 0.0 resolves #405
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-24 18:42:47 -07:00