Commit Graph

354 Commits

Author SHA1 Message Date
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
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
Robert O'Callahan d233581e16
Make `wire_load_tree_` default to unknown so we can detect when it's not present in a Liberty file. (#402)
This is potentially a behavior change, but I think omitting this is rare. I've only seen it in some DTCD Liberty files.
In those Liberty libraries, it seems to be expected that the Liberty data is valid for all `WireloadTree` types.
Thus it is necessary to distinguish between "wire load tree was specified as 'balanced'" and "wire load tree
was not specified".
2026-03-24 12:35:18 -07:00
James Cherry 464bc3ae4f Report use string instead of string_view
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-18 13:01:05 -07:00
James Cherry 90df0cfea5 LibertyScanner includes
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-18 12:15:57 -07:00
James Cherry 134b547501 use std::format squash 2026-03-16 15:01:38 -07:00
James Cherry d6e7b4256c lvf squish
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-13 14:06:35 -07: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
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
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
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
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
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 574379eb32
rm stray semicolon (#338)
Signed-off-by: Matt Liberty <mliberty@precisioninno.com>
2025-11-21 07:01:39 -08: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
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
James Cherry 351b8287a7 issue 322 revisited
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-11-06 12:34:53 -07:00
Matt Liberty 2412feec33
pad cells are not buffers or inverters (#294)
Signed-off-by: Matt Liberty <mliberty@precisioninno.com>
2025-09-08 17:04:21 -07:00
James Cherry b654fd48a8 read_liberty leak resolves ORFS#1184
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-08-20 16:00:33 -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
James Cherry 3620d7a259 liberty min_period timing group support resolves #275
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-07-27 18:12:26 -07:00