Hi, Everything seems well in my LVS (devices and n...
# sky130
h
Hi, Everything seems well in my LVS (devices and nets), but the pin doesn't match. I dont know why :/
m
Looks like your xschem netlist doesn’t have the standard cell library included. Maybe #lvs is a good place to ask in the future.
h
@Mitch Bailey
m
Is this output in your LVS netlist? Can you share your spice file?
h
This is the edit window showing what have inside the TT Models. I think the std lib is in that.
** sch_path: /home/hugodg/projects-sky130/temp-sensor/sigma-delta_modulator/xschem/sigma_tb-tran.sch **.subckt sigma_tb-tran vin in GND PULSE (0 1.8 0 2m 2m 0 2m) .save i(vin) vpwr vpwr GND 1.8 .save i(vpwr) V3 clk GND pulse 0 1.8 '0.495/ 10e6 ' '0.01/10e6 ' '0.01/10e6 ' '0.49/10e6 ' '1/10e6 ' x1 vpwr clk out in vpwr GND vd sigma-delta vd vd GND 1.8 .save i(vd) ** begin user architecture code *cmd step stop *PULSE ( V1 V2 TD TR TF PW PER PHASE) .control destroy all save all set color0=white set color1=black set temp=27 tran 10n 2m run plot in out .endc .lib /usr/local/share/pdk/sky130A/libs.tech/ngspice/sky130.lib.spice tt .include /usr/local/share/pdk/sky130A/libs.ref/sky130_fd_sc_hd/spice/sky130_fd_sc_hd.spice ** end user architecture code **.ends * expanding symbol: *+ /home/hugodg/projects-sky130/temp-sensor/sigma-delta_modulator/xschem/sigma-delta.sym # of pins=7 ** sym_path: /home/hugodg/projects-sky130/temp-sensor/sigma-delta_modulator/xschem/sigma-delta.sym ** sch_path: /home/hugodg/projects-sky130/temp-sensor/sigma-delta_modulator/xschem/sigma-delta.sch .subckt sigma-delta vpwr clk out in reset_b_dff gnd vd *.ipin in *.iopin gnd *.iopin clk *.iopin out *.iopin reset_b_dff *.iopin vpwr *.iopin vd ** begin user architecture code ** end user architecture code XC1 in_comp gnd sky130_fd_pr__cap_mim_m3_1 W=27.196 L=27.196 MF=1 m=1 XR2 Q in_comp gnd sky130_fd_pr__res_xhigh_po_0p35 L=36 mult=1 m=1 XR1 in_comp in gnd sky130_fd_pr__res_xhigh_po_0p35 L=36 mult=1 m=1 XN1 out_comp in_comp gnd gnd sky130_fd_pr__nfet_01v8 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 XP1 out_comp in_comp vd vd sky130_fd_pr__pfet_01v8 L=0.15 W=3 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 x1 clk out_comp reset_b_dff GND GND VPWR VPWR Q out sky130_fd_sc_hd__dfrbp_1 .ends .GLOBAL GND .end
m
Well that’s not an LVS netlist. (or at least not what I’m used to seeing). xschem has an option under the simulation menu to create an LVS netlist.
h
** sch_path: /home/hugodg/projects-sky130/temp-sensor/sigma-delta_modulator/xschem/sigma-delta.sch .subckt sigma-delta in gnd clk out reset_b_dff vpwr vd *.PININFO in:I gnd:B clk:B out:B reset_b_dff:B vpwr:B vd:B XC1 in_comp gnd sky130_fd_pr__cap_mim_m3_1 W=27.196 L=27.196 MF=1 m=1 XR2 Q in_comp gnd sky130_fd_pr__res_xhigh_po_0p35 L=36 mult=1 m=1 XR1 in_comp in gnd sky130_fd_pr__res_xhigh_po_0p35 L=36 mult=1 m=1 XN1 out_comp in_comp gnd gnd sky130_fd_pr__nfet_01v8 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 XP1 out_comp in_comp vd vd sky130_fd_pr__pfet_01v8 L=0.15 W=3 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 x1 clk out_comp reset_b_dff GND GND VPWR VPWR Q out sky130_fd_sc_hd__dfrbp_1 ** begin user architecture code ** end user architecture code .ends .end
m
much better, but doesn’t include the skywater library. Maybe you can add that manually and see what happens. (if this is where your pdk is installed)
Copy code
.include /usr/local/share/pdk/sky130A/libs.ref/sky130_fd_sc_hd/spice/sky130_fd_sc_hd.spice
🙌 1
h
It works, thankss 🙂 .LVS done.
👍 1