Electronics Computer-Aided Design Graph Data structure to storing components in spice netlist..

Bookmark this page:  YahooMyWeb Yahoo!  Google Google  Windows Live Favorites Windows Live  del.icio.us del.icio.us  digg digg  Add to Netscape Netscape
Subject Author Date
Graph Data structure to storing components in spice netlist.. Jonay Aloat 11-23-06
Posted by Jonay Aloat on November 23, 2006, 9:10 pm
Please log in for more thread options


Hi;

I want to write a simple parser that can parse a spice nelist that contains
capacitor, resistor, and mosfet. I want to store the componets in a graph
so I can perform the following actions.

1. Check whether or not the network is connected/disconnected
2. Check which components are connectd to the net
3. Check whether the components are in series/paralle.

Any hint where should I start?

Thank you.

-Jonny



Posted by Harry George on December 15, 2006, 6:22 am
Please log in for more thread options



> Hi;
>
> I want to write a simple parser that can parse a spice nelist that contains
> capacitor, resistor, and mosfet. I want to store the componets in a graph
> so I can perform the following actions.
>
> 1. Check whether or not the network is connected/disconnected
> 2. Check which components are connectd to the net
> 3. Check whether the components are in series/paralle.
>
> Any hint where should I start?
>
> Thank you.
>
> -Jonny
>
>


There may already be tools to do this. If you have to roll your own, try these
tools:

Python
http://www.python.org/

pyspice
http://www.whiteaudio.com/soft/pyspice.html

networkx
https://networkx.lanl.gov/wiki


--
Harry George
PLM Engineering Architecture

Similar ThreadsPosted
Graph Data structure to storing components in spice netlist.. November 23, 2006, 9:10 pm
data structure in spice source code February 13, 2007, 7:09 pm
How to add new components from vendors to LT SPICE? March 14, 2005, 8:40 am
Re: How to add new components from vendors to LT SPICE? March 14, 2005, 10:34 pm
Viewer for Spice Model Netlist December 8, 2004, 8:41 pm
TL431 SPICE with reactive components July 2, 2005, 12:59 pm
SuperSpice: how to add a curve into the graph ? January 22, 2005, 6:24 pm
How To vary "vsin" amplitude in a graph? September 15, 2006, 12:31 am
Expedition PCB with ViewDraw by MENTOR Graph. (former VERIBEST) June 16, 2005, 8:49 pm
help me with this netlist May 13, 2007, 10:38 pm
Netlist Comparison July 16, 2005, 2:33 pm
Netlist Extractor and LVS September 8, 2006, 2:07 am
DXP and dulplicate components April 30, 2008, 9:41 am
Looking for MC1554G data sheets July 31, 2004, 4:14 am
placement data from gerber November 1, 2004, 2:00 am