Skip to content

Commit 77ba0c9

Browse files
committed
fix merge conflict
Signed-off-by: habibayassin <[email protected]>
2 parents 93a9eb4 + b102282 commit 77ba0c9

File tree

376 files changed

+135926
-30800
lines changed

Some content is hidden

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

376 files changed

+135926
-30800
lines changed

.github/workflows/github-actions-cron-test-installer.yml

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -51,31 +51,10 @@ jobs:
5151
./etc/DockerHelper.sh create -target=builder -os=${{ matrix.os }}
5252
- name: Test build
5353
run: |
54-
cmd="yosys -help; openroad -help; make -C flow;"
54+
cmd="source ./env.sh ; yosys -help ; openroad -help ; make -C flow ;"
5555
if [[ ${{ matrix.os }} == "centos7" ]]; then
5656
cmd="source /opt/rh/devtoolset-8/enable; ${cmd}"
5757
cmd="source /opt/rh/llvm-toolset-7.0/enable; ${cmd}"
5858
cmd="source /opt/rh/rh-python38/enable; ${cmd}"
5959
fi
6060
docker run openroad/flow-${{ matrix.os }}-builder /bin/bash -c "${cmd}"
61-
testInstaller-macos:
62-
strategy:
63-
fail-fast: false
64-
runs-on: macos-latest
65-
steps:
66-
- name: Setup xcode
67-
uses: maxim-lobanov/setup-xcode@v1
68-
with:
69-
xcode-version: latest-stable
70-
- name: Check out repository code
71-
uses: actions/checkout@v3
72-
with:
73-
submodules: 'recursive'
74-
- name: Run installer
75-
shell: bash
76-
run: |
77-
./etc/DependencyInstaller.sh
78-
- name: Build project
79-
shell: bash
80-
run: |
81-
./build_openroad.sh --local

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ flow/*.opennet
5858
# Platforms
5959
flow/platforms/*
6060
!flow/platforms/asap7
61+
!flow/platforms/ihp-sg13g2
6162
!flow/platforms/nangate45
6263
!flow/platforms/sky130hd
6364
!flow/platforms/sky130hs
@@ -88,3 +89,4 @@ perf.data.old
8889
docs/main
8990
docs/build
9091
GitGuide.md
92+
mainREADME.md

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ COPY --from=openroad/lsoracle /LSOracle/core/test.ini ./tools/build/LSOracle/sha
1010
COPY --from=openroad/lsoracle /LSOracle/build/yosys-plugin/oracle.so /OpenROAD-flow/tools/build/yosys/share/yosys/plugins/
1111

1212
# openroad binary
13-
COPY --from=openroad/centos7-builder-gcc /OpenROAD/build/src/openroad ./tools/install/OpenROAD/bin/openroad
13+
COPY --from=openroad/ubuntu22.04-builder-gcc /OpenROAD/build/src/openroad ./tools/install/OpenROAD/bin/openroad
1414

1515
# flow files
1616
COPY ./env.sh .

README.md

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,40 @@ of QoR and detailed physical design implementation. However, ORFS
99
also enables manual intervention for finer user control of individual
1010
flow stages through Tcl commands and Python APIs.
1111

12-
![ORFS_Flow](./docs/images/ORFS_Flow.svg)
12+
```mermaid
13+
%%{init: { 'logLevel': 'debug', 'theme': 'dark'
14+
} }%%
15+
timeline
16+
title RTL-GDSII Using OpenROAD-flow-scripts
17+
Synthesis
18+
: Inputs [RTL, SDC, .lib, .lef]
19+
: Logic Synthesis (Yosys)
20+
: Output files [Netlist, SDC]
21+
Floorplan
22+
: Floorplan Initialization
23+
: IO placement (random)
24+
: Timing-driven mixed-size placement
25+
: Macro placement
26+
: Tapcell and welltie insertion
27+
: PDN generation
28+
Placement
29+
: Global placement without placed IOs
30+
: IO placement (optimized)
31+
: Global placement with placed IOs
32+
: Resizing and buffering
33+
: Detailed placement
34+
CTS : Clock Tree Synthesis
35+
: Timing optimization
36+
: Filler cell insertion
37+
Routing
38+
: Global Routing
39+
: Detailed Routing
40+
Finishing
41+
: Metal Fill insertion
42+
: Signoff timing report
43+
: Generate GDSII (KLayout)
44+
: DRC/LVS check (KLayout)
45+
```
1346

1447
## Tool Installation
1548

build_openroad.sh

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,7 @@ OPENROAD_APP_BRANCH="master"
2020
INSTALL_PATH="$(pwd)/tools/install"
2121

2222
YOSYS_USER_ARGS=""
23-
YOSYS_ARGS="\
24-
CONFIG=gcc \
25-
ABCREV=bafd2a7 ABCURL=https://github.com/berkeley-abc/abc \
26-
"
23+
YOSYS_ARGS="CONFIG=gcc"
2724

2825
OPENROAD_APP_USER_ARGS=""
2926
OPENROAD_APP_ARGS=""
@@ -35,7 +32,7 @@ LSORACLE_ARGS="\
3532
-D YOSYS_PLUGIN=ON \
3633
"
3734

38-
DOCKER_OS_NAME="centos7"
35+
DOCKER_OS_NAME="ubuntu22.04"
3936
PROC=-1
4037

4138
function usage() {
@@ -105,7 +102,7 @@ Options:
105102
Options valid only for Docker builds:
106103
-c, --copy-platforms Copy platforms to inside docker image.
107104
108-
--os=DOCKER_OS_NAME Choose beween centos7 (default), ubuntu20.04 and ubuntu22.04.
105+
--os=DOCKER_OS_NAME Choose beween ubuntu22.04 (default), ubuntu20.04.
109106
110107
This script builds the OpenROAD tools: openroad, yosys and yosys plugins.
111108
By default, the tools will be built from the linked submodule hashes.

docs/Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,11 @@ help:
1919
%: Makefile
2020
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
2121
rm -f main
22+
./revert-links.py
2223

2324
checklinks:
2425
$(SPHINXBUILD) -b linkcheck "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
2526
@echo
2627
@echo "Check finished. Report is in $(BUILDDIR)."
27-
rm -f main
28+
rm -f main
29+
./revert-links.py

docs/conf.py

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
'sphinx_external_toc',
3737
'sphinx_copybutton',
3838
'myst_parser',
39+
'sphinxcontrib.mermaid'
3940
]
4041

4142
myst_enable_extensions = [
@@ -110,7 +111,7 @@
110111
},
111112
{
112113
"name": "Email",
113-
"url": "mailto:openroad@eng.ucsd.edu",
114+
"url": "mailto:[email protected]",
114115
"icon": "fa-solid fa-envelope",
115116
},
116117
{
@@ -136,17 +137,20 @@ def get_file_from_url(url, fname):
136137
with open(fname, 'wb') as f:
137138
f.write(r.content)
138139

139-
def setup(app):
140-
if not os.path.exists('main'):
141-
os.symlink('..', 'main')
142-
prefix = '(../'
143-
newPath = '(./main/'
144-
with open('index.md', 'r') as f:
140+
def swap_prefix(file, old, new):
141+
with open(file, 'r') as f:
145142
lines = f.read()
146-
lines = lines.replace(prefix, newPath)
147-
with open('index.md', 'wt') as f:
143+
lines = lines.replace(old, new)
144+
with open(file, 'wt') as f:
148145
f.write(lines)
149146

147+
def setup(app):
148+
import shutil
149+
150+
# symlink does not work for ORFS because of long recursive file links
151+
shutil.copy('../README.md', 'mainREADME.md')
152+
swap_prefix('mainREADME.md', '```mermaid', '```{mermaid}\n:align: center\n')
153+
150154
url = 'https://raw.githubusercontent.com/The-OpenROAD-Project/OpenROAD/master/docs/contrib/GitGuide.md'
151155
get_file_from_url(url, 'contrib/GitGuide.md')
152156

74.8 KB
Loading
106 KB
Loading
65.5 KB
Loading

0 commit comments

Comments
 (0)