| # |
| # Copyright 2020 Muhammad Hadir Khan |
| # |
| # 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 |
| # |
| # https://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. |
| |
| # Power nets |
| set ::power_nets $::env(VDD_PIN) |
| set ::ground_nets $::env(GND_PIN) |
| |
| set ::macro_blockage_layer_list "li1 met1 met2 met3 met4 met5" |
| |
| pdngen::specify_grid stdcell { |
| name grid |
| rails { |
| met1 {width $::env(FP_PDN_RAIL_WIDTH) pitch $::env(PLACE_SITE_HEIGHT) offset $::env(FP_PDN_RAIL_OFFSET)} |
| } |
| straps { |
| met4 {width $::env(FP_PDN_VWIDTH) pitch $::env(FP_PDN_VPITCH) offset $::env(FP_PDN_VOFFSET)} |
| } |
| connect {{met1 met4} } |
| } |
| |
| pdngen::specify_grid macro { |
| orient {R0 R180 MX MY R90 R270 MXR90 MYR90} |
| power_pins "VDDE" |
| ground_pins "VSSE" |
| blockages "li1 met1 met2 met3 met4 met5" |
| straps { |
| } |
| connect { } |
| } |
| |
| set ::halo 0 |
| |
| # Metal layer for rails on every row |
| set ::rails_mlayer "met1" ; |
| |
| # POWER or GROUND #Std. cell rails starting with power or ground rails at the bottom of the core area |
| set ::rails_start_with "POWER" ; |
| |
| # POWER or GROUND #Upper metal stripes starting with power or ground rails at the left/bottom of the core area |
| set ::stripes_start_with "POWER" ; |