To fire up Python, run Python from the command line and then import eispice module with Import eispice command. Then, check out Python scripts in the test/pass directory for some examples, or try out the example below:
[stextbox id=”info”]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’)
Just like SPICE 3, eispice statements also come in three distinct varieties: component definition (these are device names, types, connection nodes and parameter values), analysis commands (these obviously work on the analysis part, beefing up the back-end analyses) and post-processing commands (like plot, these give a visual look to the data that you get otherwise).
The direction the future is staring at
The primary new feature for the next release is supposed to be this revolutionary W-element-like multi-conductor, frequency-dependent model. Plans for eispice also reveal something known as a digital signalling layer, which assists in driving real signals and not just the rising or falling edge.
To add to this list, a graphical schematic entry tool and an even better graphing tool is expected to replace the obsolete counterparts as of now.
There are many more features that have been promised by the developers of eispice project. They say, you can get the hang of Python from a newbie level to beginner level in a mere half an hour. Though the time seems adequate for Mensa people, even I was able to do some Python coding after only a couple of hours!
Charles Eidsness is the main developer behind eispice, and it has been nothing short of a miracle for many simulation users who wanted to use a front-end driven neatly by Python.
Download latest version of the software: click here
For more exciting software reviews: click here
Ashwin Gopinath, an engineer, is currently pursuing MBA in operations from Great Lakes Institute of Management (GLIM), Chennai