summaryrefslogtreecommitdiff
path: root/Windows/spice/examples/tclspice/tcl-testbench2/tcl-testbench2.sh
diff options
context:
space:
mode:
authorRahul Paknikar2021-01-08 12:47:23 +0530
committerGitHub2021-01-08 12:47:23 +0530
commite6f48f5b1bf22a1d048b44ed4416b4315a461306 (patch)
treefd357549a236cdc652f0b6d2919beee0cee7faa5 /Windows/spice/examples/tclspice/tcl-testbench2/tcl-testbench2.sh
parentac223c4a69c701ad0a247401acdc48b8b6b6dba6 (diff)
parent6b512cbf954273b0f21d3800d10a7ad42a759425 (diff)
downloadeSim-i2.1.tar.gz
eSim-i2.1.tar.bz2
eSim-i2.1.zip
Merge pull request #161 from rahulp13/installersi2.1
fixed key issue for ubuntu 20+; updated installers for windows os
Diffstat (limited to 'Windows/spice/examples/tclspice/tcl-testbench2/tcl-testbench2.sh')
-rw-r--r--Windows/spice/examples/tclspice/tcl-testbench2/tcl-testbench2.sh48
1 files changed, 0 insertions, 48 deletions
diff --git a/Windows/spice/examples/tclspice/tcl-testbench2/tcl-testbench2.sh b/Windows/spice/examples/tclspice/tcl-testbench2/tcl-testbench2.sh
deleted file mode 100644
index 458e903d..00000000
--- a/Windows/spice/examples/tclspice/tcl-testbench2/tcl-testbench2.sh
+++ /dev/null
@@ -1,48 +0,0 @@
-#!/bin/sh
-# -*- mode: tcl -*- \
- exec wish -f "$0" ${1+"$@"}
-
-package require BLT
-load ../../../src/.libs/libspice.so
-namespace import blt::*
-
-wm title . "Vector Test script"
-wm geometry . 800x600+40+40
-pack propagate . false
-
-stripchart .chart
-pack .chart -side top -fill both -expand true
-.chart axis configure x -title "Time"
-
-
-# Create a vector (and call it $vector)
-#vector create v1
-spice::source example.cir
-spice::bg run
-
-after 1000
-
-vector create a0
-vector create b0
-vector create a1
-vector create b1
-vector create stime
-proc bltupdate {} {
- #puts [spice::spice_data]
- spice::spicetoblt a0 a0
- spice::spicetoblt b0 b0
- spice::spicetoblt a1 a1
- spice::spicetoblt b1 b1
- spice::spicetoblt time stime
- #puts $spice::lastitercount
- after 100 bltupdate
-}
-bltupdate
-
-
-
-.chart element create a0 -color red -xdata stime -ydata a0
-.chart element create b0 -color blue -xdata stime -ydata b0
-.chart element create a1 -color yellow -xdata stime -ydata a1
-.chart element create b1 -color black -xdata stime -ydata b1
-