Commit Graph

2067 Commits

Author SHA1 Message Date
James Cherry 6bb888b218 stringFloat comment
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-04-03 11:25:33 -07:00
James Cherry e04f36b541 GraphDelayCalc::findInputArcDelay rm Slew
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-04-03 11:22:38 -07:00
James Cherry 5d40134239 ArnoldiDelayCalc rcmodel
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-04-03 11:22:38 -07: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
Mohamed Gaber a5921d1ca9
util/StringUtil.cc: feature-test std::from_chars (#415)
Support for std::{from,to}_chars isn't finalized in
libcxx as of the time of writing, see __cpp_lib_to_chars in
6331bfa41a/libcxx/docs/FeatureTestMacroTable.rst

This patch adds a fallback using strtof. There are two
differences:
* strtof is locale-dependent
* strtof tolerates leading spaces

Signed-off-by: Mohamed Gaber <me@donn.website>
2026-04-03 11:21:57 -07:00
Henner Zeller e8218f2db1
Tcl 9 compatibility changes (#414)
* Provide close2proc function to prevent tcl9 from crashing.

Tcl 9 does not test if the close2Proc function pointer is non-null,
but calls it unconditionally:
https://github.com/tcltk/tcl/blob/core-9-0-3/generic/tclIO.c#L384

So we need to provide a non-null function pointer for our code
to not crash with Tcl9.

Use the same implementation as the previous close channel
had.

Signed-off-by: Henner Zeller <h.zeller@acm.org>

* Use non-deprecated trace add variable syntax.

In modern tcl, `trace variable` is now i`trace add variable`,
and `"rw"` should be spelled out as `{read write}`
There were backwards compatible forms in Tcl 8.x but now loudly
complains in Tcl 9

Signed-off-by: Henner Zeller <h.zeller@acm.org>

* Use `Tcl_Size` for all tcl functions returning sizes.

This is the type the Tcl-API provides in its prototypes and
starting from Tcl9 this typedef actually changes from `int` to `long`,
so will no longer compile when passing an `int*`.

So whenever we get a return value of this type, use the
correct typedef to declare the variable. This makes it forward and
backward compatible.

Signed-off-by: Henner Zeller <h.zeller@acm.org>

* Address review comments: compare with `read`/`write` not `r`, `w`

Signed-off-by: Henner Zeller <h.zeller@acm.org>

---------

Signed-off-by: Henner Zeller <h.zeller@acm.org>
2026-04-03 11:02:25 -07:00
Mike Inouye 4180288868
Add string_view header and sort includes in ContainerHelpers.hh (#413) 2026-04-02 15:59:01 -07:00
James Cherry 70659c2328 PathVisitor::visitFaninPaths filter check edges
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-31 21:03:55 -07:00
James Cherry 638ffa57d4 cleanup
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-31 16:45:47 -07:00
James Cherry 8c1ebce695 GraphDelayCalc::findInputDriverDelay rm finishDrvrPin
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-31 16:37:38 -07: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
James Cherry 1d4b516239 GraphDelayCalc::findInputArcDelay thread issue
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-31 13:59:59 -07:00
James Cherry 5955958564 findScaleFactorType, findScaleFactorPvt string_view
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-30 11:01:15 -07:00
James Cherry 538db6211f filter_objects via Akash Levy resolves #399 2026-03-30 09:36:21 -07:00
James Cherry 46472e0eed regresssion update failures/diffs
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-29 15:19:00 -07:00
James Cherry 5aa56bcfee cmake swig
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-29 11:23:26 -07:00
James Cherry 725a6e5e1c require cmake 3.16
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-29 10:56:45 -07:00
James Cherry 3d0b34e88c ReportPath::reportLine
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-29 09:58:06 -07: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 ad80dd55b3 cmake show swig version
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-28 19:46:57 -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 c38762185c StaConfig.hh pass HAVE_CXX_STD_FORMAT
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-24 12:22:20 -07: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
James Cherry 3ec34c571e Only install fmt if std::format is not available
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-24 10:21:44 -07:00
James Cherry 04f4528c2c ccs ceff pocv
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-22 19:34:59 -07:00
James Cherry ed19ed80df power fmt
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-22 19:34:51 -07:00
James Cherry 7b0281014e regression usage
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-22 10:13:57 -07:00
James Cherry 420519c5d9 write_path_spice
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-21 12:32:10 -07:00
James Cherry bacb61feaa regression -j
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-21 10:18:55 -07:00
James Cherry d90bf7d93b rename Report virtuals to warnMsg etc
This reverts commit 2ed1c2c06b.

Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-20 10:14:57 -07:00
James Cherry 2ed1c2c06b report json
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-20 09:11:39 -07:00
James Cherry 07c7eeb624 Report::warn etc virtuals
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-20 09:05:07 -07:00
James Cherry 73c2cca24c delayAsString
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-18 16:33:15 -07:00
James Cherry 0b491ce190 Delay float coercion for non-ssta applications
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-18 16:12:04 -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 61b2a4b2c3 indent
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-16 16:29:10 -07:00
James Cherry 5a1b4cb74b sta::format
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-16 15:01:38 -07:00
James Cherry 134b547501 use std::format squash 2026-03-16 15:01:38 -07:00
James Cherry 5fbd2a18b5 Graph::slew/arcDelay rm static
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-16 14:53:02 -07:00
James Cherry fbd171019a PathEnd::copy use copy constructors
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-15 14:29:58 -07:00
James Cherry 464d4047ad PathGroup revert f1b33edd9
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-15 08:33:49 -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 0a5b95a523 CcsCeffDelayCalc::loadDelaySlew
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-13 10:19:07 -07:00
James Cherry 818596f25a LumpedCapDelayCalc::makeResult resolves #403
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-12 15:53:10 -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 0703d8ef40 README
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-11 08:22:26 -07:00