Commit Graph

502 Commits

Author SHA1 Message Date
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 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
James Cherry c9d78679a6 search save/delete enumbed paths
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-12-02 14:50:41 -08:00
James Cherry 14893099ed replace_cell w/spef memory issue
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-12-02 14:29:55 -08:00
James Cherry a88895d65c make postpone_latch_outputs_ private
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-12-02 14:29:33 -08:00
James Cherry b65e8dd9d7 latch crpr orfs resolves orfs1368 eagle20251126
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-12-02 08:32:06 -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 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 2fc4ece17f rm Sta:findGroupPathPins
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-11-08 18:42:41 -07:00
James Cherry 82a37d0777 sdc ExceptionPathSet*->ExceptionPathSet
commit 277de17b34f4b36b9c889f883872c604b39a7558
Author: James Cherry <cherry@parallaxsw.com>
Date:   Sat Nov 8 12:53:22 2025 -0700

    ExceptionPathSet Set -> std::set

    Signed-off-by: James Cherry <cherry@parallaxsw.com>

commit ce9afb6d29a5532b9b5fdadcdaf48aeaf1ba9c99
Author: James Cherry <cherry@parallaxsw.com>
Date:   Sat Nov 8 12:17:01 2025 -0700

    ExceptionPathSet*->ExceptionPathSet

    Signed-off-by: James Cherry <cherry@parallaxsw.com>

Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-11-08 13:38:07 -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 845729ad9f restore Search::makePathGroups
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-11-06 16:46:05 -07:00
James Cherry 10a3cdc4d1 Exception::delete* hash update resolves #325
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-11-04 16:57:28 -07:00
James Cherry 97b711c7c4 report -unique_edges_to_endpoint
commit d8bb65d6e87cf95b3eada82b315351867b50fa01
Author: James Cherry <cherry@parallaxsw.com>
Date:   Tue Nov 4 12:25:56 2025 -0700

    report -unique_edges_to_endpoint doc

    Signed-off-by: James Cherry <cherry@parallaxsw.com>

commit 2979eda02f4f2fb38da4a5df9e9ece0d00951b6f
Author: James Cherry <cherry@parallaxsw.com>
Date:   Mon Nov 3 11:51:02 2025 -0700

    redirect report_check_types

    Signed-off-by: James Cherry <cherry@parallaxsw.com>

commit 55960d4a63a999fc08f311c53fb053e4d54d1029
Author: James Cherry <cherry@parallaxsw.com>
Date:   Mon Nov 3 11:28:15 2025 -0700

    report -unique_edges_to_endpoint

    Signed-off-by: James Cherry <cherry@parallaxsw.com>

commit 8c56b5c2c08f546fee02e017a87cd94480dbabfc
Author: James Cherry <cherry@parallaxsw.com>
Date:   Sun Nov 2 16:05:28 2025 -0700

    PathEnum cleanup

    Signed-off-by: James Cherry <cherry@parallaxsw.com>

commit c02b96a9c7b6e7c9ce99ee76a211f365bcda7428
Author: James Cherry <cherry@parallaxsw.com>
Date:   Sun Nov 2 11:16:34 2025 -0700

    PathEnum cleanup

    Signed-off-by: James Cherry <cherry@parallaxsw.com>

Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-11-04 12:30:55 -07:00
James Cherry f6523bd9c6 rm unique_ptr, default args
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-11-04 09:45:20 -07:00
Drew Lewis 423c12c8f9
Add local tag caches to PathVisitors (#316)
* Add tag caches to PathVisitor and Search for visit_parallel

Signed-off-by: Drew Lewis <cannada@google.com>

* Apply clang-format

* Update to avoid Search storing caches and touching Bfs.cc

Signed-off-by: Drew Lewis <cannada@google.com>

* Update to avoid Search storing caches and touching Bfs.cc

Signed-off-by: Drew Lewis <cannada@google.com>

* Fixed long lines and moved nullptr assignment to constructors

Signed-off-by: Drew Lewis <cannada@google.com>

---------

Signed-off-by: Drew Lewis <cannada@google.com>
2025-11-03 15:53:17 -08:00
James Cherry 5b312ee084 rm disconnected pin from exceptions resolves #318
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-10-31 10:36:57 -07:00
James Cherry 98d801d7a6 report paths in multiple matching groups resolves ascenium #145
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-10-30 08:53:36 -07:00
James Cherry 8fb0cc305d Sta::endpointSlack
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-10-25 11:44:23 -07:00
James Cherry 525c2efb3d Sta::endpointSlack
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-10-25 10:02:34 -07:00
James Cherry 6e29fcb3f0 findRequired(vertex) rm crpr disable
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-10-24 08:47:07 -07:00
Henner Zeller 745ee606f9
Mark choice of delay implementation with IWYU export pragma. (#300)
The Delay header is meant to provide the Delay implementation
to whoever is including it; it chooses the right implementation
via an include which this PR marks as providing a symbol that is
to be exported.

Without that annotation, tools such as `clang-tidy` or the `clangd` language server (as well as many other tools) will complain about headers not directly providing a symbol if users just include Delay.hh; With this annotation, they know.

Documentation about these IWYU pragmas:
https://clangd.llvm.org/design/include-cleaner#iwyu-pragmas
https://github.com/include-what-you-use/include-what-you-use/blob/master/docs/IWYUPragmas.md#iwyu-pragma-begin_exportsend_exports

Signed-off-by: Henner Zeller <h.zeller@acm.org>
2025-10-04 08:50:11 -07:00
James Cherry f18df8a1a2 Edge::arcDelayAnnotateBit resolves issue #299
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-09-18 15:48:37 -07:00
Mike Inouye cf060169aa
Add PropertyRegistry for Clock. (#298)
* Add PropertyRegistry for Clock.

Signed-off-by: Mike Inouye <mikeinouye@google.com>

* Remove extra blank line.

---------

Signed-off-by: Mike Inouye <mikeinouye@google.com>
2025-09-17 14:19:22 -07:00
James Cherry 17cf87b4c6 Tag::clkInfo const
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-09-16 15:30:16 -07:00
James Cherry 84989688b7 ClkInfo, Tag cmp
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-09-16 13:53:16 -07:00
James Cherry 9f9ad0b4ab clkInfoCmp, tagCmp
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-09-14 11:43:59 -07:00
James Cherry ab39366f7b tagStateCmp use +exceptionStateLess
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-09-12 09:10:03 -07:00
James Cherry 30c8230f68 tag group ref count w/threads
commit d7e45e73e7b3a5b9b3b00eeaaff6c5608fd15a44
Author: James Cherry <cherry@parallaxsw.com>
Date:   Fri Sep 12 08:41:14 2025 -0700

    tag group ref count w/threads

    Signed-off-by: James Cherry <cherry@parallaxsw.com>

Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-09-12 08:50:58 -07:00
James Cherry dcbaaf4c05 ExpandedExceptionVisitor
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-09-07 15:22:06 -07:00
James Cherry 2163a5c6b9 parallel dcalc with diff arc counts resolves #288
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-09-06 14:43:01 -07:00
James Cherry 5d02db77d7 rm Search::checkDefaultArrivalPaths
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-09-05 15:52:19 -07:00
James Cherry 774c3c68f1 setVertexArrivals use tag_group_lock
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-09-04 18:36:18 -07:00
James Cherry e4a1ebf00e TaGGroup refcount to reclaim memory
commit cd7169f99ab8b67323c444d4c22d065487e439c1
Author: James Cherry <cherry@parallaxsw.com>
Date:   Sun Aug 31 16:02:03 2025 -0700

    reportArrivals report_tag_index

    Signed-off-by: James Cherry <cherry@parallaxsw.com>

commit 658f842a776bb43eef7dbfd9a08e191c31fb9f11
Author: James Cherry <cherry@parallaxsw.com>
Date:   Mon Aug 25 16:20:50 2025 -0700

    tag group ref count

    Signed-off-by: James Cherry <cherry@parallaxsw.com>

Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-09-03 15:05:14 -07:00
James Cherry 0cd16e504a set_max_delay -from pos_latch -to neg_latch (eagle 20250808)
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-08-12 18:08:01 -07:00
James Cherry 88c7779680 BfsIterator after delete vertex
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-08-01 17:06:43 -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
James Cherry 0d7c89f544 cp liberty bus properties to bit ports resolves #273
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-07-21 14:35:53 -07:00
Matt Liberty 06f94cafd8
Add a less operator to BddPortVarMap (#258)
bdd_port_var_map_, of type BddPortVarMap, is iterated over in
Power::evalBddActivity.  Previously the map used pointer comparison so
the iteration order was non-deterministic.  The computed density was
therefore non-deterministic due to the non-associativity of
floating-point addition.

Signed-off-by: Matt Liberty <mliberty@precisioninno.com>
2025-07-13 10:59:51 -07:00
James Cherry 5e4ce2fd23 replace_cell equiv funcs, diff arcs resolves #267
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-07-09 11:50:36 -07:00
James Cherry cda30445d6 rm Sta::setMinLibrary
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-07-04 17:39:10 -07:00
James Cherry 1c45b89879 set_min/max_delay illegal endpoint warning
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-07-04 16:43:21 -07:00
James Cherry 606c666180 set_min/max_delay -from reg/D startpoint warning resolves #265
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-07-03 17:08:44 -07:00
James Cherry 1c09954518 rm path->prevPath()->isNull calls
commit d875f1e37d0eca17dca792a96dd651e965a09017
Author: James Cherry <cherry@parallaxsw.com>
Date:   Wed Jul 2 08:28:06 2025 -0700

    genclk24 leak

    Signed-off-by: James Cherry <cherry@parallaxsw.com>

commit dee92af8bbe572beeb094dcd842e0fee8c5eb60a
Author: James Cherry <cherry@parallaxsw.com>
Date:   Tue Jul 1 16:04:15 2025 -0700

    Search::arrivalsChanged

    Signed-off-by: James Cherry <cherry@parallaxsw.com>

commit 452a5ebef5b30cecdf7524768c41a16c4ad60515
Author: James Cherry <cherry@parallaxsw.com>
Date:   Sat Jun 28 10:06:55 2025 -0700

    genclks clear src paths

    Signed-off-by: James Cherry <cherry@parallaxsw.com>

commit 14604541233354abb4397a1ecbcf268116a1fd80
Author: James Cherry <cherry@parallaxsw.com>
Date:   Fri Jun 27 10:28:04 2025 -0700

    checkPrevPaths

    Signed-off-by: James Cherry <cherry@parallaxsw.com>

commit 5e6ae73a40c33a27211dd693ae0f4f75d42d17f3
Author: James Cherry <cherry@parallaxsw.com>
Date:   Thu Jun 26 10:09:39 2025 -0700

    Path::prev_path

    Signed-off-by: James Cherry <cherry@parallaxsw.com>

Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-07-02 08:32:04 -07:00
James Cherry a6ec2b5871 unset_power_activity resolves #253
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-06-25 07:56:26 -07:00
James Cherry f8e287caf4 Properties::defineProperty
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-06-21 14:27:05 -07:00
James Cherry f3b785361d equiv cells only require timing arc equivs missing functions
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-06-20 16:15:54 -07:00