New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ngspyce using ngspice.dll under windows ? #5
Comments
I got 4 examples to work: Downloaded ngspice.dll and related files from http://ngspice.sourceforge.net/shared.html Modified ngspyce.py because of the path issue:
also had to install under a Python 3 environment in Anaconda because it uses things like list.clear() that are not in Python 2? |
Found this http://stackoverflow.com/a/13277363/125507 and changed my code to this:
ngspice-26plus-master-32.7z also has ngspice.dll but the folder structure is different? |
Maybe related to this line of spinit?:
|
Hi,
I compile a windows x64 based
ngspice.dll
for ngspyce and modify line 12 ofngspyce.py
as:I placed all
ngspice
binaries andngspice.dll
inD:/Tools/spice/bin
, and set up thePATH
environment of windows asD:\Tools\spice\bin
.ngspyce
can be loaded and it can find the dll!In order to find
spinit
file for ngspice, I setSPICE_SCRIPTS
of windows toD:\Tools\spice\share\ngspice\scripts
, and modifyspinit
asall the examples,
lowpass_filter.py
andnpn.py
work fine ! But it keeps complainingthe
quad.py
failed becausespice2poly.cm
can not be loaded.Can we solve it and enable
ngspyce
for windows ?BTW: when simulating
quad.py
, ngspice seems to be much slower thanLTSpice
.The text was updated successfully, but these errors were encountered: