Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix powergrids #123

Merged
merged 2 commits into from
Dec 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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}
Loading