narrat / eispice Goto Github PK
View Code? Open in Web Editor NEWeispice is a clone of the Berkley SPICE 3 Simulation Engine
Home Page: http://www.thedigitalmachine.net/eispice.html
License: GNU General Public License v2.0
eispice is a clone of the Berkley SPICE 3 Simulation Engine
Home Page: http://www.thedigitalmachine.net/eispice.html
License: GNU General Public License v2.0
Warning issued while compiling. Look into it.
Doing a plain make install work so far.
But creating a package for pacman throw errors.
Simply said. It cannot locate the custom header files.
Python-transition is almost complete (I think)
Following error running thest.py
FERROR:simulator ./module/simulatormodule.c:1633 !PyArg_ParseTupleAndKeywords(args, kwds, "|S:circuit", kwlist, &r->title) --
ERROR:LIBNAME core/simulator.c:662 *r == NULL --
WARNING:simulator ./module/simulatormodule.c:1457 Failed to destroy simulator
FERROR:simulator ./module/simulatormodule.c:1633 !PyArg_ParseTupleAndKeywords(args, kwds, "|S:circuit", kwlist, &r->title) --
ERROR:LIBNAME core/simulator.c:662 *r == NULL --
WARNING:simulator ./module/simulatormodule.c:1457 Failed to destroy simulator
FERROR:simulator ./module/simulatormodule.c:1633 !PyArg_ParseTupleAndKeywords(args, kwds, "|S:circuit", kwlist, &r->title) --
ERROR:LIBNAME core/simulator.c:662 *r == NULL --
WARNING:simulator ./module/simulatormodule.c:1457 Failed to destroy simulator
FERROR:simulator ./module/simulatormodule.c:1633 !PyArg_ParseTupleAndKeywords(args, kwds, "|S:circuit", kwlist, &r->title) --
ERROR:LIBNAME core/simulator.c:662 *r == NULL --
WARNING:simulator ./module/simulatormodule.c:1457 Failed to destroy simulator
ERROR:simulator ./module/simulatormodule.c:1083 !PyArg_ParseTupleAndKeywords(args, kwds, "OOsS:B", kwlist, &pNode, &nNode, &type, &r->equation) --
ERROR:simulator ./module/simulatormodule.c:1633 !PyArg_ParseTupleAndKeywords(args, kwds, "|S:circuit", kwlist, &r->title) --
ERROR:LIBNAME core/simulator.c:662 *r == NULL --
WARNING:simulator ./module/simulatormodule.c:1457 Failed to destroy simulator
ERROR:simulator ./module/simulatormodule.c:1083 !PyArg_ParseTupleAndKeywords(args, kwds, "OOsS:B", kwlist, &pNode, &nNode, &type, &r->equation) --
ERROR:simulator ./module/simulatormodule.c:1633 !PyArg_ParseTupleAndKeywords(args, kwds, "|S:circuit", kwlist, &r->title) --
ERROR:LIBNAME core/simulator.c:662 *r == NULL --
WARNING:simulator ./module/simulatormodule.c:1457 Failed to destroy simulator
ERROR:simulator ./module/simulatormodule.c:1083 !PyArg_ParseTupleAndKeywords(args, kwds, "OOsS:B", kwlist, &pNode, &nNode, &type, &r->equation) --
FERROR:simulator ./module/simulatormodule.c:1633 !PyArg_ParseTupleAndKeywords(args, kwds, "|S:circuit", kwlist, &r->title) --
ERROR:LIBNAME core/simulator.c:662 *r == NULL --
WARNING:simulator ./module/simulatormodule.c:1457 Failed to destroy simulator
FERROR:simulator ./module/simulatormodule.c:1633 !PyArg_ParseTupleAndKeywords(args, kwds, "|S:circuit", kwlist, &r->title) --
ERROR:LIBNAME core/simulator.c:662 *r == NULL --
WARNING:simulator ./module/simulatormodule.c:1457 Failed to destroy simulator
ERROR:simulator ./module/simulatormodule.c:1083 !PyArg_ParseTupleAndKeywords(args, kwds, "OOsS:B", kwlist, &pNode, &nNode, &type, &r->equation) --
FERROR:simulator ./module/simulatormodule.c:1633 !PyArg_ParseTupleAndKeywords(args, kwds, "|S:circuit", kwlist, &r->title) --
ERROR:LIBNAME core/simulator.c:662 *r == NULL --
WARNING:simulator ./module/simulatormodule.c:1457 Failed to destroy simulator
ERROR:simulator ./module/simulatormodule.c:1083 !PyArg_ParseTupleAndKeywords(args, kwds, "OOsS:B", kwlist, &pNode, &nNode, &type, &r->equation) --
FERROR:simulator ./module/simulatormodule.c:1633 !PyArg_ParseTupleAndKeywords(args, kwds, "|S:circuit", kwlist, &r->title) --
ERROR:LIBNAME core/simulator.c:662 *r == NULL --
WARNING:simulator ./module/simulatormodule.c:1457 Failed to destroy simulator
ERROR:simulator ./module/simulatormodule.c:1083 !PyArg_ParseTupleAndKeywords(args, kwds, "OOsS:B", kwlist, &pNode, &nNode, &type, &r->equation) --
FERROR:simulator ./module/simulatormodule.c:1633 !PyArg_ParseTupleAndKeywords(args, kwds, "|S:circuit", kwlist, &r->title) --
ERROR:LIBNAME core/simulator.c:662 *r == NULL --
WARNING:simulator ./module/simulatormodule.c:1457 Failed to destroy simulator
ERROR:simulator ./module/simulatormodule.c:1083 !PyArg_ParseTupleAndKeywords(args, kwds, "OOsS:B", kwlist, &pNode, &nNode, &type, &r->equation) --
FERROR:simulator ./module/simulatormodule.c:1633 !PyArg_ParseTupleAndKeywords(args, kwds, "|S:circuit", kwlist, &r->title) --
ERROR:LIBNAME core/simulator.c:662 *r == NULL --
WARNING:simulator ./module/simulatormodule.c:1457 Failed to destroy simulator
ERROR:simulator ./module/simulatormodule.c:1083 !PyArg_ParseTupleAndKeywords(args, kwds, "OOsS:B", kwlist, &pNode, &nNode, &type, &r->equation) --
FERROR:simulator ./module/simulatormodule.c:1633 !PyArg_ParseTupleAndKeywords(args, kwds, "|S:circuit", kwlist, &r->title) --
ERROR:LIBNAME core/simulator.c:662 *r == NULL --
WARNING:simulator ./module/simulatormodule.c:1457 Failed to destroy simulator
FERROR:simulator ./module/simulatormodule.c:1633 !PyArg_ParseTupleAndKeywords(args, kwds, "|S:circuit", kwlist, &r->title) --
ERROR:LIBNAME core/simulator.c:662 *r == NULL --
WARNING:simulator ./module/simulatormodule.c:1457 Failed to destroy simulator
FERROR:simulator ./module/simulatormodule.c:1633 !PyArg_ParseTupleAndKeywords(args, kwds, "|S:circuit", kwlist, &r->title) --
ERROR:LIBNAME core/simulator.c:662 *r == NULL --
WARNING:simulator ./module/simulatormodule.c:1457 Failed to destroy simulator
Speicherzugriffsfehler (Speicherabzug geschrieben)
Executing following example:
import eispice
cct = eispice.Circuit("Capacitor Test")
cct.Vx = eispice.V(1, eispice.GND, 4,
eispice.Pulse(4, 8, '10n', '2n', '3n', '5n', '20n'))
cct.Cx = eispice.C(1, eispice.GND, '10n')
cct.tran('0.5n', '100n')
eispice.plot(cct)
show one remaining problem:
Traceback (most recent call last):
File "/home/omnius/Sim/eiSpice/Examples/capacitor.py", line 2, in <module>
cct = eispice.Circuit("Capacitor Test")
File "/usr/lib/python3.3/site-packages/eispice/circuit.py", line 127, in __init__
Circuit_.__init__(self, title)
TypeError: circuit() argument 1 must be bytes, not str
Used on this line
cct = eispice.Circuit(b"Capacitor Test")
and got to:
Traceback (most recent call last):
File "/home/omnius/Sim/eiSpice/Examples/capacitor.py", line 4, in <module>
eispice.Pulse(4, 8, '10n', '2n', '3n', '5n', '20n'))
File "/usr/lib/python3.3/site-packages/eispice/circuit.py", line 138, in __setattr__
Circuit_.__setattr__(self, name, value)
TypeError: expected bytes, str found
Not sure at the moment how to fix that
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.