forked from lepton-eda/lepton-eda
-
Notifications
You must be signed in to change notification settings - Fork 0
NGspice
Merlyn Cousins edited this page Mar 13, 2020
·
11 revisions
By this time the netlister will have created a *.net file. This file will be run through spice. Refereeing to the example in the repository the netlister will include the npspice.cmd file. This file contains spice run commands. The netlister does not create this file. This must be created with the required spice run commands (i.e. tran 0.01m 5.) etc. Please understand how and why spice operates. The ngspice.cmd file is included by the spice include symbol. The example ngspice.cmd file contains.
.control
tran 0.01m 5m
write volt.raw v(1) v(2) v(3)
rusage everything
.endc