Skip to content

Commit

Permalink
Merge pull request #123 from siliconcompiler/fix-pdn
Browse files Browse the repository at this point in the history
fix powergrids
  • Loading branch information
gadfort authored Dec 20, 2024
2 parents 6d5c3bf + a317d6c commit b309862
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion lambdapdk/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import siliconcompiler.package as sc_package


__version__ = "0.1.42"
__version__ = "0.1.43"


def register_data_source(chip):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ set_voltage_domain -name {CORE} -power {VDD} -ground {VSS}
####################################
# standard cell grid
####################################
define_pdn_grid -name {block} -voltage_domains {CORE}
add_pdn_stripe -grid {block} -layer {Metal1} -width {0.900} -pitch {3.92} -offset {0} -followpins
define_pdn_grid -name {grid} -voltage_domains {CORE}
add_pdn_stripe -grid {grid} -layer {Metal1} -width {0.900} -pitch {3.92} -offset {0} -followpins

set metal4_pitch [expr {([lindex [ord::get_core_area] 2] - [lindex [ord::get_core_area] 0]) / 2}]
if {$metal4_pitch > 44.8} {
Expand All @@ -31,6 +31,6 @@ add_pdn_stripe -grid {grid} -layer {Metal4} -width {1.600} -pitch [snap_grid $me
-offset [snap_grid [expr {$metal4_pitch / 4}]]
add_pdn_stripe -grid {grid} -layer {Metal5} -width {1.600} -pitch [snap_grid $metal5_pitch] \
-offset [snap_grid [expr {$metal5_pitch / 4}]]
add_pdn_connect -grid {block} -layers {Metal1 Metal4} -max_columns {5} \
add_pdn_connect -grid {grid} -layers {Metal1 Metal4} -max_columns {5} \
-ongrid {Metal2 Metal3 Metal4}
add_pdn_connect -grid {block} -layers {Metal4 Metal5}
add_pdn_connect -grid {grid} -layers {Metal4 Metal5}
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ set_voltage_domain -name {CORE} -power {VDD} -ground {VSS}
####################################
# standard cell grid
####################################
define_pdn_grid -name {block} -voltage_domains {CORE}
add_pdn_stripe -grid {block} -layer {Metal1} -width {0.900} -pitch {5.040} -offset {0} -followpins
define_pdn_grid -name {grid} -voltage_domains {CORE}
add_pdn_stripe -grid {grid} -layer {Metal1} -width {0.900} -pitch {5.040} -offset {0} -followpins

set metal4_pitch [expr {([lindex [ord::get_core_area] 2] - [lindex [ord::get_core_area] 0]) / 2}]
if {$metal4_pitch > 44.8} {
Expand All @@ -31,6 +31,6 @@ add_pdn_stripe -grid {grid} -layer {Metal4} -width {1.600} -pitch [snap_grid $me
-offset [snap_grid [expr {$metal4_pitch / 4}]]
add_pdn_stripe -grid {grid} -layer {Metal5} -width {1.600} -pitch [snap_grid $metal5_pitch] \
-offset [snap_grid [expr {$metal5_pitch / 4}]]
add_pdn_connect -grid {block} -layers {Metal1 Metal4} -max_columns {5} \
add_pdn_connect -grid {grid} -layers {Metal1 Metal4} -max_columns {5} \
-ongrid {Metal2 Metal3 Metal4}
add_pdn_connect -grid {block} -layers {Metal4 Metal5}
add_pdn_connect -grid {grid} -layers {Metal4 Metal5}

0 comments on commit b309862

Please sign in to comment.