Closed JacobEFO closed 3 months ago
Add a remzerovec
before the write
instructions. This removes zero length vectors (for example some transistor body currents) before writing a raw file. I consider this a ngspice issue, since I don't understand why these vectors are not removed automatically instead of refusing to generate the output raw file.
...
...
dc vp 0 1.8 0.005
remzerovec
write nfet_01v8.raw
...
...
This did indeed resolve the issue. Adding remzerovec
was the right resolution.
Thank you very much for your assistance.
Hi,
I am currently battling some funky issues. I should have successfully installed all the tools, in the right manner and without errors.
What I initially did was run the open_pdk xscheem tests, running the
test_nmos.sch
andtest_res.sch
benches that both successfully run and generate results, both withsky130A
andsky130B
.When I then make my own schematic with a single primitive I get some simulation issues with
nfet_01v8
,nfet_03v3_nvt
andnfet_05v0_nvt
, both in 4T and 3T models. You can see the issue below (and similarly for the other types of devices):and it does not generate my
.raw
file. If I use thenfet_20v0
I have no problems simulating whatsoever. You can see an example of the faouoeg netlist:And the successful one:
I have tried removing all the settings for parameters such as
ad
etc, moving around themult
,m
,nf
and so forth to no avail and I am at a loss at the moment. This issue occurs both in a MacOS v.12 installation and this one on my Fedora.One thing I noticed in the
models_fet.spice
-file is the definition for the 20 V NMOS looks vastly different from the failing NMOS devices as you can see below:Found with
rg subckt models_fet.spice
in the installed location/share/pdk/sky130B/libs.tech/combined/continuous
.Can you possibly see where I go wrong here?