***** Parameters for Calculation of Diffusion Regions for 0.13u CMOS Process
> set_mode_diff geo
> set_hdout .2u
> set_hdin .3u
> use_four_sided_perimeter

***** Publically available BSIM4 0.13u CMOS and Bipolar models
.include '../../../SpiceModels/cmos_013_bsim4.mod'
.include '../../../SpiceModels/bipolar.mod'

***** Temperature
.temp 25

***** Parameters
.param vsupply=1.3
.param freq = 500k

***** DC Voltage Sources

***** Simulation Options
.options delmax=5n relv=1e-6 reli=1e-6 relmos=1e-6 method=gear

***** Simulation Parameters (.tran or .ac or .dc statements) 
.tran 5n 10u

***** Have operating point information sent to log file (simrun.log)
.op

****** Analog Input Stimulus
*** Simply add voltage or current sources as appropriate

****** Selectively Probe Signals
*.probe tran v(in) v(out)

