Browse Source

add plotting with internal analog plot

and gtkwave for digital data
pre-master-46
Holger Vogt 8 years ago
parent
commit
83db375fe8
  1. 6
      examples/xspice/state/state-machine.cir

6
examples/xspice/state/state-machine.cir

@ -30,7 +30,13 @@ a5 cntl clk var_clock
.control
tran 1us 10ms
write spifsim.raw
plot cntl out_msb+2 out_lsb+8
eprvcd n_one clk n_zero msb lsb > spifsim.vcd
* plotting the vcd file (e.g. with GTKWave)
* For Windows: returns control to ngspice
shell start gtkwave spifsim.vcd --script $inputdir/nggtk.tcl
* Others
*shell gtkwave spifsim.vcd --script nggtk.tcl &
.endc
.end
Loading…
Cancel
Save