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

checks/magic: index arguments from end #187

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
20 changes: 10 additions & 10 deletions checks/drc_checks/magic/magic_drc_check.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@
# SPDX-License-Identifier: Apache-2.0


set GDS_UT_PATH [lindex $argv 6]
set DESIGN_NAME [lindex $argv 7]
set PDK_PATH [lindex $argv 8]
set DRC_REPORT [lindex $argv 9]
set DRC_MAG [lindex $argv 10]
set SRAM_MODULES [lindex $argv 11]
set ESD_FET [lindex $argv 12]
set HAS_SRAM [lindex $argv 13]
set HAS_ESD_FET [lindex $argv 14]
set GDS_UT_PATH [lindex $argv end-8]
set DESIGN_NAME [lindex $argv end-7]
set PDK_PATH [lindex $argv end-6]
set DRC_REPORT [lindex $argv end-5]
set DRC_MAG [lindex $argv end-4]
set SRAM_MODULES [lindex $argv end-3]
set ESD_FET [lindex $argv end-2]
set HAS_SRAM [lindex $argv end-1]
set HAS_ESD_FET [lindex $argv end]

if { $HAS_ESD_FET } {
gds noduplicates yes
Expand Down Expand Up @@ -90,4 +90,4 @@ puts stdout "\[INFO\]: Saving mag view with DRC errors($DRC_MAG)"
save $DRC_MAG
puts stdout "\[INFO\]: Saved"

exit $count
exit $count
6 changes: 3 additions & 3 deletions checks/xor_check/erase_box.tcl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
drc off
set gds_input [lindex $argv 6]
set out_file [lindex $argv 7]
set cell_name [lindex $argv 8]
set gds_input [lindex $argv end-2]
set out_file [lindex $argv end-1]
set cell_name [lindex $argv end]
undo disable
tech unlock *
cif istyle sky130(vendor)
Expand Down
6 changes: 3 additions & 3 deletions checks/xor_check/erase_box_gf180mcu.tcl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
drc off
set gds_input [lindex $argv 6]
set out_file [lindex $argv 7]
set cell_name [lindex $argv 8]
set gds_input [lindex $argv end-2]
set out_file [lindex $argv end-1]
set cell_name [lindex $argv end]
undo disable
tech unlock *
cif istyle sky130(vendor)
Expand Down