It looks like you're new here. If you want to get involved, click one of these buttons!
I want to use SPICE netlist with ".include" keyword as LVS reference schematics.
At present, Klayout do not support reading such netlist, right?
Then, I use simple pre script to modify SPICE netlist by replace (insert)
contents of the file at ".include" position.
Can anyone show the script to realize such procedure in Klayout LVS script?.
Should I may request as enhancement of input SPICE format ?
*Original LVS schematics *
X1 in out VDD VSS INV1
/aaa/bbb/standardcell.cir -> Library netlist for all standard cell sub circuit.
.SUBCKT INV1 in out VDD VSS
Mp out in VDD VDD pch L=1u W=1u
Mn out in VSS VSS nch L=1u W=1u
.SUBCKT INV2 in out VDD VSS
Mp out in VDD VDD pch L=1u W=2u
Mn out in VSS VSS nch L=1u W=2u