mirror of
https://git.code.sf.net/p/ngspice/ngspice
synced 2026-08-22 13:57:32 +02:00
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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user