Pranav Lulu
12/12/2022, 5:53 PMMitch Bailey
12/12/2022, 10:43 PMLVS netlist: Top level is a .subckt
is checked before pressing the Netlist
button on the top right.Pranav Lulu
12/13/2022, 1:37 AMStefan Schippers
12/13/2022, 9:46 AMSimulation->LVS netlist: top level is a subckt
is checked. This modifies slightly the netlist format for schematic vs layout (LVS) comparison.
If some components need a special netlist format for LVS a dedicated netlist rule can be given in the symbol with the lvs_format
attribute. You can copy this attribute from the format attribute used for spice netlisting and make the required changes.Stefan Schippers
12/13/2022, 9:50 AMPranav Lulu
12/14/2022, 11:52 AMPranav Lulu
12/22/2022, 6:14 AMPranav Lulu
01/02/2023, 8:53 AMStefan Schippers
01/03/2023, 1:38 PMformat
that sets the spice netlisting rule) that defines the netlisting rule if Simulation->LVS netlist: top level is a subckt
is selected. In LVS mode the netlist for a mos transistor looks like:
XM1 net1 G1v8 S B sky130_fd_pr__nfet_01v8_lvt L=0.15 W=1 nf=1 m=1
instead of:
XM1 net1 G1v8 S B sky130_fd_pr__nfet_01v8_lvt L=0.15 W=1 nf=1 ad='int((nf+1)/2) * W/nf * 0.29' as='int((nf+2)/2) * W/nf * 0.29'
+ pd='2*int((nf+1)/2) * (W/nf + 0.29)' ps='2*int((nf+2)/2) * (W/nf + 0.29)' nrd='0.29 / W' nrs='0.29 / W'
+ sa=0 sb=0 sd=0 mult=1 m=1
so area / perimeter params are not generated. The device line contains L, W, nf and m
which should be enough for checking vs layout. @Tim Edwards if netgen needs also area and perimeter for S/D regions let me know, if it does do i need to present the calculated values in the LVS netlist (or does netgen understand equations?)Stefan Schippers
01/03/2023, 1:46 PMLVS netlist: top level is a subckt
not checked)
XM1 net1 G1v8 S B sky130_fd_pr__nfet_01v8_lvt L=0.15 W=1 nf=1 ad=0.5 as=0.5 pd=1.5 ps=1.5 nrd=0.1
+ nrs=0.1 sa=0 sb=0 sd=0 mult=1 m=1
Pranav Lulu
01/03/2023, 1:48 PMStefan Schippers
01/03/2023, 1:52 PMopen_pdks
. If you don't want to go through the rather long open_pdks
update then you might want to clone the xschem_sky130 repository and copy the sky130_fd_pr/
directory replacing the one in the pdk installation /..../share/pdk/sky130A/libs.tech/xschem/sky130_fd_pr
Pranav Lulu
01/03/2023, 1:53 PM