From 82ce715fd1aed03c03b8acef85efc2ee63d703ae Mon Sep 17 00:00:00 2001 From: Tim 'mithro' Ansell Date: Mon, 20 Nov 2023 19:58:56 -0800 Subject: [PATCH 1/2] Add 4x versions of `rc_script.tcl` and `tracks.tcl` files. Use the 4x files for the `cells-rvt_4x.bzl` configuration. Signed-off-by: Tim 'mithro' Ansell --- .../BUILD | 6 ++-- .../{rc_script.tcl => rc_script_1x.tcl} | 0 .../rc_script_4x.tcl | 35 +++++++++++++++++++ .../{tracks.tcl => tracks_1x.tcl} | 0 .../tracks_4x.tcl | 35 +++++++++++++++++++ .../bundled.BUILD.bazel | 12 +++---- .../cells-lvt.bzl | 4 +-- .../cells-rvt.bzl | 4 +-- .../cells-slvt.bzl | 4 +-- .../bundled.BUILD.bazel | 16 ++++----- .../cells-lvt.bzl | 4 +-- .../cells-rvt.bzl | 4 +-- .../cells-rvt_4x.bzl | 4 +-- .../cells-slvt.bzl | 4 +-- .../bundled.BUILD.bazel | 12 +++---- .../cells-lvt.bzl | 4 +-- .../cells-rvt.bzl | 4 +-- .../cells-slvt.bzl | 4 +-- 18 files changed, 114 insertions(+), 42 deletions(-) rename dependency_support/org_theopenroadproject_asap7_pdk_r1p7/{rc_script.tcl => rc_script_1x.tcl} (100%) create mode 100644 dependency_support/org_theopenroadproject_asap7_pdk_r1p7/rc_script_4x.tcl rename dependency_support/org_theopenroadproject_asap7_pdk_r1p7/{tracks.tcl => tracks_1x.tcl} (100%) create mode 100644 dependency_support/org_theopenroadproject_asap7_pdk_r1p7/tracks_4x.tcl diff --git a/dependency_support/org_theopenroadproject_asap7_pdk_r1p7/BUILD b/dependency_support/org_theopenroadproject_asap7_pdk_r1p7/BUILD index dfdcaee3..31c94bec 100644 --- a/dependency_support/org_theopenroadproject_asap7_pdk_r1p7/BUILD +++ b/dependency_support/org_theopenroadproject_asap7_pdk_r1p7/BUILD @@ -18,8 +18,10 @@ package( ) exports_files([ - "tracks.tcl", - "rc_script.tcl", + "tracks_1x.tcl", + "tracks_4x.tcl", + "rc_script_1x.tcl", + "rc_script_4x.tcl", "pdn_config_1x.pdn", # FIXME: Where did this come from? "pdn_config_4x.pdn", # FIXME: Where did this come from? "asap7.lyt", # Imported from OpenROAD-flow-scripts on 24.07.2023 at 6ec980e1d49a1a8dcdd1e25ed81255b4bb8285c8 from: https://github.com/The-OpenROAD-Project/OpenROAD-flow-scripts/blob/6ec980e1d49a1a8dcdd1e25ed81255b4bb8285c8/flow/platforms/asap7/KLayout/asap7.lyt diff --git a/dependency_support/org_theopenroadproject_asap7_pdk_r1p7/rc_script.tcl b/dependency_support/org_theopenroadproject_asap7_pdk_r1p7/rc_script_1x.tcl similarity index 100% rename from dependency_support/org_theopenroadproject_asap7_pdk_r1p7/rc_script.tcl rename to dependency_support/org_theopenroadproject_asap7_pdk_r1p7/rc_script_1x.tcl diff --git a/dependency_support/org_theopenroadproject_asap7_pdk_r1p7/rc_script_4x.tcl b/dependency_support/org_theopenroadproject_asap7_pdk_r1p7/rc_script_4x.tcl new file mode 100644 index 00000000..9c1b2daf --- /dev/null +++ b/dependency_support/org_theopenroadproject_asap7_pdk_r1p7/rc_script_4x.tcl @@ -0,0 +1,35 @@ +# Copyright 2022 Google LLC +# +# 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. + +set_layer_rc -layer M1 -capacitance 6.33956E-02 -resistance 1.3889e-01 +set_layer_rc -layer M2 -capacitance 8.02750E-02 -resistance 2.4222e-02 +set_layer_rc -layer M3 -capacitance 1.23273E-01 -resistance 2.4222e-02 +set_layer_rc -layer M4 -capacitance 1.29902E-01 -resistance 1.6778e-02 +set_layer_rc -layer M5 -capacitance 1.19552E-01 -resistance 1.4677e-02 +set_layer_rc -layer M6 -capacitance 1.23114E-01 -resistance 1.0371e-02 +set_layer_rc -layer M7 -capacitance 1.05408E-01 -resistance 9.6720e-03 +set_layer_rc -layer M8 -capacitance 1.1822e-01 -resistance 7.4310e-03 +set_layer_rc -layer M9 -capacitance 1.3497e-01 -resistance 6.8740e-03 + +set_layer_rc -via V1 -resistance 1.00E-02 +set_layer_rc -via V2 -resistance 1.00E-02 +set_layer_rc -via V3 -resistance 1.00E-02 +set_layer_rc -via V4 -resistance 1.00E-02 +set_layer_rc -via V5 -resistance 1.00E-02 +set_layer_rc -via V6 -resistance 1.00E-02 +set_layer_rc -via V7 -resistance 1.00E-02 +set_layer_rc -via V8 -resistance 1.00E-02 +set_layer_rc -via V9 -resistance 1.00E-02 + +set_wire_rc -layer M3 diff --git a/dependency_support/org_theopenroadproject_asap7_pdk_r1p7/tracks.tcl b/dependency_support/org_theopenroadproject_asap7_pdk_r1p7/tracks_1x.tcl similarity index 100% rename from dependency_support/org_theopenroadproject_asap7_pdk_r1p7/tracks.tcl rename to dependency_support/org_theopenroadproject_asap7_pdk_r1p7/tracks_1x.tcl diff --git a/dependency_support/org_theopenroadproject_asap7_pdk_r1p7/tracks_4x.tcl b/dependency_support/org_theopenroadproject_asap7_pdk_r1p7/tracks_4x.tcl new file mode 100644 index 00000000..1de7f162 --- /dev/null +++ b/dependency_support/org_theopenroadproject_asap7_pdk_r1p7/tracks_4x.tcl @@ -0,0 +1,35 @@ +# Copyright 2022 Google LLC +# +# 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. + +set multiplier 4 + +make_tracks Pad -x_offset [expr 0.116 * $multiplier] -x_pitch [expr 0.08 * $multiplier] -y_offset [expr 0.116 * $multiplier] -y_pitch [expr 0.08 * $multiplier] +make_tracks M9 -x_offset [expr 0.116 * $multiplier] -x_pitch [expr 0.08 * $multiplier] -y_offset [expr 0.116 * $multiplier] -y_pitch [expr 0.08 * $multiplier] +make_tracks M8 -x_offset [expr 0.116 * $multiplier] -x_pitch [expr 0.08 * $multiplier] -y_offset [expr 0.116 * $multiplier] -y_pitch [expr 0.08 * $multiplier] +make_tracks M7 -x_offset [expr 0.016 * $multiplier] -x_pitch [expr 0.064 * $multiplier] -y_offset [expr 0.016 * $multiplier] -y_pitch [expr 0.064 * $multiplier] +make_tracks M6 -x_offset [expr 0.012 * $multiplier] -x_pitch [expr 0.048 * $multiplier] -y_offset [expr 0.016 * $multiplier] -y_pitch [expr 0.064 * $multiplier] +make_tracks M5 -x_offset [expr 0.012 * $multiplier] -x_pitch [expr 0.048 * $multiplier] -y_offset [expr 0.012 * $multiplier] -y_pitch [expr 0.048 * $multiplier] +make_tracks M4 -x_offset [expr 0.009 * $multiplier] -x_pitch [expr 0.036 * $multiplier] -y_offset [expr 0.012 * $multiplier] -y_pitch [expr 0.048 * $multiplier] +make_tracks M3 -x_offset [expr 0.009 * $multiplier] -x_pitch [expr 0.036 * $multiplier] -y_offset [expr 0.009 * $multiplier] -y_pitch [expr 0.036 * $multiplier] + +# Creating multiple sub tracks for metal M2 for off grid routing purposes. +make_tracks M2 -x_offset [expr 0.009 * $multiplier] -x_pitch [expr 0.036 * $multiplier] -y_offset [expr (0.045 - 0.000) * $multiplier] -y_pitch [expr 0.270 * $multiplier] +make_tracks M2 -x_offset [expr 0.009 * $multiplier] -x_pitch [expr 0.036 * $multiplier] -y_offset [expr (0.081 - 0.000) * $multiplier] -y_pitch [expr 0.270 * $multiplier] +make_tracks M2 -x_offset [expr 0.009 * $multiplier] -x_pitch [expr 0.036 * $multiplier] -y_offset [expr (0.117 - 0.000) * $multiplier] -y_pitch [expr 0.270 * $multiplier] +make_tracks M2 -x_offset [expr 0.009 * $multiplier] -x_pitch [expr 0.036 * $multiplier] -y_offset [expr (0.153 - 0.000) * $multiplier] -y_pitch [expr 0.270 * $multiplier] +make_tracks M2 -x_offset [expr 0.009 * $multiplier] -x_pitch [expr 0.036 * $multiplier] -y_offset [expr (0.189 - 0.000) * $multiplier] -y_pitch [expr 0.270 * $multiplier] +make_tracks M2 -x_offset [expr 0.009 * $multiplier] -x_pitch [expr 0.036 * $multiplier] -y_offset [expr (0.225 - 0.000) * $multiplier] -y_pitch [expr 0.270 * $multiplier] +make_tracks M2 -x_offset [expr 0.009 * $multiplier] -x_pitch [expr 0.036 * $multiplier] -y_offset [expr (0.270 - 0.000) * $multiplier] -y_pitch [expr 0.270 * $multiplier] + +make_tracks M1 -x_offset [expr 0.009 * $multiplier] -x_pitch [expr 0.036 * $multiplier] -y_offset [expr 0.009 * $multiplier] -y_pitch [expr 0.036 * $multiplier] diff --git a/dependency_support/org_theopenroadproject_asap7sc6t_26/bundled.BUILD.bazel b/dependency_support/org_theopenroadproject_asap7sc6t_26/bundled.BUILD.bazel index 2c52b334..1fe67524 100644 --- a/dependency_support/org_theopenroadproject_asap7sc6t_26/bundled.BUILD.bazel +++ b/dependency_support/org_theopenroadproject_asap7sc6t_26/bundled.BUILD.bazel @@ -93,13 +93,13 @@ open_road_pdk_configuration( pdn_config = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:pdn_config_1x.pdn", pin_horizontal_metal_layer = "M4", pin_vertical_metal_layer = "M5", - rc_script_configuration = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:rc_script.tcl", + rc_script_configuration = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:rc_script_1x.tcl", tap_cell = "TAPCELL_ASAP7_6t_L", tapcell_distance = 25, tie_high_port = "TIEHIxp5_ASAP7_6t_L/H", tie_low_port = "TIELOxp5_ASAP7_6t_L/L", tie_separation = 0, - tracks_file = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:tracks.tcl", + tracks_file = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:tracks_1x.tcl", wire_rc_clock_metal_layer = "M5", wire_rc_signal_metal_layer = "M2", ) @@ -151,13 +151,13 @@ open_road_pdk_configuration( pdn_config = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:pdn_config_1x.pdn", pin_horizontal_metal_layer = "M4", pin_vertical_metal_layer = "M5", - rc_script_configuration = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:rc_script.tcl", + rc_script_configuration = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:rc_script_1x.tcl", tap_cell = "TAPCELL_ASAP7_6t_R", tapcell_distance = 25, tie_high_port = "TIEHIxp5_ASAP7_6t_R/H", tie_low_port = "TIELOxp5_ASAP7_6t_R/L", tie_separation = 0, - tracks_file = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:tracks.tcl", + tracks_file = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:tracks_1x.tcl", wire_rc_clock_metal_layer = "M5", wire_rc_signal_metal_layer = "M2", ) @@ -209,13 +209,13 @@ open_road_pdk_configuration( pdn_config = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:pdn_config_1x.pdn", pin_horizontal_metal_layer = "M4", pin_vertical_metal_layer = "M5", - rc_script_configuration = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:rc_script.tcl", + rc_script_configuration = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:rc_script_1x.tcl", tap_cell = "TAPCELL_ASAP7_6t_SL", tapcell_distance = 25, tie_high_port = "TIEHIxp5_ASAP7_6t_SL/H", tie_low_port = "TIELOxp5_ASAP7_6t_SL/L", tie_separation = 0, - tracks_file = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:tracks.tcl", + tracks_file = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:tracks_1x.tcl", wire_rc_clock_metal_layer = "M5", wire_rc_signal_metal_layer = "M2", ) diff --git a/dependency_support/org_theopenroadproject_asap7sc6t_26/cells-lvt.bzl b/dependency_support/org_theopenroadproject_asap7sc6t_26/cells-lvt.bzl index 52b4163b..48f55955 100644 --- a/dependency_support/org_theopenroadproject_asap7sc6t_26/cells-lvt.bzl +++ b/dependency_support/org_theopenroadproject_asap7sc6t_26/cells-lvt.bzl @@ -58,13 +58,13 @@ open_road_pdk_configuration( pdn_config = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:pdn_config_1x.pdn", pin_horizontal_metal_layer = "M4", pin_vertical_metal_layer = "M5", - rc_script_configuration = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:rc_script.tcl", + rc_script_configuration = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:rc_script_1x.tcl", tap_cell = "TAPCELL_ASAP7_6t_L", tapcell_distance = 25, tie_high_port = "TIEHIxp5_ASAP7_6t_L/H", tie_low_port = "TIELOxp5_ASAP7_6t_L/L", tie_separation = 0, - tracks_file = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:tracks.tcl", + tracks_file = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:tracks_1x.tcl", wire_rc_clock_metal_layer = "M5", wire_rc_signal_metal_layer = "M2", ) diff --git a/dependency_support/org_theopenroadproject_asap7sc6t_26/cells-rvt.bzl b/dependency_support/org_theopenroadproject_asap7sc6t_26/cells-rvt.bzl index 1129c6c8..fafb59ae 100644 --- a/dependency_support/org_theopenroadproject_asap7sc6t_26/cells-rvt.bzl +++ b/dependency_support/org_theopenroadproject_asap7sc6t_26/cells-rvt.bzl @@ -58,13 +58,13 @@ open_road_pdk_configuration( pdn_config = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:pdn_config_1x.pdn", pin_horizontal_metal_layer = "M4", pin_vertical_metal_layer = "M5", - rc_script_configuration = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:rc_script.tcl", + rc_script_configuration = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:rc_script_1x.tcl", tap_cell = "TAPCELL_ASAP7_6t_R", tapcell_distance = 25, tie_high_port = "TIEHIxp5_ASAP7_6t_R/H", tie_low_port = "TIELOxp5_ASAP7_6t_R/L", tie_separation = 0, - tracks_file = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:tracks.tcl", + tracks_file = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:tracks_1x.tcl", wire_rc_clock_metal_layer = "M5", wire_rc_signal_metal_layer = "M2", ) diff --git a/dependency_support/org_theopenroadproject_asap7sc6t_26/cells-slvt.bzl b/dependency_support/org_theopenroadproject_asap7sc6t_26/cells-slvt.bzl index a426bb3f..130cbb9d 100644 --- a/dependency_support/org_theopenroadproject_asap7sc6t_26/cells-slvt.bzl +++ b/dependency_support/org_theopenroadproject_asap7sc6t_26/cells-slvt.bzl @@ -58,13 +58,13 @@ open_road_pdk_configuration( pdn_config = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:pdn_config_1x.pdn", pin_horizontal_metal_layer = "M4", pin_vertical_metal_layer = "M5", - rc_script_configuration = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:rc_script.tcl", + rc_script_configuration = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:rc_script_1x.tcl", tap_cell = "TAPCELL_ASAP7_6t_SL", tapcell_distance = 25, tie_high_port = "TIEHIxp5_ASAP7_6t_SL/H", tie_low_port = "TIELOxp5_ASAP7_6t_SL/L", tie_separation = 0, - tracks_file = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:tracks.tcl", + tracks_file = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:tracks_1x.tcl", wire_rc_clock_metal_layer = "M5", wire_rc_signal_metal_layer = "M2", ) diff --git a/dependency_support/org_theopenroadproject_asap7sc7p5t_27/bundled.BUILD.bazel b/dependency_support/org_theopenroadproject_asap7sc7p5t_27/bundled.BUILD.bazel index e2d126e4..ff2ffdc5 100644 --- a/dependency_support/org_theopenroadproject_asap7sc7p5t_27/bundled.BUILD.bazel +++ b/dependency_support/org_theopenroadproject_asap7sc7p5t_27/bundled.BUILD.bazel @@ -94,13 +94,13 @@ open_road_pdk_configuration( pdn_config = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:pdn_config_1x.pdn", pin_horizontal_metal_layer = "M4", pin_vertical_metal_layer = "M5", - rc_script_configuration = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:rc_script.tcl", + rc_script_configuration = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:rc_script_1x.tcl", tap_cell = "TAPCELL_ASAP7_75t_L", tapcell_distance = 25, tie_high_port = "TIEHIx1_ASAP7_75t_L/H", tie_low_port = "TIELOx1_ASAP7_75t_L/L", tie_separation = 0, - tracks_file = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:tracks.tcl", + tracks_file = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:tracks_1x.tcl", wire_rc_clock_metal_layer = "M5", wire_rc_signal_metal_layer = "M2", ) @@ -153,13 +153,13 @@ open_road_pdk_configuration( pdn_config = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:pdn_config_1x.pdn", pin_horizontal_metal_layer = "M4", pin_vertical_metal_layer = "M5", - rc_script_configuration = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:rc_script.tcl", + rc_script_configuration = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:rc_script_1x.tcl", tap_cell = "TAPCELL_ASAP7_75t_R", tapcell_distance = 25, tie_high_port = "TIEHIx1_ASAP7_75t_R/H", tie_low_port = "TIELOx1_ASAP7_75t_R/L", tie_separation = 0, - tracks_file = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:tracks.tcl", + tracks_file = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:tracks_1x.tcl", wire_rc_clock_metal_layer = "M5", wire_rc_signal_metal_layer = "M2", ) @@ -270,13 +270,13 @@ open_road_pdk_configuration( pdn_config = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:pdn_config_4x.pdn", pin_horizontal_metal_layer = "M4", pin_vertical_metal_layer = "M5", - rc_script_configuration = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:rc_script.tcl", + rc_script_configuration = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:rc_script_4x.tcl", tap_cell = "TAPCELL_ASAP7_75t_R", tapcell_distance = 25 * 4, # We are using the by 4 variants of these cells. tie_high_port = "TIEHIx1_ASAP7_75t_R/H", tie_low_port = "TIELOx1_ASAP7_75t_R/L", tie_separation = 0, - tracks_file = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:tracks.tcl", + tracks_file = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:tracks_4x.tcl", wire_rc_clock_metal_layer = "M5", wire_rc_signal_metal_layer = "M2", ) @@ -332,13 +332,13 @@ open_road_pdk_configuration( pdn_config = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:pdn_config_1x.pdn", pin_horizontal_metal_layer = "M4", pin_vertical_metal_layer = "M5", - rc_script_configuration = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:rc_script.tcl", + rc_script_configuration = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:rc_script_1x.tcl", tap_cell = "TAPCELL_ASAP7_75t_SL", tapcell_distance = 25, tie_high_port = "TIEHIx1_ASAP7_75t_SL/H", tie_low_port = "TIELOx1_ASAP7_75t_SL/L", tie_separation = 0, - tracks_file = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:tracks.tcl", + tracks_file = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:tracks_1x.tcl", wire_rc_clock_metal_layer = "M5", wire_rc_signal_metal_layer = "M2", ) diff --git a/dependency_support/org_theopenroadproject_asap7sc7p5t_27/cells-lvt.bzl b/dependency_support/org_theopenroadproject_asap7sc7p5t_27/cells-lvt.bzl index a417c714..3afa1f1b 100644 --- a/dependency_support/org_theopenroadproject_asap7sc7p5t_27/cells-lvt.bzl +++ b/dependency_support/org_theopenroadproject_asap7sc7p5t_27/cells-lvt.bzl @@ -59,13 +59,13 @@ open_road_pdk_configuration( pdn_config = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:pdn_config_1x.pdn", pin_horizontal_metal_layer = "M4", pin_vertical_metal_layer = "M5", - rc_script_configuration = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:rc_script.tcl", + rc_script_configuration = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:rc_script_1x.tcl", tap_cell = "TAPCELL_ASAP7_75t_L", tapcell_distance = 25, tie_high_port = "TIEHIx1_ASAP7_75t_L/H", tie_low_port = "TIELOx1_ASAP7_75t_L/L", tie_separation = 0, - tracks_file = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:tracks.tcl", + tracks_file = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:tracks_1x.tcl", wire_rc_clock_metal_layer = "M5", wire_rc_signal_metal_layer = "M2", ) diff --git a/dependency_support/org_theopenroadproject_asap7sc7p5t_27/cells-rvt.bzl b/dependency_support/org_theopenroadproject_asap7sc7p5t_27/cells-rvt.bzl index bbf20558..9b90eb3b 100644 --- a/dependency_support/org_theopenroadproject_asap7sc7p5t_27/cells-rvt.bzl +++ b/dependency_support/org_theopenroadproject_asap7sc7p5t_27/cells-rvt.bzl @@ -59,13 +59,13 @@ open_road_pdk_configuration( pdn_config = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:pdn_config_1x.pdn", pin_horizontal_metal_layer = "M4", pin_vertical_metal_layer = "M5", - rc_script_configuration = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:rc_script.tcl", + rc_script_configuration = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:rc_script_1x.tcl", tap_cell = "TAPCELL_ASAP7_75t_R", tapcell_distance = 25, tie_high_port = "TIEHIx1_ASAP7_75t_R/H", tie_low_port = "TIELOx1_ASAP7_75t_R/L", tie_separation = 0, - tracks_file = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:tracks.tcl", + tracks_file = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:tracks_1x.tcl", wire_rc_clock_metal_layer = "M5", wire_rc_signal_metal_layer = "M2", ) diff --git a/dependency_support/org_theopenroadproject_asap7sc7p5t_27/cells-rvt_4x.bzl b/dependency_support/org_theopenroadproject_asap7sc7p5t_27/cells-rvt_4x.bzl index a8fc7eba..7ef50efc 100644 --- a/dependency_support/org_theopenroadproject_asap7sc7p5t_27/cells-rvt_4x.bzl +++ b/dependency_support/org_theopenroadproject_asap7sc7p5t_27/cells-rvt_4x.bzl @@ -117,13 +117,13 @@ open_road_pdk_configuration( pdn_config = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:pdn_config_4x.pdn", pin_horizontal_metal_layer = "M4", pin_vertical_metal_layer = "M5", - rc_script_configuration = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:rc_script.tcl", + rc_script_configuration = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:rc_script_4x.tcl", tap_cell = "TAPCELL_ASAP7_75t_R", tapcell_distance = 25 * 4, # We are using the by 4 variants of these cells. tie_high_port = "TIEHIx1_ASAP7_75t_R/H", tie_low_port = "TIELOx1_ASAP7_75t_R/L", tie_separation = 0, - tracks_file = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:tracks.tcl", + tracks_file = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:tracks_4x.tcl", wire_rc_clock_metal_layer = "M5", wire_rc_signal_metal_layer = "M2", ) diff --git a/dependency_support/org_theopenroadproject_asap7sc7p5t_27/cells-slvt.bzl b/dependency_support/org_theopenroadproject_asap7sc7p5t_27/cells-slvt.bzl index 8d324a5b..ab220883 100644 --- a/dependency_support/org_theopenroadproject_asap7sc7p5t_27/cells-slvt.bzl +++ b/dependency_support/org_theopenroadproject_asap7sc7p5t_27/cells-slvt.bzl @@ -59,13 +59,13 @@ open_road_pdk_configuration( pdn_config = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:pdn_config_1x.pdn", pin_horizontal_metal_layer = "M4", pin_vertical_metal_layer = "M5", - rc_script_configuration = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:rc_script.tcl", + rc_script_configuration = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:rc_script_1x.tcl", tap_cell = "TAPCELL_ASAP7_75t_SL", tapcell_distance = 25, tie_high_port = "TIEHIx1_ASAP7_75t_SL/H", tie_low_port = "TIELOx1_ASAP7_75t_SL/L", tie_separation = 0, - tracks_file = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:tracks.tcl", + tracks_file = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:tracks_1x.tcl", wire_rc_clock_metal_layer = "M5", wire_rc_signal_metal_layer = "M2", ) diff --git a/dependency_support/org_theopenroadproject_asap7sc7p5t_28/bundled.BUILD.bazel b/dependency_support/org_theopenroadproject_asap7sc7p5t_28/bundled.BUILD.bazel index f3acd6ba..9a2ade9c 100644 --- a/dependency_support/org_theopenroadproject_asap7sc7p5t_28/bundled.BUILD.bazel +++ b/dependency_support/org_theopenroadproject_asap7sc7p5t_28/bundled.BUILD.bazel @@ -93,13 +93,13 @@ open_road_pdk_configuration( pdn_config = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:pdn_config_1x.pdn", pin_horizontal_metal_layer = "M4", pin_vertical_metal_layer = "M5", - rc_script_configuration = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:rc_script.tcl", + rc_script_configuration = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:rc_script_1x.tcl", tap_cell = "TAPCELL_ASAP7_75t_L", tapcell_distance = 25, tie_high_port = "TIEHIx1_ASAP7_75t_L/H", tie_low_port = "TIELOx1_ASAP7_75t_L/L", tie_separation = 0, - tracks_file = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:tracks.tcl", + tracks_file = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:tracks_1x.tcl", wire_rc_clock_metal_layer = "M5", wire_rc_signal_metal_layer = "M2", ) @@ -151,13 +151,13 @@ open_road_pdk_configuration( pdn_config = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:pdn_config_1x.pdn", pin_horizontal_metal_layer = "M4", pin_vertical_metal_layer = "M5", - rc_script_configuration = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:rc_script.tcl", + rc_script_configuration = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:rc_script_1x.tcl", tap_cell = "TAPCELL_ASAP7_75t_R", tapcell_distance = 25, tie_high_port = "TIEHIx1_ASAP7_75t_R/H", tie_low_port = "TIELOx1_ASAP7_75t_R/L", tie_separation = 0, - tracks_file = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:tracks.tcl", + tracks_file = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:tracks_1x.tcl", wire_rc_clock_metal_layer = "M5", wire_rc_signal_metal_layer = "M2", ) @@ -209,13 +209,13 @@ open_road_pdk_configuration( pdn_config = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:pdn_config_1x.pdn", pin_horizontal_metal_layer = "M4", pin_vertical_metal_layer = "M5", - rc_script_configuration = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:rc_script.tcl", + rc_script_configuration = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:rc_script_1x.tcl", tap_cell = "TAPCELL_ASAP7_75t_SL", tapcell_distance = 25, tie_high_port = "TIEHIx1_ASAP7_75t_SL/H", tie_low_port = "TIELOx1_ASAP7_75t_SL/L", tie_separation = 0, - tracks_file = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:tracks.tcl", + tracks_file = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:tracks_1x.tcl", wire_rc_clock_metal_layer = "M5", wire_rc_signal_metal_layer = "M2", ) diff --git a/dependency_support/org_theopenroadproject_asap7sc7p5t_28/cells-lvt.bzl b/dependency_support/org_theopenroadproject_asap7sc7p5t_28/cells-lvt.bzl index a6908754..fb15ca25 100644 --- a/dependency_support/org_theopenroadproject_asap7sc7p5t_28/cells-lvt.bzl +++ b/dependency_support/org_theopenroadproject_asap7sc7p5t_28/cells-lvt.bzl @@ -58,13 +58,13 @@ open_road_pdk_configuration( pdn_config = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:pdn_config_1x.pdn", pin_horizontal_metal_layer = "M4", pin_vertical_metal_layer = "M5", - rc_script_configuration = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:rc_script.tcl", + rc_script_configuration = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:rc_script_1x.tcl", tap_cell = "TAPCELL_ASAP7_75t_L", tapcell_distance = 25, tie_high_port = "TIEHIx1_ASAP7_75t_L/H", tie_low_port = "TIELOx1_ASAP7_75t_L/L", tie_separation = 0, - tracks_file = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:tracks.tcl", + tracks_file = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:tracks_1x.tcl", wire_rc_clock_metal_layer = "M5", wire_rc_signal_metal_layer = "M2", ) diff --git a/dependency_support/org_theopenroadproject_asap7sc7p5t_28/cells-rvt.bzl b/dependency_support/org_theopenroadproject_asap7sc7p5t_28/cells-rvt.bzl index e15ac9a6..5d756478 100644 --- a/dependency_support/org_theopenroadproject_asap7sc7p5t_28/cells-rvt.bzl +++ b/dependency_support/org_theopenroadproject_asap7sc7p5t_28/cells-rvt.bzl @@ -58,13 +58,13 @@ open_road_pdk_configuration( pdn_config = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:pdn_config_1x.pdn", pin_horizontal_metal_layer = "M4", pin_vertical_metal_layer = "M5", - rc_script_configuration = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:rc_script.tcl", + rc_script_configuration = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:rc_script_1x.tcl", tap_cell = "TAPCELL_ASAP7_75t_R", tapcell_distance = 25, tie_high_port = "TIEHIx1_ASAP7_75t_R/H", tie_low_port = "TIELOx1_ASAP7_75t_R/L", tie_separation = 0, - tracks_file = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:tracks.tcl", + tracks_file = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:tracks_1x.tcl", wire_rc_clock_metal_layer = "M5", wire_rc_signal_metal_layer = "M2", ) diff --git a/dependency_support/org_theopenroadproject_asap7sc7p5t_28/cells-slvt.bzl b/dependency_support/org_theopenroadproject_asap7sc7p5t_28/cells-slvt.bzl index 682ef7e8..b7f5270b 100644 --- a/dependency_support/org_theopenroadproject_asap7sc7p5t_28/cells-slvt.bzl +++ b/dependency_support/org_theopenroadproject_asap7sc7p5t_28/cells-slvt.bzl @@ -58,13 +58,13 @@ open_road_pdk_configuration( pdn_config = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:pdn_config_1x.pdn", pin_horizontal_metal_layer = "M4", pin_vertical_metal_layer = "M5", - rc_script_configuration = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:rc_script.tcl", + rc_script_configuration = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:rc_script_1x.tcl", tap_cell = "TAPCELL_ASAP7_75t_SL", tapcell_distance = 25, tie_high_port = "TIEHIx1_ASAP7_75t_SL/H", tie_low_port = "TIELOx1_ASAP7_75t_SL/L", tie_separation = 0, - tracks_file = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:tracks.tcl", + tracks_file = "@rules_hdl//dependency_support/org_theopenroadproject_asap7_pdk_r1p7:tracks_1x.tcl", wire_rc_clock_metal_layer = "M5", wire_rc_signal_metal_layer = "M2", ) From d335af09a149ce498d35cd8ba719611ca51bb953 Mon Sep 17 00:00:00 2001 From: Tim 'mithro' Ansell Date: Mon, 20 Nov 2023 20:01:08 -0800 Subject: [PATCH 2/2] Enable the rev27 4x test. Signed-off-by: Tim 'mithro' Ansell --- synthesis/tests/BUILD | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/synthesis/tests/BUILD b/synthesis/tests/BUILD index 699807b3..750fe034 100644 --- a/synthesis/tests/BUILD +++ b/synthesis/tests/BUILD @@ -145,15 +145,15 @@ asap7_targets( # ASAP7 7.5 track rev 27 4x scaled version # FIXME: Enable the 4x scaled 7.5 track config. -#asap7_targets( -# name = "verilog_counter-asap7-sc7p5t_rev27_rvt_4x", -# size = 2000, -# has_gds = False, # No GDS for the 4x cells -# rev = 27, -# target = "verilog_counter", -# tracks = "7p5t", -# vt = "rvt_4x", -#) +asap7_targets( + name = "verilog_counter-asap7-sc7p5t_rev27_rvt_4x", + size = 2000, + has_gds = False, # No GDS for the 4x cells + rev = 27, + target = "verilog_counter", + tracks = "7p5t", + vt = "rvt_4x", +) # ASAP7 6 track rev 26 # FIXME: Enable the 6 track config.