Hi guys! I have the top block of my circuit (devi...
# general
h
Hi guys! I have the top block of my circuit (device-complete) and a can run the simulation (it takes a few minutes, but runs correctly). So i'm trying to put my circuit into a user_wrapper. First question is: that file comp.out is from LVS. It means the LVS is ok? I see "pins equivalent" and "devices equivalent" in the final lines. But i don't understand the "Final result: Verify: cell ../xschem/simulation/user_analog_project_wrapper.spice has no elements and/or nodes. Not checked." I left some pins open because i did not need them. Second question is: when i change my device on test bench to my user_wrapper (with my device-complete inside), there are some errors (ngspice.txt). What should be?
m
@Hugo Dias For LVS, you want to use a spice file that has the top block defined as a
.SUBCKT
. Before creating the netlist from xschem, select
Simulation
->`LVS netlist: Top level is a .subckt`
h
I did that, but happened the same.
m
@Hugo Dias Can you post the netgen command you’re using?
h
netgen -batch lvs "../mag/user_analog_project_wrapper.spice user_analog_project_wrapper" "../xschem/simulation/user_analog_project_wrapper.spice user_analog_project_wrapper" setup.tcl comp.out
setup.tcl is a link to
~/sky130_workspace/open_pdks/sky130/sky130A/libs.tech/netgen/sky130A_setup.tcl
m
@Hugo Dias Thanks for reporting. Can you post your spice files here? Also, what version of netgen are you using?
netgen -batch
And what’s the pdk version?
cat $PDK_ROOT/sky130A/SOURCES
h
Netgen 1.5.244 compiled on sex 03 fev 2023 15:27:56 -03
There's other way to check the pdk version? Because this command you suggest is not generating any output on terminal.
m
If you’re using volare,
volare
.
Your extracted netlist has
Copy code
* Black-box entry subcircuit for user_analog_project_wrapper abstract view
.subckt user_analog_project_wrapper gpio_analog[0] gpio_analog[10] gpio_analog[11]
Is this a
maglef
file or a
mag
file extraction?
h
i dit:
extract all
ext2spice lvs
ext2spice
on my of
user_analog_project_wrapper.mag
with my device inside it.
m
Check the properties on
user_analog_project_wrapper
. Does
Copy code
property LEFview
return anything in magic? If it’s set to
TRUE
, you probably want to set it to
FALSE
.