Connect with us

Graph Data structure to storing components in spice netlist..

Discussion in 'CAD' started by Jonay Aloat, Nov 24, 2006.

Scroll to continue with content
  1. Jonay Aloat

    Jonay Aloat Guest

    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
     
  2. Harry George

    Harry George Guest


    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
     
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day

-