Yuan Mei
05/26/2021, 1:29 PMopen_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!Tim Edwards
05/26/2021, 1:34 PM.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.Stefan Schippers
05/26/2021, 4:58 PMopen_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...