diff options
author | Rahul Paknikar | 2021-01-08 12:47:23 +0530 |
---|---|---|
committer | GitHub | 2021-01-08 12:47:23 +0530 |
commit | e6f48f5b1bf22a1d048b44ed4416b4315a461306 (patch) | |
tree | fd357549a236cdc652f0b6d2919beee0cee7faa5 /Windows/spice/examples/various/dc_loop.sp | |
parent | ac223c4a69c701ad0a247401acdc48b8b6b6dba6 (diff) | |
parent | 6b512cbf954273b0f21d3800d10a7ad42a759425 (diff) | |
download | eSim-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/various/dc_loop.sp')
-rw-r--r-- | Windows/spice/examples/various/dc_loop.sp | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/Windows/spice/examples/various/dc_loop.sp b/Windows/spice/examples/various/dc_loop.sp deleted file mode 100644 index 19511593..00000000 --- a/Windows/spice/examples/various/dc_loop.sp +++ /dev/null @@ -1,48 +0,0 @@ -testing loops -*variables are global -*vector reside only in the plot where they where created - -R1 r2 0 r = {5k + 50*TEMPER} -V1 r2 0 1 - -.control -*create a new plot as our base plot -setplot new -set curplottitle = "crossplot" -set plotname=$curplot - -* generate vector with all (here 30) elements -let result=vector(30) -* reshape vector to format 5 x 6 -reshape result [5][6] -* vector to store temperature -let tvect=vector(5) - -*index for storing in vectors tvect and result -let index = 0 - -foreach var -40 -20 0 20 40 - set temp = $var - dc v1 0 5 1 - *store name of the actual dc plot - set dcplotname = $curplot - * back to the base plot - setplot $plotname - let result[index] = {$dcplotname}.v1#branch - let tvect[index] = $var - settype current result - let index = index + 1 - destroy $dcplotname -end - -settype temp-sweep tvect -setscale tvect - -transpose result - -plot result -write dc_loop.out result[0] result[1] result[2] result[3] result[4] result[5] - -.endc - -.end |