Mudasir
02/10/2023, 3:51 PMStefan Schippers
02/10/2023, 5:03 PMSImulation->Configure Simulators and tools
, go to the first ngspice row and check Status
checkbutton, then click '`Accept and close`'. It will tell you the reason for the failure after pressing Simulation button.
It is probably because you don't have the xterm terminal installed.
to fix:
sudo apt install xterm
You can use another terminal program if you want by changing the definition of variable terminal
in your xschemrc.Mudasir
02/10/2023, 5:22 PMStefan Schippers
02/10/2023, 5:33 PM.option savecurrents
.control
...
save all
tran 1n 2u
write circuit.raw
...
.endc
Use for the raw filename the same name of the circuit. If you are simulating opamp.sch
save into opamp.raw
.
Then follow this manual page.Mudasir
02/10/2023, 7:01 PMStefan Schippers
02/10/2023, 9:11 PM~/.xschem/simulations
. If it is not there, you can discover where it is by typing in the xschem terminal: puts $netlist_dir