Graph Data structure to storing components in spice netlist..

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

Reply to
Jonay Aloat
Loading thread data ...

I googled 'pspice netlist' and found these:

formatting link
Lots more where those came from.

David Janes

Reply to
David Janes

PolyTech Forum website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.