forked from The-OpenROAD-Project/OpenLane
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rework Antenna Repair (The-OpenROAD-Project#1968)
- Remove BM64 test design ~ Update a couple of CI designs enabling RUN_HEURISTIC_DIODE_INSERTION and DIODE_ON_PORTS ~ Move OpenROAD DPL logic and API calls to scripts/openroad/common/dpl.tcl and update scripts/openroad/dpl.tcl accordingly ~ Move OpenROAD GRT logic and API calls to scripts/openroad/common/grt.tcl and update scripts/openroad/grt.tcl accordingly ~ Use `repair_antennas.tcl` instead of running it inside GRT script + Add scripts/openroad/repair_antennas.tcl with the following flow: * GRT - needed to run OR's repair antennas * OR's repair antennas (with cell padding for diodes) * DPL to legalize * GRT to create new guides for legalized cells
- Loading branch information
1 parent
d03ecd9
commit df7fd51
Showing
13 changed files
with
94 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule ci
updated
18 files
+674 −0 | APU/src/COPYING | |
+0 −13 | BM64/config.json | |
+0 −543 | BM64/src/BM64.v | |
+4 −2 | PPU/config.json | |
+674 −0 | PPU/src/COPYING | |
+13 −0 | Readme.md | |
+3 −1 | aes/config.json | |
+8 −8 | blabla/config.json | |
+15 −0 | mem_1r1w/src/mem_1r1w.v | |
+3 −1 | picorv32a/config.json | |
+14 −0 | regfile_2r1w/src/regfile_2r1w.v | |
+3 −1 | salsa20/config.json | |
+14 −1 | test_sram_macro/src/test_sram_macro.v | |
+16 −19 | usb/src/usb2p0_core.v | |
+502 −0 | usb_cdc_core/src/COPYING | |
+502 −0 | xtea/src/COPYING | |
+3 −1 | y_huff/config.json | |
+515 −523 | y_huff/src/y_huff.v |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
regression_results/benchmark_results/sky130A/sky130_fd_sc_hd.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,4 +32,4 @@ extract | |
feedback save $::env(_tmp_feedback_file) | ||
|
||
antennacheck debug | ||
antennacheck | ||
antennacheck |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Copyright 2020-2023 Efabless Corporation | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
source $::env(SCRIPTS_DIR)/openroad/common/dpl_cell_pad.tcl | ||
|
||
detailed_placement\ | ||
-max_displacement [subst { $::env(PL_MAX_DISPLACEMENT_X) $::env(PL_MAX_DISPLACEMENT_Y) }] | ||
|
||
if { [info exists ::env(PL_OPTIMIZE_MIRRORING)] && $::env(PL_OPTIMIZE_MIRRORING) } { | ||
optimize_mirroring | ||
} | ||
|
||
if { [catch {check_placement -verbose} errmsg] } { | ||
puts stderr $errmsg | ||
exit 1 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# Copyright 2020-2023 Efabless Corporation | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
source $::env(SCRIPTS_DIR)/openroad/common/set_routing_layers.tcl | ||
|
||
set_macro_extension $::env(GRT_MACRO_EXTENSION) | ||
|
||
source $::env(SCRIPTS_DIR)/openroad/common/set_layer_adjustments.tcl | ||
|
||
set arg_list [list] | ||
lappend arg_list -congestion_iterations $::env(GRT_OVERFLOW_ITERS) | ||
lappend arg_list -verbose | ||
lappend arg_list -congestion_report_file $::env(GRT_CONGESTION_REPORT_FILE) | ||
if { $::env(GRT_ALLOW_CONGESTION) == 1 } { | ||
lappend arg_list -allow_congestion | ||
} | ||
puts $arg_list | ||
global_route {*}$arg_list | ||
|
||
if { $::env(GRT_REPAIR_ANTENNAS) } { | ||
repair_antennas "$::env(DIODE_CELL)" -iterations $::env(GRT_ANT_ITERS) -ratio_margin $::env(GRT_ANT_MARGIN) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Copyright 2020-2023 Efabless Corporation | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
source $::env(SCRIPTS_DIR)/openroad/common/io.tcl | ||
read | ||
|
||
source $::env(SCRIPTS_DIR)/openroad/common/grt.tcl | ||
source $::env(SCRIPTS_DIR)/openroad/common/dpl_cell_pad.tcl ; # just in case | ||
repair_antennas "$::env(DIODE_CELL)" -iterations $::env(GRT_ANT_ITERS) -ratio_margin $::env(GRT_ANT_MARGIN) | ||
source $::env(SCRIPTS_DIR)/openroad/common/dpl.tcl | ||
source $::env(SCRIPTS_DIR)/openroad/common/grt.tcl | ||
|
||
write | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters