command.c, inpcom.c, add command 'setcs': like command 'set',

but case sensitive, and thus keeping upper or lower case
of subsequently following variable name and other letters.
This commit is contained in:
h_vogt
2019-08-13 22:51:36 +02:00
committed by Holger Vogt
parent d03df9d326
commit a0d87048e6
4 changed files with 12 additions and 9 deletions
+2 -2
View File
@@ -2,7 +2,7 @@
* Perform Monte Carlo simulation in ngspice
* script for use with 25 stage Ring-Osc. BSIM3
* circuit is in MC_2_circ.sp
* edit 'set sourcepath' for your path to circuit file
* edit 'setcs sourcepath' for your path to circuit file
* start script by 'ngspice -o MC_2_control.log MC_2_control.sp'
*
.control
@@ -10,7 +10,7 @@
let run = 1 $ number of the actual run
* Where to find the circuit netlist file MC_2_circ.sp
set sourcepath = ( D:\Spice_general\ngspice\examples\Monte_Carlo )
setcs sourcepath = ( D:\Spice_general\ngspice\examples\Monte_Carlo )
* create file for frequency information
echo Monte Carlo, frequency of R.O. > MC_frequ.log
+1 -1
View File
@@ -30,7 +30,7 @@ begin
echo source the input file
* Path of your circuit file and library file here
* Will be added to the already existing sourcepath
set sourcepath = ( $inputdir $sourcepath ./ngspice/examples/Monte_Carlo )
setcs sourcepath = ( $inputdir $sourcepath ./ngspice/examples/Monte_Carlo )
* source with file name of your circuit file
source mc_ring_circ.net