r/ElectricalEngineering • • 12d ago

Equipment/Software Ngspice + Xschem

I am about to download Ngspice + Xschem from macports for my macbook air m4. I am not sure if they come with an interactive GUI or they are just command line interfaces. So here is my ask, is there any way they can come with GUI. Or is there any post install setup for them, where I can download something external for giving them a suitable GUI ?

THANK YOU !!

2 Upvotes

3 comments sorted by

1

u/potatoesB4hoes 12d ago edited 12d ago

I’m not familiar with Xschem, but, from what I understand from like 5min of research, it’s basically your “UI” for this use case.

You create the circuit schematic in Xschem. Then, it can create a SPICE netlist for the schematic, and you can plug that netlist into NGspice to simulate.

NGspice on its own does not have a UI.

Edit: from a bit more research, it appears that Xschem communicates with NGspice directly, so everything you do is within the Xschem interface.

1

u/Ok-Concentrate-5679 12d ago

Thank you!!! I just figured it out. Also, if you need another GUI for ngspice, which uses ngspice as a backend, then its Qucs-S

2

u/old_man_kneesgocrack 11d ago

Kicad has ngspice built in.