<@U016EM8L91B> and <@U01819B63HP>: It appears that...
# xschem
y
@User and @User: It appears that in
open_pdks
,
sky130A
, the (patched) spice models and the files under
libs.tech/xschem
are quite out of sync. I tried to open
test_nmos
for simulation using ngspice and found that the paths of a lot of the
.include
files need to be updated. For instance, there's no
cells
in the file path anymore. Also, the following two lines seems to be needed in the generated
test_nmos.spice
netlist in order to make the simulation work:
.param mc_mm_switch=0
,
.param mc_pr_switch=1
. Could you please check and update the repo? These very good example schematics are very useful for beginners to take a look at and they better work out of the box. Thanks!
t
@mkk was running some tests of xschem yesterday, and I found out that there are subcircuit code blocks that are not correct for using with the open_pdks install. I had been manually adding code blocks to the schematic to add the
.lib
command to the top of the simulation testbench. I will run a script on the xschem_sky130 files to modify this for use with open_pdks.
s
Yes, using
open_pdks
the includes need to be replaced with a single .lib sourcing the right file under
..../pdks/sky130A/libs.tech/ngspice/sky130.lib.spice
, this because previously xschem was using directly the
..../skywater-pdk/libraries/sky130_fd_pr/latest/...
files. If everyone agrees i can finalize the transition defaulting to pdks. This requires users to do the full open_pdks install, but i think this is the right path to follow...