Pyspice 0.2

Pyspice is a SPICE pre-processor written in Python, inspired by the Perl SPICE pre-processor spicepp by John Sheahan.
Pyspice is a SPICE pre-processor written in Python, inspired by the Perl SPICE pre-processor spicepp by John Sheahan.

I developed this module as part of my own work and provide it here as a service to the Python and SPICE communities. Additions, suggestions, and usefullness reports are appreciated. It is currently licensed under the GPL.

It was (is currently being) developed with Python 2.4 and uses a few features introduced in 2.4. they relate to (re)sorting the netlist lines.

Here are some key features of "Pyspice":

· Each input "card" type has its own object type.
· Netlists are converted into an array of type instances.
· Netlist order is preserved for readability.
· Salient features of pyspice.py:
· Parallel capacitors are combined.
· Parallel MOSFETs are combined.
· Small capacitors are dropped for faster simulation.

Usage:

chmod +x
pyspice.py [options] [-i infile] [-o outfile]
Use pyspice.py -h for all options.

What's New in This Release:

· At least default (pass through) handling of all element types.
· NOTE: For combining, this uses a global node name scheme. In other words: subcircuits, libraries, etc. are not in a separate node namespace as they should be, beware.
· Changed structure of classes (in LEO), there are base classes that contain common attributes and element classes that define the specific behavior.
· This version _should_ work with any netlist and only touch M's and C's, YMMV.
· Work is ongoing on the class structure and most important IMO is getting netlist hierarchy implemented.

last updated on:
October 12th, 2006, 15:44 GMT
price:
FREE!
developed by:
Dan White
homepage:
www.whiteaudio.com
license type:
GPL (GNU General Public License) 
category:
ROOT \ Programming \ Preprocessors

FREE!

In a hurry? Add it to your Download Basket!

user rating 21

2.9/5
 

0/5

1 Screenshot
Pyspice

Add your review!

SUBMIT