add plotting with internal analog plot
and gtkwave for digital data
This commit is contained in:
parent
ef9ba3d687
commit
83db375fe8
|
|
@ -30,7 +30,13 @@ a5 cntl clk var_clock
|
||||||
.control
|
.control
|
||||||
tran 1us 10ms
|
tran 1us 10ms
|
||||||
write spifsim.raw
|
write spifsim.raw
|
||||||
|
plot cntl out_msb+2 out_lsb+8
|
||||||
eprvcd n_one clk n_zero msb lsb > spifsim.vcd
|
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
|
.endc
|
||||||
|
|
||||||
.end
|
.end
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue