Ignore fill and tap cells in device level LVS
diff --git a/sky130/netgen/sky130_setup.tcl b/sky130/netgen/sky130_setup.tcl
index d9fe380..4053b97 100644
--- a/sky130/netgen/sky130_setup.tcl
+++ b/sky130/netgen/sky130_setup.tcl
@@ -275,20 +275,28 @@
# e.g., ignore class "-circuit2 sky130_fc_sc_hd__decap_3"
#---------------------------------------------------------------
-foreach cell $cells1 {
- if {[regexp {sky130_fd_sc_[^_]+__decap_[[:digit:]]+} $cell match]} {
- ignore class "-circuit1 $cell"
+if { [info exist ::env(MAGIC_EXT_USE_GDS)] && $::env(MAGIC_EXT_USE_GDS) } {
+ foreach cell $cells1 {
+# if {[regexp {sky130_fd_sc_[^_]+__decap_[[:digit:]]+} $cell match]} {
+# ignore class "-circuit1 $cell"
+# }
+ if {[regexp {sky130_fd_sc_[^_]+__fill_[[:digit:]]+} $cell match]} {
+ ignore class "-circuit1 $cell"
+ }
+ if {[regexp {sky130_fd_sc_[^_]+__tapvpwrvgnd_[[:digit:]]+} $cell match]} {
+ ignore class "-circuit1 $cell"
+ }
}
- if {[regexp {sky130_fd_sc_[^_]+__fill_[[:digit:]]+} $cell match]} {
- ignore class "-circuit1 $cell"
- }
-}
-foreach cell $cells2 {
- if {[regexp {sky130_fd_sc_[^_]+__decap_[[:digit:]]+} $cell match]} {
- ignore class "-circuit2 $cell"
- }
- if {[regexp {sky130_fd_sc_[^_]+__fill_[[:digit:]]+} $cell match]} {
- ignore class "-circuit2 $cell"
+ foreach cell $cells2 {
+# if {[regexp {sky130_fd_sc_[^_]+__decap_[[:digit:]]+} $cell match]} {
+# ignore class "-circuit2 $cell"
+# }
+ if {[regexp {sky130_fd_sc_[^_]+__fill_[[:digit:]]+} $cell match]} {
+ ignore class "-circuit2 $cell"
+ }
+ if {[regexp {sky130_fd_sc_[^_]+__tapvpwrvgnd_[[:digit:]]+} $cell match]} {
+ ignore class "-circuit2 $cell"
+ }
}
}