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

Tapeout lvs #535

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Changes to lef creation to avoid magic bug and reram addtions.
d-m-bailey committed Apr 19, 2024

Verified

This commit was signed with the committer’s verified signature.
torkelrogstad Torkel Rogstad
commit e770336d96bbd8669e7a7ab7f8c80b94eeafa384
1 change: 1 addition & 0 deletions scripts/be_checks/lvs_config.md
Original file line number Diff line number Diff line change
@@ -6,6 +6,7 @@ Required variables:
- **TOP_SOURCE** : Top source cell name.
- **TOP_LAYOUT** : Top layout cell name.
- **LAYOUT_FILE** : Layout gds data file.
- **LVS_SPICE_FILES_TO_FIX** : A list of spice files that work with mag extraction but need to be modified for gds extraction.
- **LVS_SPICE_FILES** : A list of spice files.
- **LVS_VERILOG_FILES** : A list of verilog files. Note: files with child modules should be listed before parent modules. Not needed for purely analog designs.

2 changes: 1 addition & 1 deletion scripts/be_checks/run_extract
Original file line number Diff line number Diff line change
@@ -280,7 +280,7 @@ foreach cell { $ABSTRACT_CELLS } { ;# Set abstract cells and delete all their su
}
}
lef nocheck vssd1 vssd2 vccd1 vccd2 vssa1 vssa2 vdda1 vdda2
lef write \$cell -hide 10um -pinonly 10um
lef write \$cell -hide -pinonly
}
}
set current_time [orig_clock seconds]
7 changes: 4 additions & 3 deletions scripts/be_checks/run_hier_check
Original file line number Diff line number Diff line change
@@ -71,7 +71,7 @@ if [[ $(echo $SOURCE_FILES | wc -w) -gt 0 ]]; then

sed '/^[ ]*module[ ].*[^ ](/s/(/ (/' $(echo $SOURCE_FILES) |
awk -v top=$TOP_SOURCE '
$1 ~ /^\/\*/ {
$1 ~ /^\/\*/ { # skip block comments
while ( ! /\*\// ) {
getline;
}
@@ -80,16 +80,17 @@ if [[ $(echo $SOURCE_FILES | wc -w) -gt 0 ]]; then
if ( $2 in modules ) {
print "Duplicate module definition", $2 > "'$WORK_ROOT/hier.log'";
}
modules[$2] = 1;
if ( ! ( $2 in cells ) ) {
cells[$2] = 1;
}
module = $2;
next;
}
$1 ~ /^\/\// {
$1 ~ /^[ ]*\/\// { # skip single line comments
next;
}
/ \(/ && ! /^[ ]*\/\*/ {
/ \(/ && $1 !~ /^\./ {
key = module "/" $1;
if ( ! ( $1 in cells ) ) {
cells[$1] = 1;
1 change: 1 addition & 0 deletions scripts/be_checks/tech/sky130B/cvc.models
Original file line number Diff line number Diff line change
@@ -45,6 +45,7 @@ R sky130_fd_pr__res_high_po_1p41 R=l/1.41*300
R sky130_fd_pr__res_high_po_2p85 R=l/2.85*300
R sky130_fd_pr__res_high_po_5p73 R=l/5.73*300
R sky130_fd_pr__res_iso_pw R=l/w*4400
R sky130_fd_pr_reram__reram_cell R=10
R sky130_fd_pr__reram_reram_cell R=10

MN sky130_fd_pr__nfet_01v8 Vth=0.2 Vgs=1.8 Vds=1.8
1 change: 1 addition & 0 deletions scripts/be_checks/tech/sky130B/known_abstract_filter.awk
Original file line number Diff line number Diff line change
@@ -2,4 +2,5 @@
/__tapvpwrvgnd_/ {next}
/__fakediode_/ {next}
/sky130_fd_pr__/ {next} # ignore primitive devices
/sky130_fd_pr_reram__/ {next} # ignore primitive reram devices
{ print }
2 changes: 1 addition & 1 deletion scripts/be_checks/tech/sky130B/spi2cdl
Original file line number Diff line number Diff line change
@@ -29,7 +29,7 @@ awk '
print "R" $0, "$SUB=" bulk;
next;
}
/^X.*sky130_fd_pr__reram_reram_cell.*=/ {
/^X.*sky130_fd_pr.*_reram_cell.*=/ {
print "R" $0;
next;
}