20Mhz
07/19/2020, 8:53 PMmehdi
07/19/2020, 10:21 PM20Mhz
07/19/2020, 10:32 PMOpening file for replace: objects/sw130/copperv/merged.lib.tmp
(^\s*cell\s*\(\s*("sky130_fd_sc_hs__dlymetal6s6s_1"|"sky130_fd_sc_hs__buf_2"|"sky130_fd_sc_hs__clkbuf_4"|"sky130_fd_sc_hs__dfxtp_1")\)\s*\{)
Marked 4 cells as dont_use
From .lib
cell ("sky130_fd_sc_hs__buf_2") {
So from how the pattern was defined, it was expecting the quotes to be passed, if I don’t escape them, they get lost in the make assignmentmehdi
07/19/2020, 10:35 PM20Mhz
07/19/2020, 10:36 PMmehdi
07/19/2020, 10:37 PM20Mhz
07/19/2020, 10:50 PMpattern = r"(^\s*cell\s*\(\s*("+"|".join(patternList)+")\)\s*\{)"
I checked on my end and I see both ways w and wo “, even on production libs.mehdi
07/19/2020, 10:51 PMpattern = r"(^\s*cell\s*\([\"]\s*("+"|".join(patternList)+")\[\"])\s*\{)"
20Mhz
07/20/2020, 2:06 AMpattern = r"(^\s*cell\s*\(\s*([\"]*"+"[\"]*|[\"]*".join(patternList)+"[\"]*)\)\s*\{)"