Shavika Rastogi
11/24/2023, 4:38 AMStefan Schippers
11/25/2023, 9:40 AMtest1.cir
containing a .include netlist.spice
generated from xschem, add the .control
section with the tran
and write
instructions and the input voltage source, and run ngspice directly on this.
The simulation file should look something like this:
* test simulation
vvin vin 0 pwl
+ time1 value1
+ time2 value2
...
.control
tran ....
write results1.raw
.endc
.include /path/to/xschem/generated/netlist.spice
Of course the above small wrapper file can be generated with a script, you decide how to do that.
The .include is at the end since xschem closes the netlist with .end
.
You run ngspice with:
ngspice -i test1.cir
In the above bash script I don't know exactly what you are doing, however I
see you call xschem with the -l option that is a 'set debug file'
option that should not be used unless you are debugging xschem itself.
Also do not tag directly the people since many are very busy. Posts can be read and whoever has an answer will help.Stefan Schippers
11/25/2023, 9:49 AMTim Edwards
11/25/2023, 9:01 PMLinen is a search-engine friendly community platform. We offer integrations with existing Slack/Discord communities and make those conversations Google-searchable.
Powered by