Skip to content

Commit 7de1af5

Browse files
committed
Merge remote-tracking branch 'private/master' into secure-gpl-log-less-misterious
2 parents d879c2b + 2130847 commit 7de1af5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

74 files changed

+5708
-570
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@ perf.data.old
8787
# documentation specific
8888
docs/main
8989
docs/build
90-
GitGuide.md
9190
SupportedOS.md
9291
index2.md
9392
Manpage.md

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ Document for detailed local build from sources and installation steps found [her
9090
individual flows commands, see the documentation
9191
[here](https://openroad.readthedocs.io/en/latest/).
9292
- For details about automated flow setup, see ORFS docs
93-
[here](https://openroad-flow-scripts.readthedocs.io/en/latest/user/GettingStarted.html).
93+
[here](https://openroad-flow-scripts.readthedocs.io/en/latest/index2.html#getting-started-with-openroad-flow-scripts).
9494
- Flow tutorial to run the complete OpenROAD based flow from
9595
RTL-GDSII, see the tutorial
9696
[here](https://openroad-flow-scripts.readthedocs.io/en/latest/tutorials/FlowTutorial.html).

docs/contrib/GitGuide.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Git Quickstart
2+
3+
If you have reached this file on GitHub - please refer to this [link](https://openroad-flow-scripts.readthedocs.io/en/latest/contrib/GitGuide.html) for latest documentation.

docs/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ You can select a design using either of the following methods:
111111
2. Specify the design using the shell environment. For example:
112112

113113
```shell
114+
# Make sure you are in ./flow
114115
make DESIGN_CONFIG=./designs/nangate45/swerv/config.mk
115116
# or
116117
export DESIGN_CONFIG=./designs/nangate45/swerv/config.mk

docs/tutorials/FlowTutorial.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -829,7 +829,7 @@ The `gcd` design synthesis results for area and speed optimizations are shown be
829829
|-----------------------|--------------------------------------|--------------------------------------|
830830
| `Number of wires` | 224 | 224 |
831831
| `Number of wire bits` | 270 | 270 |
832-
[O| `Number of cells` | 234 | 234 |
832+
| `Number of cells` | 234 | 234 |
833833
| `Chip area` | 2083.248000 | 2083.248000 |
834834
| `Final Design Area` | Design area 4295 u^2 6% utilization. | Design area 4074 u^2 6% utilization. |
835835

docs/user/BuildLocally.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,40 @@ Set up environment variables using `dev_env.sh`, then start Visual Studio Code.
5353
. ./dev_env.sh
5454
code tools/OpenROAD/
5555
```
56+
57+
## Build OpenROAD and run a few ORFS flows with Bazel
58+
59+
Local use case:
60+
61+
- Install Bazelisk and no other dependencies, no need to run `sudo ./setup.sh`
62+
- Modify & build OpenROAD
63+
- Test built OpenROAD with a few ORFS flows
64+
65+
The Bazel support in OpenROAD and ORFS is work in progress and some Bazel experience is recommended before going spelunking in the Bazel builds.
66+
67+
Contributions welcome!
68+
69+
To build `designs/asap7/gcd:gcd_floorplan`:
70+
71+
cd flow
72+
(cd ../tools/OpenROAD && bazel build :openroad -c opt) && bazelisk build designs/asap7/gcd:gcd_floorplan
73+
74+
Or to run all flows currently available in Bazel
75+
76+
cd flow
77+
(cd ../tools/OpenROAD && bazel build :openroad -c opt) && bazelisk build ...
78+
79+
Note! ORFS uses the OpenROAD Bazel built binary in stop-gap way until OpenROAD has been switched to bzlmod, after which to build all flows becomes simpler as ORFS will build the requisite OpenROAD directly:
80+
81+
cd flow
82+
bazelisk build ...
83+
84+
ORFS uses [bazel-orfs](https://github.com/The-OpenROAD-Project/bazel-orfs) to implement the flow and gets some depedencies, like yosys, from the Docker image. Over time, all dependencies should be built with Bazel and the dependency on the ORFS Docker image will be phased out.
85+
86+
### Upgrading MODULE.bazel with the latest bazel-orfs and ORFS Docker image
87+
88+
Run:
89+
90+
bazelisk run @bazel-orfs//:bump
91+
92+
Then commit MODULE.bazel and MODULE.bazel.lock.

docs/user/FlowVariables.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -235,8 +235,6 @@ configuration file.
235235
- [FLOORPLAN_DEF](#FLOORPLAN_DEF)
236236
- [HOLD_SLACK_MARGIN](#HOLD_SLACK_MARGIN)
237237
- [IO_CONSTRAINTS](#IO_CONSTRAINTS)
238-
- [IO_PLACER_H](#IO_PLACER_H)
239-
- [IO_PLACER_V](#IO_PLACER_V)
240238
- [MACRO_BLOCKAGE_HALO](#MACRO_BLOCKAGE_HALO)
241239
- [MACRO_PLACEMENT](#MACRO_PLACEMENT)
242240
- [MACRO_PLACEMENT_TCL](#MACRO_PLACEMENT_TCL)
@@ -249,7 +247,6 @@ configuration file.
249247
- [PDN_TCL](#PDN_TCL)
250248
- [PLACE_DENSITY](#PLACE_DENSITY)
251249
- [PLACE_DENSITY_LB_ADDON](#PLACE_DENSITY_LB_ADDON)
252-
- [PLACE_PINS_ARGS](#PLACE_PINS_ARGS)
253250
- [PLACE_SITE](#PLACE_SITE)
254251
- [REMOVE_ABC_BUFFERS](#REMOVE_ABC_BUFFERS)
255252
- [RESYNTH_AREA_RECOVER](#RESYNTH_AREA_RECOVER)

flow/.bazelrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
build --incompatible_strict_action_env
2-
try-import %workspace%/.user-bazelrc
2+
try-import %workspace%/user.bazelrc

flow/.bazelversion

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7.5.0
1+
7.6.0

flow/.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ settings.mk
22
vars.sh
33
vars.gdb
44
vars.tcl
5-
.user-bazelrc
5+
user.bazelrc
66
bazel-*

0 commit comments

Comments
 (0)