Commit Graph

62 Commits

Author SHA1 Message Date
Henner Zeller
5477201f3b Use absl::Mutex instead of std::mutex in most places.
absl::Mutex is generally optimized to reduce overhead and
minimized congestion, often it can avoid system calls.

In 'most places', as src/sta has to be dealt with
in the context of that repo.

Signed-off-by: Henner Zeller <h.zeller@acm.org>
2026-02-19 09:07:52 -08:00
Osama
09d5694af6 Merge remote-tracking branch 'origin/master' into odb-read-def-update 2025-09-10 15:17:22 +03:00
osamahammad21
21cfad6676 1- remove child and tech from readDef API
2- move dbTech from dbBlock to dbChip.
3- Update dbChip and dbBlock creation APIs.
4- Update Tcl scripts and tests to reflect these changes.

Signed-off-by: osamahammad21 <osama21@aucegypt.edu>
2025-09-04 23:15:20 +03:00
Matt Liberty
aad2e4db59 exa: add an example tool skeleton
For users who wish to add their own code to OpenROAD the exa module acts
as an example with

- Tcl & Python APIs with unit tests
- Debug graphics

Signed-off-by: Matt Liberty <mliberty@precisioninno.com>
2025-06-02 21:21:06 +00:00
Osama
191d391e01 remove dpo remainings
Signed-off-by: Osama <osama21@aucegypt.edu>
2025-04-21 17:46:46 +02:00
Osama
25e116c1c0 dpl: builds successfully without dpo exposure yet
Signed-off-by: Osama <osama21@aucegypt.edu>
2025-04-20 13:36:44 +02:00
Matt Liberty
9b959ab15f Various: start converting to the new license format
Signed-off-by: Matt Liberty <mliberty@precisioninno.com>
2025-04-05 06:55:44 +00:00
Krzysztof Bieganski
cbb9e28df0 cgt: Clock gating
Signed-off-by: Krzysztof Bieganski <kbieganski@antmicro.com>
2025-03-28 14:04:15 +01:00
Matt Liberty
4f5ab70fcf Rename mpl2 to mpl throughout the code/tests
Signed-off-by: Matt Liberty <mliberty@precisioninno.com>
2025-01-27 18:38:18 +00:00
Matt Liberty
fd3688e563 Merge branch 'master' into rm-old-mpl
Signed-off-by: Matt Liberty <mliberty@precisioninno.com>
2025-01-24 06:12:03 +00:00
Matt Liberty
de5d4af05e Add HeaderFilterRegex to .clang-tidy and start cleanup
Include all tool headers except sta

Signed-off-by: Matt Liberty <mliberty@precisioninno.com>
2024-11-05 16:35:57 +00:00
Matt Liberty
a03adf0733 mpl: RIP TritonMacroPlace (mpl)
Replaced by Hierarchical RTL-MPL (mpl2; to be renamed mpl)

Signed-off-by: Matt Liberty <mliberty@precisioninno.com>
2024-10-29 13:18:22 +00:00
Matt Liberty
9fb303e154 Allow more than one Design object to be used
This allow more than one Design object to be used by a custom application.
This is supported through the Python API as well.  Ordinary OpenRoad
usage will still have a single design.

Signed-off-by: Matt Liberty <mliberty@precisioninno.com>
2024-10-28 22:14:25 +00:00
vgopal18
3f16cb3384 Added API isInClock to check if an iterm connected to clock
Signed-off-by: vgopal18 <vgopal18@en4226528ul.eng.asu.edu>
2024-10-04 09:15:28 -07:00
Matt Liberty
b6c4933a23 ord: add Design (read|write)Db methods that work on streams
Signed-off-by: Matt Liberty <mliberty@precisioninno.com>
2024-09-03 01:54:01 +00:00
Matt Liberty
6f7b73dd13 Add Design.createDetachedDb for use cases requiring multiple dbDatabases
See discussion in #4743

Signed-off-by: Matt Liberty <mliberty@precisioninno.com>
2024-03-07 15:49:18 -08:00
Matt Liberty
a13e02ad73 drt: rename fr -> drt
Signed-off-by: Matt Liberty <mliberty@precisioninno.com>
2024-02-29 23:38:29 -08:00
Matt Liberty
d54c309cfd drt: clang-tidy
Signed-off-by: Matt Liberty <mliberty@precisioninno.com>
2024-02-29 23:01:58 -08:00
VidyaChhabria
bdb9163375 Properly allocating deisgn and timing APIs
Signed-off-by: VidyaChhabria <chhab011@umn.edu>
2024-01-05 09:29:36 -08:00
VidyaChhabria
f299bd2fe1 Adding support for slack and capacitance
Signed-off-by: VidyaChhabria <chhab011@umn.edu>
2024-01-03 06:21:02 +05:30
VidyaChhabria
904275e243 Partial cleanup of Timing APIs
Signed-off-by: VidyaChhabria <chhab011@umn.edu>
2024-01-02 09:24:08 -08:00
VidyaChhabria
b2748dcb52 Refactoring and adding new python timing APIs
Signed-off-by: VidyaChhabria <chhab011@umn.edu>
2023-12-25 07:08:59 -08:00
Luke Martin
49e1366be6 I added is endpoint to this branch, it was implemented the exact same way as isStartpoint
Signed-off-by: Luke Martin <lmarti83@asu.edu>
2023-12-10 13:38:18 -08:00
Luke Martin
683bcb910e I added an API for python the checks if a pin is a startpoint
Signed-off-by: Luke Martin <lmarti83@asu.edu>
2023-12-09 14:15:07 -08:00
Luke Martin
05f86ac8c8 I added getPinSlew to the python API as well as a test to confirm the results of the API
Signed-off-by: Luke Martin <lmarti83@asu.edu>
2023-12-08 11:37:28 -08:00
Luke Martin
656268bb01 Changed formating around how verticies are transfered between function calls
Signed-off-by: Luke Martin <lmarti83@asu.edu>
2023-12-08 09:11:13 -08:00
Luke Martin
dcc3ba5e6f Made some updates from the previous pull request
Signed-off-by: Luke Martin <lmarti83@asu.edu>
2023-12-02 11:06:33 -08:00
Luke Martin
95cead3f93 adding the get_pin_arr API
Signed-off-by: Luke Martin <lmarti83@asu.edu>
2023-12-02 11:06:33 -08:00
Ethan Mahintorabi
2bca7c6070 rsz: Fixes uninitialized variables in resizer.
Also fixes header inclusion problem.

Signed-off-by: Ethan Mahintorabi <ethanmoon@google.com>
2023-11-06 20:41:13 +00:00
VidyaChhabria
402b67b7b9 ord:Added power and buffer APIs to python
Signed-off-by: VidyaChhabria <chhab011@umn.edu>
2023-10-16 22:24:00 -07:00
VidyaChhabria
7cb0c0c175 ord: Some more timing APIs in python
Signed-off-by: VidyaChhabria <chhab011@umn.edu>
2023-10-16 22:23:59 -07:00
Matt Liberty
301d1ca297 ord: Some sample python timing APIs
Signed-off-by: Matt Liberty <mliberty@precisioninno.com>
2023-09-12 14:02:31 -07:00
Matt Liberty
1bf873159a gui: initial stab at hierarchical DEF display
Many refinements needed

Signed-off-by: Matt Liberty <mliberty@precisioninno.com>
2023-05-15 16:11:04 -07:00
Matt Liberty
1f5007a6f3 ord: clang-tidy
Signed-off-by: Matt Liberty <mliberty@precisioninno.com>
2023-03-29 22:00:26 -07:00
Peter Gadfort
c986a7d6b9 ord: add ICeWall to Design.h/cc
Signed-off-by: Peter Gadfort <gadfort@zeroasic.com>
2023-02-16 21:48:16 -05:00
Don MacMillen
6f461ba4c1 Python wrapper for pdn and core set of regression tests
Signed-off-by: Don MacMillen <don@macmillen.net>
2023-01-06 21:26:28 -08:00
Don MacMillen
4ebae2199f Python wrapper and changes for psm
Signed-off-by: Don MacMillen <don@macmillen.net>
2023-01-04 11:42:03 -08:00
Don MacMillen
997add4dfc Swig interface file for Python wrapping of stt and other necessary changes
Signed-off-by: Don MacMillen <don@macmillen.net>
2022-12-24 13:46:04 -08:00
Don MacMillen
c6f99f1e64 Python wrapper and regression tests for rmp
Signed-off-by: Don MacMillen <don@macmillen.net>
2022-12-22 16:50:16 -08:00
Don MacMillen
ca2001d378 Python wrapper and changes for rcx
Signed-off-by: Don MacMillen <don@macmillen.net>
2022-12-20 11:19:13 -08:00
Don MacMillen
967ef1d4ac Python wrapper and changes for partitioning (par)
Signed-off-by: Don MacMillen <don@macmillen.net>
2022-12-18 18:53:27 -08:00
Don MacMillen
887a4d9cf3 Added readDb to Design object. Removed timing from regression tests and removed sdc file
Signed-off-by: Don MacMillen <don@macmillen.net>
2022-12-17 17:09:31 -08:00
Don MacMillen
8c3594d340 Added Python wrapper for fin and also regression test
Signed-off-by: Don MacMillen <don@macmillen.net>
2022-12-16 22:09:49 -08:00
Don MacMillen
d8a069ab27 Add Python wrapper for dpo
Signed-off-by: Don MacMillen <don@macmillen.net>
2022-12-06 00:06:42 -08:00
Don MacMillen
24b841ac35 Python wrapper for drt and associated changes
Signed-off-by: Don MacMillen <don@macmillen.net>
2022-12-03 16:19:25 -08:00
Don MacMillen
63e46208db Python wrapper for cts
Signed-off-by: Don MacMillen <don@macmillen.net>
2022-11-17 15:02:14 -08:00
Don MacMillen
ac48d2ad2b Python wrapper for tap. Note: changed the internal enum member None to TapNone to avoid clash with Python
Signed-off-by: Don MacMillen <don@macmillen.net>
2022-11-14 22:47:21 -08:00
Don MacMillen
d262982bb1 SWIG -py.i file and updates for ppl python wrapper
Signed-off-by: Don MacMillen <don@macmillen.net>
2022-11-12 08:08:18 -08:00
Don MacMillen
39985fca06 Swig wrapper .i and code changes for mpl Python
Signed-off-by: Don MacMillen <don@macmillen.net>
2022-11-10 20:38:42 -08:00
Don MacMillen
91d690fefe Wrapper interface and code changes for Python wrap of dpl
Signed-off-by: Don MacMillen <don@macmillen.net>
2022-11-08 21:17:58 -08:00