Revert "Adapt gtkwave plotting to the various OSs."
This reverts commit 1b1d4f412f.
This commit is contained in:
parent
1b1d4f412f
commit
e99ca82476
|
|
@ -62,7 +62,11 @@ X1 1 2 3 4 5 6 7 8 s0 s1 s2 s3 d0 c3 FOURBIT
|
||||||
* save inputs
|
* save inputs
|
||||||
*.save V(a1) V(a2) V(a3) V(a4) V(a5) V(a6) V(a7) V(a8)
|
*.save V(a1) V(a2) V(a3) V(a4) V(a5) V(a6) V(a7) V(a8)
|
||||||
|
|
||||||
|
*.save v(1)
|
||||||
|
|
||||||
|
|
||||||
.control
|
.control
|
||||||
|
*save v(1)
|
||||||
TRAN 500p 6400NS
|
TRAN 500p 6400NS
|
||||||
rusage
|
rusage
|
||||||
display
|
display
|
||||||
|
|
@ -70,14 +74,11 @@ edisplay
|
||||||
* save data to input directory
|
* save data to input directory
|
||||||
cd $inputdir
|
cd $inputdir
|
||||||
eprvcd 1 2 3 4 5 6 7 8 s0 s1 s2 s3 c3 > adder_x.vcd
|
eprvcd 1 2 3 4 5 6 7 8 s0 s1 s2 s3 c3 > adder_x.vcd
|
||||||
* plotting the vcd file with GTKWave
|
* plotting the vcd file (e.g. with GTKWave)
|
||||||
if $oscompiled = 1 | $oscompiled = 8 ; MS Windows
|
* For Windows: returns control to ngspice
|
||||||
shell start gtkwave adder_x.vcd --script nggtk.tcl
|
shell start gtkwave adder_x.vcd --script nggtk.tcl
|
||||||
else if $oscompiled = 7 ; macOS, manual tweaking required
|
* Others
|
||||||
shell open -a gtkwave adder_x.vcd
|
*shell gtkwave adder_x.vcd --script nggtk.tcl &
|
||||||
else ; Linux and others
|
|
||||||
shell gtkwave adder_x.vcd --script nggtk.tcl &
|
|
||||||
end
|
|
||||||
.endc
|
.endc
|
||||||
|
|
||||||
.END
|
.END
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue