1 2// 3// Test specification for bsim3 (version 3.3.0) 4// 5 6// 7// Simulator specific information 8// These arguments are added to the model card 9// specification to invoke the desired model in 10// different simulators (which can have different 11// names or levels for the same model) and to switch 12// between nType and pType polarities. 13// It is assumed that there are no polarity specific 14// parameters. 15// 16 17`ifdef spice 18nTypeSelectionArguments pmos level=7 version=3.2.4 19pTypeSelectionArguments nmos level=7 version=3.2.4 20`endif 21`ifdef ngspice 22nTypeSelectionArguments pmos level=8 version=3.3.0 23pTypeSelectionArguments nmos level=8 version=3.3.0 24`endif 25`ifdef hspice 26nTypeSelectionArguments pmos level=53 version=3.3.0 27pTypeSelectionArguments nmos level=53 version=3.3.0 28`endif 29 30// 31// General test-independent information 32// 33 34keyLetter m 35pins d g s b 36linearScale w l ps pd 37areaScale as ad 38temperature 27 -50 150 39checkPolarity no 40symmetricPins d s 41scaleParameters m 42 43// 44// Specific tests 45// 46 47test dcSweep_lw1 48biases V(s)=0 V(b)=0 49biasList V(g)=0.2,0.4,0.6,0.8,1.0,1.2,1.4,1.6,1.8 50biasSweep V(d)=0.1,1.8,0.1 51outputs I(d) 52instanceParameters w=10.0e-06 l=1.0e-06 53modelParameters parameters/pmosParameters 54 55test dcSweep_lw1_vb1 56biases V(s)=0 V(b)=-0.2 57biasList V(g)=0.2,0.4,0.6,0.8,1.0,1.2,1.4,1.6,1.8 58biasSweep V(d)=0.1,1.8,0.1 59outputs I(d) 60instanceParameters w=10.0e-06 l=1.0e-06 61modelParameters parameters/pmosParameters 62 63test dcSweep_lw2 64biases V(s)=0 V(b)=0 65biasList V(g)=0.2,0.4,0.6,0.8,1.0,1.2,1.4,1.6,1.8 66biasSweep V(d)=0.1,1.8,0.1 67outputs I(d) 68instanceParameters w=10.0e-06 l=0.2e-06 69modelParameters parameters/pmosParameters 70 71test dcSweep_lw3 72biases V(s)=0 V(b)=0 73biasList V(g)=0.2,0.4,0.6,0.8,1.0,1.2,1.4,1.6,1.8 74biasSweep V(d)=0.1,1.8,0.1 75outputs I(d) 76instanceParameters w=1.0e-06 l=0.2e-06 77modelParameters parameters/pmosParameters 78 79test dcSweep_lw4 80biases V(s)=0 V(b)=0 81biasList V(g)=0.2,0.4,0.6,0.8,1.0,1.2,1.4,1.6,1.8 82biasSweep V(d)=0.1,1.8,0.1 83outputs I(d) 84instanceParameters w=1.0e-06 l=1.0e-06 85modelParameters parameters/pmosParameters 86 87test dcSweep_nrd_nrs 88biases V(s)=0 V(b)=0 89biasList V(g)=0.2,0.4,0.6,0.8,1.0,1.2,1.4,1.6,1.8 90biasSweep V(d)=0.1,1.8,0.1 91outputs I(d) 92instanceParameters w=10.0e-06 l=1.0e-06 nrd=2.0 nrs=2.0 93modelParameters parameters/pmosParameters 94 95test acVd 96temperature 27 150 97biases V(s)=0 V(b)=0 V(g)=1.8 98biasSweep V(d)=0.1,1.8,0.1 99outputs G(d,g) G(d,d) C(g,s) C(g,d) 100instanceParameters w=10.0e-06 l=1.0e-06 101modelParameters parameters/pmosParameters 102 103test acFreq 104temperature 27 105biases V(s)=0 V(b)=0 V(d)=1.8 V(g)=1.8 106freq dec 10 1e3 1e8 107outputs C(g,g) C(g,s) C(g,d) 108instanceParameters w=10.0e-06 l=1.0e-06 109modelParameters parameters/pmosParameters 110 111test acFreq_mobmod 112temperature 27 113biases V(s)=0 V(b)=0 V(d)=1.8 V(g)=1.8 114freq dec 10 1e3 1e8 115outputs C(g,g) C(g,s) C(g,d) 116instanceParameters w=10.0e-06 l=1.0e-06 117modelParameters parameters/pmosParameters 118modelParameters mobmod=2 119 120test acFreq_capmod 121temperature 27 122biases V(s)=0 V(b)=0 V(d)=1.8 V(g)=1.8 123freq dec 10 1e3 1e8 124outputs C(g,g) C(g,s) C(g,d) 125instanceParameters w=10.0e-06 l=1.0e-06 126modelParameters parameters/pmosParameters 127modelParameters capmod=1 128 129test acFreq_acnqsmod 130temperature 27 131biases V(s)=0 V(b)=0 V(d)=1.8 V(g)=1.8 132freq dec 10 1e3 1e8 133outputs C(g,g) C(g,s) C(g,d) 134instanceParameters w=10.0e-06 l=1.0e-06 135modelParameters parameters/pmosParameters 136modelParameters acnqsmod=1 137 138test acFreq_xpart 139temperature 27 140biases V(s)=0 V(b)=0 V(d)=1.8 V(g)=1.8 141freq dec 10 1e3 1e8 142outputs C(g,g) C(g,s) C(g,d) 143instanceParameters w=10.0e-06 l=1.0e-06 144modelParameters parameters/pmosParameters 145modelParameters xpart=1 146 147test noise1 148temperature 27 149biases V(s)=0 V(b)=0 V(d)=1.6 150biasList V(g)=1.2,1.4,1.6 151freq dec 10 1e3 1e8 152outputs N(d) 153instanceParameters w=10.0e-06 l=0.2e-06 154modelParameters parameters/pmosParameters 155modelParameters noimod=1 kf=1e-30 af=1.2 ef=1.1 156 157test noise2 158temperature 27 159biases V(s)=0 V(b)=0 V(d)=1.6 160biasList V(g)=1.2,1.4,1.6 161freq dec 10 1e3 1e8 162outputs N(d) 163instanceParameters w=10.0e-06 l=0.2e-06 164modelParameters parameters/pmosParameters 165modelParameters noimod=2 noia=9.9e+18 noib=2.4e+03 noic=1.4e-12 em=4.1e7 ef=1.1 166