Skip to content

Commit

Permalink
Update OpenROAD (#457)
Browse files Browse the repository at this point in the history
## Tool Updates
* Updated OpenROAD to `d423155`, OpenSTA to `a7f3421`
* Addresses an [antenna repair
bug](#459)

## Testing
* Updated a number of unit tests to reflect new OpenROAD error codes.
* Fixed failing design integration tests.
  • Loading branch information
donn authored Apr 24, 2024
1 parent 7a0a73c commit 943f625
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 11 deletions.
11 changes: 11 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,17 @@
## API Breaks
## Documentation
-->

# 2.0.3

## Tool Updates
* Updated OpenROAD to `d423155`, OpenSTA to `a7f3421`
* Addresses an [antenna repair bug](https://github.com/efabless/openlane2/issues/459)

## Testing
* Updated a number of unit tests to reflect new OpenROAD error codes.
* Fixed failing design integration tests.

# 2.0.2

## Steps
Expand Down
4 changes: 2 additions & 2 deletions nix/openroad.nix
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,13 @@ let
in
clangStdenv.mkDerivation rec {
name = "openroad";
rev = "0889970d1790a2617e69f253221b8bd7626e51dc";
rev = "d423155d69de7f683a23f6916ead418a615ad4ad";

src = fetchFromGitHub {
owner = "The-OpenROAD-Project";
repo = "OpenROAD";
inherit rev;
sha256 = "sha256-o8fwh+d1mpLvB3c1hVQFz3aqgstBvr1/sptKf+mh8Vc=";
sha256 = "sha256-RrJYdvzxD64TeNAlPs6G4BKxflpQO6ED78SqQVH7EUE=";
};

cmakeFlagsAll = [
Expand Down
4 changes: 2 additions & 2 deletions nix/opensta.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@
}:
clangStdenv.mkDerivation rec {
name = "opensta";
rev = "42b994d429aef6d553baae6aac8c23477b6e0654";
rev = "a7f34210b403fe399c170296d54258f10f92885f";

src = fetchFromGitHub {
owner = "The-OpenROAD-Project";
repo = "OpenSTA";
inherit rev;
sha256 = "sha256-N0oU8INj+kaGOLHRIVOEIV2Dh8fB0GUBbLIBMYlXJYE=";
sha256 = "sha256-2R+ox0kcjXX5Kc6dtH/OEOccU/m8FjW1qnb0kxM/ahE=";
};

cmakeFlags = [
Expand Down
2 changes: 1 addition & 1 deletion openlane/__version__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# 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.
__version__ = "2.0.2"
__version__ = "2.0.3"

if __name__ == "__main__":
print(__version__, end="")
6 changes: 3 additions & 3 deletions openlane/scripts/openroad/irdrop.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ if { [info exists ::env(VSRC_LOC_FILES)] } {
foreach {net vsrc_file} "$::env(VSRC_LOC_FILES)" {
set arg_list [list]
lappend arg_list -net $net
lappend arg_list -outfile $::env(STEP_DIR)/net-$net.csv
lappend arg_list -voltage_file $::env(STEP_DIR)/net-$net.csv
lappend arg_list -vsrc $vsrc_file
analyze_power_grid {*}$arg_list
}
Expand All @@ -36,14 +36,14 @@ if { [info exists ::env(VSRC_LOC_FILES)] } {
foreach net "$::env(VDD_NETS)" {
set arg_list [list]
lappend arg_list -net $net
lappend arg_list -outfile $::env(STEP_DIR)/net-$net.csv
lappend arg_list -voltage_file $::env(STEP_DIR)/net-$net.csv
set_pdnsim_net_voltage -net $net -voltage $::env(LIB_VOLTAGE)
analyze_power_grid {*}$arg_list
}
foreach net "$::env(GND_NETS)" {
set arg_list [list]
lappend arg_list -net $net
lappend arg_list -outfile $::env(STEP_DIR)/net-$net.csv
lappend arg_list -voltage_file $::env(STEP_DIR)/net-$net.csv
set_pdnsim_net_voltage -net $net -voltage 0
analyze_power_grid {*}$arg_list
}
Expand Down
2 changes: 1 addition & 1 deletion openlane/steps/openroad.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ def on_alert(self, alert: OpenROADAlert) -> OpenROADAlert:
if alert.code in [
"ORD-0039", # .openroad ignored with -python
"ODB-0220", # lef parsing/NOWIREEXTENSIONATPIN statement is obsolete in version 5.6 or later.
"STA-0122", # table template \w+ not found
"STA-1256", # table template \w+ not found
]:
return alert
if alert.cls == "error":
Expand Down
2 changes: 1 addition & 1 deletion test/designs
2 changes: 1 addition & 1 deletion test/steps/all
Submodule all updated 31 files
+3,410 −0 by_id/openroad.detailedrouting/001-success/guides
+1 −0 by_id/openroad.detailedrouting/001-success/process_input.py.ref
+ by_id/openroad.detailedrouting/001-success/spm.odb
+180 −1 by_id/openroad.detailedrouting/002-fail-iteration/config.json
+1 −0 by_id/openroad.detailedrouting/002-fail-iteration/guides
+1 −0 by_id/openroad.detailedrouting/002-fail-iteration/process_input.py.ref
+0 −1 by_id/openroad.detailedrouting/002-fail-iteration/spm.odb
+1 −0 by_id/openroad.detailedrouting/003-fail-range-min/guides
+1 −0 by_id/openroad.detailedrouting/003-fail-range-min/process_input.py.ref
+0 −1 by_id/openroad.detailedrouting/003-fail-range-min/spm.odb
+1 −0 by_id/openroad.detailedrouting/004-fail-range-max/guides
+1 −0 by_id/openroad.detailedrouting/004-fail-range-max/process_input.py.ref
+0 −1 by_id/openroad.detailedrouting/004-fail-range-max/spm.odb
+1 −0 by_id/openroad.detailedrouting/005-fail-not-covered/guides
+1 −0 by_id/openroad.detailedrouting/005-fail-not-covered/handler.py
+1 −0 by_id/openroad.detailedrouting/005-fail-not-covered/process_input.py.ref
+0 −1 by_id/openroad.detailedrouting/005-fail-not-covered/spm.odb
+1 −0 by_id/openroad.detailedrouting/006-success-threads-single/guides
+1 −0 by_id/openroad.detailedrouting/006-success-threads-single/process_input.py.ref
+0 −1 by_id/openroad.detailedrouting/006-success-threads-single/spm.odb
+1 −0 by_id/openroad.detailedrouting/007-success-threads-multiple/guides
+1 −0 by_id/openroad.detailedrouting/007-success-threads-multiple/process_input.py.ref
+0 −1 by_id/openroad.detailedrouting/007-success-threads-multiple/spm.odb
+2 −2 by_id/openroad.floorplan/005-fail-ve-margin/handler.py
+2 −1 by_id/openroad.floorplan/006-fail-huge-margin/handler.py
+19 −0 by_id/openroad.globalrouting/001-success/Readme.md
+178 −0 by_id/openroad.globalrouting/001-success/config.json
+1 −0 by_id/openroad.globalrouting/001-success/process_input.py.ref
+1 −0 by_id/openroad.globalrouting/001-success/state_in.json
+14,156 −0 by_id/openroad.globalrouting/001-success/tt_um_MichaelBell_tinyQV.def
+5 −1 common/openroad/deflef_to_odb.py

0 comments on commit 943f625

Please sign in to comment.