<@U01819B63HP> Can I launch xschem in batch mode t...
# xschem
s
@Stefan Schippers Can I launch xschem in batch mode to import the spice netlist and export the png format of it?
@mehdi
m
I believe the spice input capability of xschem just arranges the devices in a row without connected wires. It does not produce a schematic that a human would easily recognize. There is a commercial tool, spicevision by Concept Engineering, that does read spice and does a pretty good job of displaying a understandable schematic.
s
oh. Thanks @Mitch Bailey . But I am looking more into any opensource tools/libraries which I can use it in Jupyter notebooks
Do you have any suggestions?
m
You can read into xschem and then rearrange by hand.
👍 1
s
A netlist (expecially a spice netlist) contains much less information than a schematic. It loses any geometrical information of component placements and (for spice netlists) it loses all pin directions, so looking at a spice netlist you can't tell if a subcircuit I/O is input or output or inout. For this reason it is quite difficult to get a human readable imported schematic. I often do a diferent thing. I create a symbol for the top spice netlist, and then i import the netlist of the block as text, so i can use this circuit in a parent schematic. of course this is not good for any use cases.
👍 2
s
Understood. Thanks a lot for sharing @Stefan Schippers @Mitch Bailey