blob: cac8c69439e2a655e7bf42d958a6f92c0eb301f3 [file] [log] [blame]
Ahmed Ghazyf744e2e2020-11-06 11:32:09 +02001# Power nets
2set ::power_nets $::env(VDD_PIN)
3set ::ground_nets $::env(GND_PIN)
4
5set ::macro_blockage_layer_list "li1 met1 met2 met3 met4 met5"
6
7pdngen::specify_grid stdcell {
8 name grid
9 rails {
10 met1 {width 0.48 pitch $::env(PLACE_SITE_HEIGHT) offset 0}
11 }
12 straps {
13 met4 {width 1.6 pitch $::env(FP_PDN_VPITCH) offset $::env(FP_PDN_VOFFSET)}
14 met5 {width 1.6 pitch $::env(FP_PDN_HPITCH) offset $::env(FP_PDN_HOFFSET)}
15 }
16 connect {{met1 met4} {met4 met5}}
17}
18
19pdngen::specify_grid macro {
Ahmed Ghazybcc25442020-11-10 23:00:14 +020020 power_pins "VPWR VDD vdd"
21 ground_pins "VGND VSS gnd"
Ahmed Ghazyf744e2e2020-11-06 11:32:09 +020022 blockages "li1 met1 met2 met3 met4"
23 straps {
24 }
25 connect {{met4_PIN_ver met5}}
26}
27
28set ::halo $::env(FP_HORIZONTAL_HALO)
29
30# POWER or GROUND #Std. cell rails starting with power or ground rails at the bottom of the core area
31set ::rails_start_with "POWER" ;
32
33# POWER or GROUND #Upper metal stripes starting with power or ground rails at the left/bottom of the core area
34set ::stripes_start_with "POWER" ;