Skip to content

Program for visualization of spice netlists and conversion to visual format (.asc understandable by LTSpice).

License

Notifications You must be signed in to change notification settings

dominc8/netlist_converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spice Netlist Visualizer

Program for visualization of spice netlists and conversion to visual format (.asc understandable by LTSpice).

Building and running UTs

mkdir build
cd build
cmake .. (or cmake .. -DCMAKE_BUILD_TYPE=Debug for verbose logging turned on)
make run_uts

Building and running app

Current output of app is svg file containing drawn layout (to be prettified) of parsed netlist and full asc file.
Directory example contains example netlists that can be successfully parsed.

mkdir build
cd build
cmake .. (or cmake .. -DCMAKE_BUILD_TYPE=Debug for verbose logging turned on)
make app
./app <netlist input file> <asc output file>

Example inputs and outputs

V1 vdd 0 1
R1 vdd 0 10k

net0.txt.svg

V1 r 0 1
R1 r c 10k
C1 c l 10n
L1 l 0 5.3

net1.txt.svg

V1 r 0 1
R1 r c 10k
C1 c l 10n
L1 l 0 5.3
C2 c 0 20n

net2.txt.svg

I1 r 0 1
R1 r 0 10k
C1 r l 10n
L1 l 0 5.3
C2 l 0 20n

net3.txt.svg

About

Program for visualization of spice netlists and conversion to visual format (.asc understandable by LTSpice).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published