013_variation_block : Stability analysis
Requires: SmartSpice & Smartview
Minimum Versions: SMARTSPICE 3.17.26.C
This input deck example demonstrates the use of a variation block. The variation block provides an ability to change certain model/device parameter during Monte Carlo simulation. The block defines global variations for all resistor instances of 'rpoly' model. All the devices of this model get the same variation of the 'rsh' parameter. The block also contains definition of local variations. The local variation is applied to the 'tcl' parameter of every resitor of the 'rpoly' model. All these devices get different instance values of the 'tcl' parameter.
Input Files
variation_example.in
* Variation block example * The example demonstrates using of variation block. The variation block * provides an ability to change certain model/device parameter during Monte Carlo simulation. * The block define global variation for all resistor of 'rpoly' model. All the devices of this model * get the same variation of 'rsh' parameter. * The block also contains definition of local variation. The local variation is applied 'tcl' parameter * of every resitor of 'rpoly' model. All these devices get different value of 'tcl' value ********************************************* * Netlist ra1 2 1 1k rb1 2 1 1k ra2 1 0 rpoly l=10u w=1u rb2 1 0 rpoly l=10u w=1u v1 2 0 DC 5 ********************************************* ********************************************* * Model definition .model rpoly r rsh=100 tc1=0.01 ********************************************* .tran 0.1 2 monte=4 .print @ra2[rsh] @ra2[tc1] @rb2[rsh] @rb2[tc1] .options nomod nodeck ********************************************* * Variation block definition .variation * Global variation block .global_variation parameter random1=N() R rpoly rsh=perturb('random1/3') .end_global_variation * Local variation block .local_variation R rpoly tc1 ='25 + 1/3' .end_local_variation .end_variation ********************************************* .end
013_variation_block
[an error occurred while processing this directive]
Graphics