conversion of netlist to schematic

Thread Starter

yo_c66

Joined Dec 6, 2024
4
hi, is there something that converts netlist into a graphical from or something similar?
i know about falsted simulator https://www.falstad.com/circuit/, but unfortunately, its import and export format is different,
and the challenge lies in the coordinates, since the falsted sim has the input as following:


$ 1 0.000005 14.235633750745258 55 5 50 5e-11
v 176 256 176 80 0 1 40 5 0 0 0.5
r 176 80 336 80 0 180
c 336 80 336 256 4 0.000032999999999999996 1.3535464127928016 0.001 0
w 176 256 336 256 0
o 2 64 0 4099 5 0.05 0 2 2 3
38 2 F1 0 0.000001 0.000101 -1 Capacitance


while netlist for this would be :

* Netlist for RC Circuit
V1 1 0 SIN(0 5 40) AC 1 ; AC Voltage Source with specs for both TRAN and AC analysis
R1 1 2 180 ; Resistor: Node 1 to 2, 180 Ohms
C1 2 0 33u ; Capacitor: Node 2 to 0, 33 microFarads


so the problem here if someone would want to convert it is getting the coordinates correct for the circuit
 

Thread Starter

yo_c66

Joined Dec 6, 2024
4
hey, I think i didn't deliver exactly what I was looking for, so basically for any circuit generating a netlist should be pretty easy right

so what I want is something that converts the netlist into a graphical format for simulation tools, so that instead of getting simulation results from the netlist, the user can interact with the circuit and edit it if he wishes
 

Thread Starter

yo_c66

Joined Dec 6, 2024
4
LT Spice, as above in post #2.
Sorry i didn't understand
Does LT Spice have the ability to convert netlist?
If so can you please guide on how it works


I want to convert netlist into a graphical circuit schematics meaning i want to visualise the circuit from a netlist
Not generate a netlist from schematics(i know how to do this already)
 
Last edited:

WBahn

Joined Mar 31, 2012
32,754
hey, I think i didn't deliver exactly what I was looking for, so basically for any circuit generating a netlist should be pretty easy right

so what I want is something that converts the netlist into a graphical format for simulation tools, so that instead of getting simulation results from the netlist, the user can interact with the circuit and edit it if he wishes
I don't know what's out there now, but I've seen tools demoed/pushed that do this -- now, whether they did it well is a matter of debate.

The problem is similar to using a tool to do automatic place and route of a PCB from a netlist. The place-and-route tool has no idea what is or isn't important, beyond whatever annotations might be contained in the netlist. So the result is usually, at best, a rather poor starting point. I always found it much faster to ignore that those tools exist and do it myself, because I had a much more complete grasp of the higher-level layout goals in mind and so I could focus on the important things first and then shoe-horn in the other stuff around it.

In many ways, creating a useful schematic from a netlist is actually harder, because there are at least good generic metrics for gaging a PCB layout that the tool can try to maximum. But a schematic is much more about conveying information to a human and good schematic layouts reflect higher-level functional organization and signal flow conventions that are very difficult for a tool to infer from a netlist. So, more than a PCB, you can expect an autogenerated schematic to require a significant amount of rework before it is useful.
 

ericgibbs

Joined Jan 29, 2010
21,419
hi yo,
This is the netlist text in LTSpice that creates/draws a potentiometer.

E
* This is the potentiometer
* _____
* 1--|_____|--2
* |
* 3
*
.SUBCKT potentiometer 1 2 3
.param w=limit(wiper,1m,.999)
R0 1 3 {Rtot*(1-w)}
R1 3 2 {Rtot*(w)}
.ENDS
 
Top