Skip to content

Commit 9a605ef

Browse files
committed
Merge branch 'master' into secure-mv-repair_tie-to-floorplan
Signed-off-by: Matt Liberty <[email protected]>
2 parents 09312c7 + 7994405 commit 9a605ef

Some content is hidden

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

43 files changed

+875
-360
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,14 @@ timeline
4646

4747
## Tool Installation
4848

49+
There are different ways to install and develop OpenROAD and ORFS, which is the best fit depends use-case, experience and personal taste.
50+
51+
### Use Bazel, avoid installing anything at all and adapt the flow to your needs in your own repository
52+
53+
[bazel-orfs](https://github.com/The-OpenROAD-Project/bazel-orfs) provides a seamless, reproducible way to manage dependencies and adapt the flow without requiring manual installations(no Docker images, sudo bash scripts, etc.)
54+
55+
By leveraging [Bazel](https://bazel.build/)'s robust build system, all dependencies are automatically resolved, versioned, and built in a consistent environment. This eliminates setup complexity, ensures fast incremental builds, and allows for easy customization of the flow, making it an efficient choice for both [beginners](https://github.com/Pinata-Consulting/RegFileStudy) and [advanced](https://github.com/The-OpenROAD-Project/megaboom) users.
56+
4957
### Docker Based Installation
5058

5159
To ease dependency installation issues, ORFS uses docker images.

docs/user/FlowVariables.md

Lines changed: 154 additions & 152 deletions
Large diffs are not rendered by default.

etc/DependencyInstaller.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ _installUbuntuPackages() {
170170
fi
171171
else
172172
if [[ $1 == 20.04 ]]; then
173-
klayoutChecksum=15a26f74cf396d8a10b7985ed70ab135
173+
klayoutChecksum=f78d41edf5bcfa5f1990bde1a9307e9e
174174
else
175175
klayoutChecksum=54748a49e1ab53e14cf5bf95feb2f25a
176176
fi

flow/Makefile

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -184,17 +184,9 @@ $(foreach block,$(BLOCKS),$(eval $(WORK_HOME)/results/$(PLATFORM)/$(DESIGN_NICKN
184184
.PHONY: versions.txt
185185
versions.txt:
186186
mkdir -p $(OBJECTS_DIR)
187-
@if [ -z "$(YOSYS_EXE)" ]; then \
188-
echo >> $(OBJECTS_DIR)/$@ "yosys not installed"; \
189-
else \
190-
$(YOSYS_EXE) -V > $(OBJECTS_DIR)/$@; \
191-
fi
192-
@echo openroad `$(OPENROAD_EXE) -version` >> $(OBJECTS_DIR)/$@
193-
@if [ -z "$(KLAYOUT_CMD)" ]; then \
194-
echo >> $(OBJECTS_DIR)/$@ "klayout not installed"; \
195-
else \
196-
$(KLAYOUT_CMD) -zz -v >> $(OBJECTS_DIR)/$@; \
197-
fi
187+
@echo "yosys $(if $(YOSYS_EXE),$(shell $(YOSYS_EXE) -V 2>&1),not available)" > $(OBJECTS_DIR)/$@
188+
@echo "openroad $(if $(OPENROAD_EXE),$(shell $(OPENROAD_EXE) -version 2>&1),not available)" >> $(OBJECTS_DIR)/$@
189+
@echo "klayout $(if $(KLAYOUT_CMD),$(shell $(KLAYOUT_CMD) -zz -v 2>&1),not available)" >> $(OBJECTS_DIR)/$@
198190

199191
# Pre-process libraries
200192
# ==============================================================================
@@ -549,7 +541,8 @@ clean_cts:
549541
route: $(RESULTS_DIR)/5_route.odb \
550542
$(RESULTS_DIR)/5_route.sdc
551543

552-
.PHONY: grt
544+
.PHONY: grt globalroute
545+
globalroute: grt
553546
grt: $(RESULTS_DIR)/5_1_grt.odb
554547

555548
# ==============================================================================

flow/designs/asap7/aes-block/rules-base.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,15 @@
2424
"compare": "<="
2525
},
2626
"cts__design__instance__count__hold_buffer": {
27-
"value": 1244,
27+
"value": 1078,
2828
"compare": "<="
2929
},
3030
"globalroute__antenna_diodes_count": {
3131
"value": 0,
3232
"compare": "<="
3333
},
3434
"detailedroute__route__wirelength": {
35-
"value": 77091,
35+
"value": 75984,
3636
"compare": "<="
3737
},
3838
"detailedroute__route__drc_errors": {
@@ -48,7 +48,7 @@
4848
"compare": "<="
4949
},
5050
"finish__timing__setup__ws": {
51-
"value": -83.73,
51+
"value": -152.45,
5252
"compare": ">="
5353
},
5454
"finish__design__instance__area": {
@@ -67,4 +67,4 @@
6767
"value": -18.47,
6868
"compare": ">="
6969
}
70-
}
70+
}
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
"_SDC_FILE_PATH": "constraint.sdc",
3+
"_SDC_CLK_PERIOD": {
4+
"type": "float",
5+
"minmax": [
6+
1000,
7+
1300
8+
],
9+
"step": 0
10+
},
11+
"CORE_UTILIZATION": {
12+
"type": "int",
13+
"minmax": [
14+
65,
15+
75
16+
],
17+
"step": 1
18+
},
19+
"CORE_MARGIN": {
20+
"type": "float",
21+
"minmax": [
22+
1.5,
23+
2
24+
],
25+
"step": 1
26+
},
27+
"CTS_CLUSTER_SIZE": {
28+
"type": "int",
29+
"minmax": [
30+
40,
31+
60
32+
],
33+
"step": 1
34+
},
35+
"CTS_CLUSTER_DIAMETER": {
36+
"type": "int",
37+
"minmax": [
38+
15,
39+
25
40+
],
41+
"step": 1
42+
}
43+
}

flow/designs/asap7/cva6/config.mk

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,10 @@ export ADDITIONAL_LIBS = $(PLATFORM_DIR)/lib/NLDM/fakeram7_64x256.lib \
8888

8989
export SDC_FILE = $(DESIGN_HOME)/$(PLATFORM)/$(DESIGN_NAME)/constraint.sdc
9090

91-
export CORE_UTILIZATION = 50
91+
export CORE_UTILIZATION = 70
9292
export CORE_MARGIN = 2
93-
export MACRO_HALO = 5
94-
export PLACE_DENSITY = 0.64
93+
export MACRO_PLACE_HALO = 3 3
94+
export PLACE_DENSITY = 0.73
9595

9696
# a smoketest for this option, there are a
9797
# few last gasp iterations

flow/designs/asap7/cva6/constraint.sdc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
set clk_name main_clk
44
set clk_port clk_i
55
set clk_ports_list [list $clk_port]
6-
set clk_period 1300
6+
set clk_period 1200
77
set input_delay 0.46
88
set output_delay 0.11
99
create_clock [get_ports $clk_port] -name $clk_name -period $clk_period

flow/designs/asap7/cva6/rules-base.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,31 +8,31 @@
88
"compare": "=="
99
},
1010
"placeopt__design__instance__area": {
11-
"value": 20743,
11+
"value": 20690,
1212
"compare": "<="
1313
},
1414
"placeopt__design__instance__count__stdcell": {
15-
"value": 137118,
15+
"value": 136421,
1616
"compare": "<="
1717
},
1818
"detailedplace__design__violations": {
1919
"value": 0,
2020
"compare": "=="
2121
},
2222
"cts__design__instance__count__setup_buffer": {
23-
"value": 11923,
23+
"value": 11863,
2424
"compare": "<="
2525
},
2626
"cts__design__instance__count__hold_buffer": {
27-
"value": 11923,
27+
"value": 11863,
2828
"compare": "<="
2929
},
3030
"globalroute__antenna_diodes_count": {
3131
"value": 0,
3232
"compare": "<="
3333
},
3434
"detailedroute__route__wirelength": {
35-
"value": 1124948,
35+
"value": 1074578,
3636
"compare": "<="
3737
},
3838
"detailedroute__route__drc_errors": {
@@ -48,23 +48,23 @@
4848
"compare": "<="
4949
},
5050
"finish__timing__setup__ws": {
51-
"value": -68.36,
51+
"value": -139.89,
5252
"compare": ">="
5353
},
5454
"finish__design__instance__area": {
55-
"value": 20933,
55+
"value": 20850,
5656
"compare": "<="
5757
},
5858
"finish__timing__drv__setup_violation_count": {
59-
"value": 5962,
59+
"value": 5931,
6060
"compare": "<="
6161
},
6262
"finish__timing__drv__hold_violation_count": {
6363
"value": 100,
6464
"compare": "<="
6565
},
6666
"finish__timing__wns_percent_delay": {
67-
"value": -10.27,
67+
"value": -10.0,
6868
"compare": ">="
6969
}
7070
}

flow/designs/gf12/bp_single/rules-base.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,35 +8,35 @@
88
"compare": "=="
99
},
1010
"placeopt__design__instance__area": {
11-
"value": 509289,
11+
"value": 491681,
1212
"compare": "<="
1313
},
1414
"placeopt__design__instance__count__stdcell": {
15-
"value": 546190,
15+
"value": 535708,
1616
"compare": "<="
1717
},
1818
"detailedplace__design__violations": {
1919
"value": 0,
2020
"compare": "=="
2121
},
2222
"cts__design__instance__count__setup_buffer": {
23-
"value": 47495,
23+
"value": 46583,
2424
"compare": "<="
2525
},
2626
"cts__design__instance__count__hold_buffer": {
27-
"value": 47495,
27+
"value": 46583,
2828
"compare": "<="
2929
},
3030
"globalroute__antenna_diodes_count": {
3131
"value": 0,
3232
"compare": "<="
3333
},
3434
"detailedroute__route__wirelength": {
35-
"value": 7863419,
35+
"value": 6200511,
3636
"compare": "<="
3737
},
3838
"detailedroute__route__drc_errors": {
39-
"value": 1,
39+
"value": 0,
4040
"compare": "<="
4141
},
4242
"detailedroute__antenna__violating__nets": {
@@ -48,19 +48,19 @@
4848
"compare": "<="
4949
},
5050
"finish__timing__setup__ws": {
51-
"value": -183.6,
51+
"value": -144.83,
5252
"compare": ">="
5353
},
5454
"finish__design__instance__area": {
55-
"value": 519153,
55+
"value": 500408,
5656
"compare": "<="
5757
},
5858
"finish__timing__drv__setup_violation_count": {
59-
"value": 23747,
59+
"value": 23292,
6060
"compare": "<="
6161
},
6262
"finish__timing__drv__hold_violation_count": {
63-
"value": 230,
63+
"value": 479,
6464
"compare": "<="
6565
},
6666
"finish__timing__wns_percent_delay": {

0 commit comments

Comments
 (0)