Qucs-GUI  0.0.18
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
bsim4v30nMOS.cpp
Go to the documentation of this file.
1 /*
2  * bsim4v30nMOS.cpp - device implementations for bsim4v30nMOS module
3  *
4  * This is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation; either version 2, or (at your option)
7  * any later version.
8  *
9  */
10 
11 #include "bsim4v30nMOS.h"
12 
14 {
15  Description = QObject::tr ("bsim4v30nMOS verilog device");
16 
17 
18  Props.append (new Property ("GMIN", "1e-12", false,
19  QObject::tr ("-")));
20  Props.append (new Property ("PS", "12e-6", false,
21  QObject::tr ("-")));
22  Props.append (new Property ("PD", "12e-6", false,
23  QObject::tr ("-")));
24  Props.append (new Property ("AS", "12e-12", false,
25  QObject::tr ("-")));
26  Props.append (new Property ("AD", "12e-12", false,
27  QObject::tr ("-")));
28  Props.append (new Property ("CGBO", "-99.0", false,
29  QObject::tr ("-")));
30  Props.append (new Property ("CGDO", "-99.0", false,
31  QObject::tr ("-")));
32  Props.append (new Property ("CGSO", "-99.0", false,
33  QObject::tr ("-")));
34  Props.append (new Property ("L", "3e-6", false,
35  QObject::tr ("-")));
36  Props.append (new Property ("W", "6e-6", false,
37  QObject::tr ("-")));
38  Props.append (new Property ("MOBMOD", "-99.0", false,
39  QObject::tr ("-")));
40  Props.append (new Property ("RDSMOD", "-99.0", false,
41  QObject::tr ("-")));
42  Props.append (new Property ("IGCMOD", "0", false,
43  QObject::tr ("-")));
44  Props.append (new Property ("IGBMOD", "0", false,
45  QObject::tr ("-")));
46  Props.append (new Property ("CAPMOD", "2", false,
47  QObject::tr ("-")));
48  Props.append (new Property ("RGATEMOD", "2", false,
49  QObject::tr ("-")));
50  Props.append (new Property ("RBODYMOD", "0", false,
51  QObject::tr ("-")));
52  Props.append (new Property ("DIOMOD", "1", false,
53  QObject::tr ("-")));
54  Props.append (new Property ("TEMPMOD", "-99.0", false,
55  QObject::tr ("-")));
56  Props.append (new Property ("GEOMOD", "0", false,
57  QObject::tr ("-")));
58  Props.append (new Property ("RGEOMOD", "0", false,
59  QObject::tr ("-")));
60  Props.append (new Property ("PERMOD", "1", false,
61  QObject::tr ("-")));
62  Props.append (new Property ("TNOIMOD", "0", false,
63  QObject::tr ("-")));
64  Props.append (new Property ("FNOIMOD", "0", false,
65  QObject::tr ("-")));
66  Props.append (new Property ("EPSROX", "3.9", false,
67  QObject::tr ("-")));
68  Props.append (new Property ("TOXE", "-99.0", false,
69  QObject::tr ("-")));
70  Props.append (new Property ("TOXP", "-99.0", false,
71  QObject::tr ("-")));
72  Props.append (new Property ("TOXM", "-99.0", false,
73  QObject::tr ("-")));
74  Props.append (new Property ("DTOX", "0.0", false,
75  QObject::tr ("-")));
76  Props.append (new Property ("XJ", "1.5e-7", false,
77  QObject::tr ("-")));
78  Props.append (new Property ("GAMMA1", "-99.0", false,
79  QObject::tr ("-")));
80  Props.append (new Property ("GAMMA2", "-99.0", false,
81  QObject::tr ("-")));
82  Props.append (new Property ("NDEP", "-99.0", false,
83  QObject::tr ("-")));
84  Props.append (new Property ("NSUB", "6.0e16", false,
85  QObject::tr ("-")));
86  Props.append (new Property ("NGATE", "0.0", false,
87  QObject::tr ("-")));
88  Props.append (new Property ("NSD", "1.0e20", false,
89  QObject::tr ("-")));
90  Props.append (new Property ("VBX", "-99.0", false,
91  QObject::tr ("-")));
92  Props.append (new Property ("XT", "1.55e-7", false,
93  QObject::tr ("-")));
94  Props.append (new Property ("RSH", "0.0", false,
95  QObject::tr ("-")));
96  Props.append (new Property ("RSHG", "0.0", false,
97  QObject::tr ("-")));
98  Props.append (new Property ("VTH0", "0.6", false,
99  QObject::tr ("-")));
100  Props.append (new Property ("VFB", "-99.0", false,
101  QObject::tr ("-")));
102  Props.append (new Property ("PHIN", "0.0", false,
103  QObject::tr ("-")));
104  Props.append (new Property ("K1", "-99.0", false,
105  QObject::tr ("-")));
106  Props.append (new Property ("K2", "-99.0", false,
107  QObject::tr ("-")));
108  Props.append (new Property ("K3", "80.0", false,
109  QObject::tr ("-")));
110  Props.append (new Property ("K3B", "0.0", false,
111  QObject::tr ("-")));
112  Props.append (new Property ("W0", "2.5e-6", false,
113  QObject::tr ("-")));
114  Props.append (new Property ("LPE0", "1.74e-7", false,
115  QObject::tr ("-")));
116  Props.append (new Property ("LPEB", "0.0", false,
117  QObject::tr ("-")));
118  Props.append (new Property ("VBM", "-3.0", false,
119  QObject::tr ("-")));
120  Props.append (new Property ("DVT0", "2.2", false,
121  QObject::tr ("-")));
122  Props.append (new Property ("DVT1", "0.53", false,
123  QObject::tr ("-")));
124  Props.append (new Property ("DVT2", "-0.032", false,
125  QObject::tr ("-")));
126  Props.append (new Property ("DVTP0", "0.0", false,
127  QObject::tr ("-")));
128  Props.append (new Property ("DVTP1", "0.0", false,
129  QObject::tr ("-")));
130  Props.append (new Property ("DVT0W", "0.0", false,
131  QObject::tr ("-")));
132  Props.append (new Property ("DVT1W", "5.3e6", false,
133  QObject::tr ("-")));
134  Props.append (new Property ("DVT2W", "-0.032", false,
135  QObject::tr ("-")));
136  Props.append (new Property ("U0", "-99.0", false,
137  QObject::tr ("-")));
138  Props.append (new Property ("UA", "-99.0", false,
139  QObject::tr ("-")));
140  Props.append (new Property ("UB", "1.0e-19", false,
141  QObject::tr ("-")));
142  Props.append (new Property ("UC", "-99.0", false,
143  QObject::tr ("-")));
144  Props.append (new Property ("EU", "-99.0", false,
145  QObject::tr ("-")));
146  Props.append (new Property ("VSAT", "8.0e4", false,
147  QObject::tr ("-")));
148  Props.append (new Property ("A0", "1.0", false,
149  QObject::tr ("-")));
150  Props.append (new Property ("AGS", "0.0", false,
151  QObject::tr ("-")));
152  Props.append (new Property ("B0", "0.0", false,
153  QObject::tr ("-")));
154  Props.append (new Property ("B1", "0.0", false,
155  QObject::tr ("-")));
156  Props.append (new Property ("KETA", "-0.047", false,
157  QObject::tr ("-")));
158  Props.append (new Property ("A1", "0.0", false,
159  QObject::tr ("-")));
160  Props.append (new Property ("A2", "1.0", false,
161  QObject::tr ("-")));
162  Props.append (new Property ("WINT", "0.0", false,
163  QObject::tr ("-")));
164  Props.append (new Property ("LINT", "0.0", false,
165  QObject::tr ("-")));
166  Props.append (new Property ("DWG", "0.0", false,
167  QObject::tr ("-")));
168  Props.append (new Property ("DWB", "0.0", false,
169  QObject::tr ("-")));
170  Props.append (new Property ("VOFF", "-0.08", false,
171  QObject::tr ("-")));
172  Props.append (new Property ("VOFFL", "0.0", false,
173  QObject::tr ("-")));
174  Props.append (new Property ("MINV", "0.0", false,
175  QObject::tr ("-")));
176  Props.append (new Property ("NFACTOR", "1.0", false,
177  QObject::tr ("-")));
178  Props.append (new Property ("ETA0", "0.08", false,
179  QObject::tr ("-")));
180  Props.append (new Property ("ETAB", "-0.07", false,
181  QObject::tr ("-")));
182  Props.append (new Property ("DROUT", "0.56", false,
183  QObject::tr ("-")));
184  Props.append (new Property ("DSUB", "0.56", false,
185  QObject::tr ("-")));
186  Props.append (new Property ("CIT", "0.0", false,
187  QObject::tr ("-")));
188  Props.append (new Property ("CDSC", "2.4e-4", false,
189  QObject::tr ("-")));
190  Props.append (new Property ("CDSCB", "0.0", false,
191  QObject::tr ("-")));
192  Props.append (new Property ("CDSCD", "0.0", false,
193  QObject::tr ("-")));
194  Props.append (new Property ("PCLM", "1.3", false,
195  QObject::tr ("-")));
196  Props.append (new Property ("PDIBL1", "0.39", false,
197  QObject::tr ("-")));
198  Props.append (new Property ("PDIBL2", "0.0086", false,
199  QObject::tr ("-")));
200  Props.append (new Property ("PDIBLB", "0.0", false,
201  QObject::tr ("-")));
202  Props.append (new Property ("PSCBE1", "4.24e8", false,
203  QObject::tr ("-")));
204  Props.append (new Property ("PSCBE2", "1.0e-5", false,
205  QObject::tr ("-")));
206  Props.append (new Property ("PVAG", "0.0", false,
207  QObject::tr ("-")));
208  Props.append (new Property ("DELTA", "0.01", false,
209  QObject::tr ("-")));
210  Props.append (new Property ("FPROUT", "0.0", false,
211  QObject::tr ("-")));
212  Props.append (new Property ("PDITS", "0.0", false,
213  QObject::tr ("-")));
214  Props.append (new Property ("PDITSD", "0.0", false,
215  QObject::tr ("-")));
216  Props.append (new Property ("PDITSL", "0.0", false,
217  QObject::tr ("-")));
218  Props.append (new Property ("LAMBDA", "-99.0", false,
219  QObject::tr ("-")));
220  Props.append (new Property ("VTL", "-99.0", false,
221  QObject::tr ("-")));
222  Props.append (new Property ("LC", "5.0e-9", false,
223  QObject::tr ("-")));
224  Props.append (new Property ("XN", "3.0", false,
225  QObject::tr ("-")));
226  Props.append (new Property ("RDSW", "200.0", false,
227  QObject::tr ("-")));
228  Props.append (new Property ("RDSWMIN", "0.0", false,
229  QObject::tr ("-")));
230  Props.append (new Property ("RDW", "100.0", false,
231  QObject::tr ("-")));
232  Props.append (new Property ("RDWMIN", "0.0", false,
233  QObject::tr ("-")));
234  Props.append (new Property ("RSW", "100.0", false,
235  QObject::tr ("-")));
236  Props.append (new Property ("RSWMIN", "0.0", false,
237  QObject::tr ("-")));
238  Props.append (new Property ("PRWG", "1.0", false,
239  QObject::tr ("-")));
240  Props.append (new Property ("PRWB", "0.0", false,
241  QObject::tr ("-")));
242  Props.append (new Property ("WR", "1.0", false,
243  QObject::tr ("-")));
244  Props.append (new Property ("NRS", "-99.0", false,
245  QObject::tr ("-")));
246  Props.append (new Property ("NRD", "-99.0", false,
247  QObject::tr ("-")));
248  Props.append (new Property ("ALPHA0", "0.0", false,
249  QObject::tr ("-")));
250  Props.append (new Property ("ALPHA1", "0.0", false,
251  QObject::tr ("-")));
252  Props.append (new Property ("BETA0", "30.0", false,
253  QObject::tr ("-")));
254  Props.append (new Property ("AGIDL", "0.0", false,
255  QObject::tr ("-")));
256  Props.append (new Property ("BGIDL", "2.3e9", false,
257  QObject::tr ("-")));
258  Props.append (new Property ("CGIDL", "0.5", false,
259  QObject::tr ("-")));
260  Props.append (new Property ("EGIDL", "0.8", false,
261  QObject::tr ("-")));
262  Props.append (new Property ("AIGBACC", "0.43", false,
263  QObject::tr ("-")));
264  Props.append (new Property ("BIGBACC", "0.054", false,
265  QObject::tr ("-")));
266  Props.append (new Property ("CIGBACC", "0.075", false,
267  QObject::tr ("-")));
268  Props.append (new Property ("NIGBACC", "1.0", false,
269  QObject::tr ("-")));
270  Props.append (new Property ("AIGBINV", "0.35", false,
271  QObject::tr ("-")));
272  Props.append (new Property ("BIGBINV", "0.03", false,
273  QObject::tr ("-")));
274  Props.append (new Property ("CIGBINV", "0.006", false,
275  QObject::tr ("-")));
276  Props.append (new Property ("EIGBINV", "1.1", false,
277  QObject::tr ("-")));
278  Props.append (new Property ("NIGBINV", "3.0", false,
279  QObject::tr ("-")));
280  Props.append (new Property ("AIGC", "-99.0", false,
281  QObject::tr ("-")));
282  Props.append (new Property ("BIGC", "-99.0", false,
283  QObject::tr ("-")));
284  Props.append (new Property ("CIGC", "-99.0", false,
285  QObject::tr ("-")));
286  Props.append (new Property ("AIGSD", "-99.0", false,
287  QObject::tr ("-")));
288  Props.append (new Property ("BIGSD", "-99.0", false,
289  QObject::tr ("-")));
290  Props.append (new Property ("CIGSD", "-99.0", false,
291  QObject::tr ("-")));
292  Props.append (new Property ("DLCIG", "0.0", false,
293  QObject::tr ("-")));
294  Props.append (new Property ("NIGC", "1.0", false,
295  QObject::tr ("-")));
296  Props.append (new Property ("POXEDGE", "1.0", false,
297  QObject::tr ("-")));
298  Props.append (new Property ("PIGCD", "1.0", false,
299  QObject::tr ("-")));
300  Props.append (new Property ("NTOX", "1.0", false,
301  QObject::tr ("-")));
302  Props.append (new Property ("TOXREF", "3.0e-9", false,
303  QObject::tr ("-")));
304  Props.append (new Property ("XPART", "0.4", false,
305  QObject::tr ("-")));
306  Props.append (new Property ("CGS0", "0.0", false,
307  QObject::tr ("-")));
308  Props.append (new Property ("CGD0", "0.0", false,
309  QObject::tr ("-")));
310  Props.append (new Property ("CGB0", "0.0", false,
311  QObject::tr ("-")));
312  Props.append (new Property ("CGSL", "0.0", false,
313  QObject::tr ("-")));
314  Props.append (new Property ("CGDL", "0.0", false,
315  QObject::tr ("-")));
316  Props.append (new Property ("CKAPPAS", "0.6", false,
317  QObject::tr ("-")));
318  Props.append (new Property ("CKAPPAD", "0.6", false,
319  QObject::tr ("-")));
320  Props.append (new Property ("CF", "-99.0", false,
321  QObject::tr ("-")));
322  Props.append (new Property ("CLC", "1.0e-7", false,
323  QObject::tr ("-")));
324  Props.append (new Property ("CLE", "0.6", false,
325  QObject::tr ("-")));
326  Props.append (new Property ("DLC", "0.0", false,
327  QObject::tr ("-")));
328  Props.append (new Property ("DWC", "0.0", false,
329  QObject::tr ("-")));
330  Props.append (new Property ("VFBCV", "-1.0", false,
331  QObject::tr ("-")));
332  Props.append (new Property ("NOFF", "1.0", false,
333  QObject::tr ("-")));
334  Props.append (new Property ("VOFFCV", "0.0", false,
335  QObject::tr ("-")));
336  Props.append (new Property ("ACDE", "1.0", false,
337  QObject::tr ("-")));
338  Props.append (new Property ("MOIN", "15.0", false,
339  QObject::tr ("-")));
340  Props.append (new Property ("XRCRG1", "12.0", false,
341  QObject::tr ("-")));
342  Props.append (new Property ("XRCRG2", "1.0", false,
343  QObject::tr ("-")));
344  Props.append (new Property ("RBPB", "50.0", false,
345  QObject::tr ("-")));
346  Props.append (new Property ("RBPD", "50.0", false,
347  QObject::tr ("-")));
348  Props.append (new Property ("RBPS", "50.0", false,
349  QObject::tr ("-")));
350  Props.append (new Property ("RBDB", "50.0", false,
351  QObject::tr ("-")));
352  Props.append (new Property ("RBSB", "50.0", false,
353  QObject::tr ("-")));
354  Props.append (new Property ("GBMIN", "1.0e-12", false,
355  QObject::tr ("-")));
356  Props.append (new Property ("DMCG", "0.0", false,
357  QObject::tr ("-")));
358  Props.append (new Property ("DMCI", "0.0", false,
359  QObject::tr ("-")));
360  Props.append (new Property ("DMDG", "0.0", false,
361  QObject::tr ("-")));
362  Props.append (new Property ("DMCGT", "0.0", false,
363  QObject::tr ("-")));
364  Props.append (new Property ("NF", "1.0", false,
365  QObject::tr ("-")));
366  Props.append (new Property ("DWJ", "0.0", false,
367  QObject::tr ("-")));
368  Props.append (new Property ("MIN", "0.0", false,
369  QObject::tr ("-")));
370  Props.append (new Property ("XGW", "0.0", false,
371  QObject::tr ("-")));
372  Props.append (new Property ("XGL", "0.0", false,
373  QObject::tr ("-")));
374  Props.append (new Property ("XL", "0.0", false,
375  QObject::tr ("-")));
376  Props.append (new Property ("XW", "0.0", false,
377  QObject::tr ("-")));
378  Props.append (new Property ("NGCON", "1.0", false,
379  QObject::tr ("-")));
380  Props.append (new Property ("IJTHSREV", "0.1", false,
381  QObject::tr ("-")));
382  Props.append (new Property ("IJTHDREV", "0.1", false,
383  QObject::tr ("-")));
384  Props.append (new Property ("IJTHSFWD", "0.1", false,
385  QObject::tr ("-")));
386  Props.append (new Property ("IJTHDFWD", "0.1", false,
387  QObject::tr ("-")));
388  Props.append (new Property ("XJBVS", "1.0", false,
389  QObject::tr ("-")));
390  Props.append (new Property ("XJBVD", "1.0", false,
391  QObject::tr ("-")));
392  Props.append (new Property ("BVS", "10.0", false,
393  QObject::tr ("-")));
394  Props.append (new Property ("BVD", "10.0", false,
395  QObject::tr ("-")));
396  Props.append (new Property ("JSS", "1.0e-4", false,
397  QObject::tr ("-")));
398  Props.append (new Property ("JSD", "1.0e-4", false,
399  QObject::tr ("-")));
400  Props.append (new Property ("JSWS", "0.0", false,
401  QObject::tr ("-")));
402  Props.append (new Property ("JSWD", "0.0", false,
403  QObject::tr ("-")));
404  Props.append (new Property ("JSWGS", "0.0", false,
405  QObject::tr ("-")));
406  Props.append (new Property ("JSWGD", "0.0", false,
407  QObject::tr ("-")));
408  Props.append (new Property ("CJS", "5.0e-4", false,
409  QObject::tr ("-")));
410  Props.append (new Property ("CJD", "5.0e-4", false,
411  QObject::tr ("-")));
412  Props.append (new Property ("MJS", "0.5", false,
413  QObject::tr ("-")));
414  Props.append (new Property ("MJD", "0.5", false,
415  QObject::tr ("-")));
416  Props.append (new Property ("MJSWS", "0.33", false,
417  QObject::tr ("-")));
418  Props.append (new Property ("MJSWD", "0.33", false,
419  QObject::tr ("-")));
420  Props.append (new Property ("CJSWS", "5.0e-10", false,
421  QObject::tr ("-")));
422  Props.append (new Property ("CJSWD", "5.0e-10", false,
423  QObject::tr ("-")));
424  Props.append (new Property ("CJSWGS", "5.0e-10", false,
425  QObject::tr ("-")));
426  Props.append (new Property ("CJSWGD", "5.0e-10", false,
427  QObject::tr ("-")));
428  Props.append (new Property ("MJSWGS", "0.33", false,
429  QObject::tr ("-")));
430  Props.append (new Property ("MJSWGD", "0.33", false,
431  QObject::tr ("-")));
432  Props.append (new Property ("PBS", "1.0", false,
433  QObject::tr ("-")));
434  Props.append (new Property ("PBD", "1.0", false,
435  QObject::tr ("-")));
436  Props.append (new Property ("PBSWS", "1.0", false,
437  QObject::tr ("-")));
438  Props.append (new Property ("PBSWD", "1.0", false,
439  QObject::tr ("-")));
440  Props.append (new Property ("PBSWGS", "1.0", false,
441  QObject::tr ("-")));
442  Props.append (new Property ("PBSWGD", "1.0", false,
443  QObject::tr ("-")));
444  Props.append (new Property ("TNOM", "27", false,
445  QObject::tr ("-")));
446  Props.append (new Property ("UTE", "-1.5", false,
447  QObject::tr ("-")));
448  Props.append (new Property ("KT1", "-0.11", false,
449  QObject::tr ("-")));
450  Props.append (new Property ("KT1L", "0.0", false,
451  QObject::tr ("-")));
452  Props.append (new Property ("KT2", "0.022", false,
453  QObject::tr ("-")));
454  Props.append (new Property ("UA1", "1.0e-9", false,
455  QObject::tr ("-")));
456  Props.append (new Property ("UB1", "-1.0e-18", false,
457  QObject::tr ("-")));
458  Props.append (new Property ("UC1", "-99.0", false,
459  QObject::tr ("-")));
460  Props.append (new Property ("AT", "3.3e4", false,
461  QObject::tr ("-")));
462  Props.append (new Property ("PRT", "0.0", false,
463  QObject::tr ("-")));
464  Props.append (new Property ("NJS", "1.0", false,
465  QObject::tr ("-")));
466  Props.append (new Property ("NJD", "1.0", false,
467  QObject::tr ("-")));
468  Props.append (new Property ("XTIS", "3.0", false,
469  QObject::tr ("-")));
470  Props.append (new Property ("XTID", "3.0", false,
471  QObject::tr ("-")));
472  Props.append (new Property ("TPB", "0.0", false,
473  QObject::tr ("-")));
474  Props.append (new Property ("TPBSW", "0.0", false,
475  QObject::tr ("-")));
476  Props.append (new Property ("TPBSWG", "0.0", false,
477  QObject::tr ("-")));
478  Props.append (new Property ("TCJ", "0.0", false,
479  QObject::tr ("-")));
480  Props.append (new Property ("TCJSW", "0.0", false,
481  QObject::tr ("-")));
482  Props.append (new Property ("TCJSWG", "0.0", false,
483  QObject::tr ("-")));
484  Props.append (new Property ("SA", "0.0", false,
485  QObject::tr ("-")));
486  Props.append (new Property ("SB", "0.0", false,
487  QObject::tr ("-")));
488  Props.append (new Property ("SD", "0.0", false,
489  QObject::tr ("-")));
490  Props.append (new Property ("SAREF", "1e-6", false,
491  QObject::tr ("-")));
492  Props.append (new Property ("SBREF", "1e-6", false,
493  QObject::tr ("-")));
494  Props.append (new Property ("WLOD", "0.0", false,
495  QObject::tr ("-")));
496  Props.append (new Property ("KU0", "0.0", false,
497  QObject::tr ("-")));
498  Props.append (new Property ("KVSAT", "0.0", false,
499  QObject::tr ("-")));
500  Props.append (new Property ("TKU0", "0.0", false,
501  QObject::tr ("-")));
502  Props.append (new Property ("LKU0", "0.0", false,
503  QObject::tr ("-")));
504  Props.append (new Property ("WKU0", "0.0", false,
505  QObject::tr ("-")));
506  Props.append (new Property ("PKU0", "0.0", false,
507  QObject::tr ("-")));
508  Props.append (new Property ("LLODKU0", "0.0", false,
509  QObject::tr ("-")));
510  Props.append (new Property ("WLODKU0", "0.0", false,
511  QObject::tr ("-")));
512  Props.append (new Property ("KVTH0", "0.0", false,
513  QObject::tr ("-")));
514  Props.append (new Property ("LKVTH0", "0.0", false,
515  QObject::tr ("-")));
516  Props.append (new Property ("WKVTH0", "0.0", false,
517  QObject::tr ("-")));
518  Props.append (new Property ("PKVTH0", "0.0", false,
519  QObject::tr ("-")));
520  Props.append (new Property ("LLODVTH", "0.0", false,
521  QObject::tr ("-")));
522  Props.append (new Property ("WLODVTH", "0.0", false,
523  QObject::tr ("-")));
524  Props.append (new Property ("STK2", "0.0", false,
525  QObject::tr ("-")));
526  Props.append (new Property ("LODK2", "1.0", false,
527  QObject::tr ("-")));
528  Props.append (new Property ("STETA0", "0.0", false,
529  QObject::tr ("-")));
530  Props.append (new Property ("LODETA0", "1.0", false,
531  QObject::tr ("-")));
532  Props.append (new Property ("WL", "0.0", false,
533  QObject::tr ("-")));
534  Props.append (new Property ("WLN", "1.0", false,
535  QObject::tr ("-")));
536  Props.append (new Property ("WW", "0.0", false,
537  QObject::tr ("-")));
538  Props.append (new Property ("WWN", "1.0", false,
539  QObject::tr ("-")));
540  Props.append (new Property ("WWL", "0.0", false,
541  QObject::tr ("-")));
542  Props.append (new Property ("LL", "0.0", false,
543  QObject::tr ("-")));
544  Props.append (new Property ("LLN", "1.0", false,
545  QObject::tr ("-")));
546  Props.append (new Property ("LW", "0.0", false,
547  QObject::tr ("-")));
548  Props.append (new Property ("LWN", "1.0", false,
549  QObject::tr ("-")));
550  Props.append (new Property ("LWL", "0.0", false,
551  QObject::tr ("-")));
552  Props.append (new Property ("LLC", "0.0", false,
553  QObject::tr ("-")));
554  Props.append (new Property ("LWC", "0.0", false,
555  QObject::tr ("-")));
556  Props.append (new Property ("LWLC", "0.0", false,
557  QObject::tr ("-")));
558  Props.append (new Property ("WLC", "0.0", false,
559  QObject::tr ("-")));
560  Props.append (new Property ("WWC", "0.0", false,
561  QObject::tr ("-")));
562  Props.append (new Property ("WWLC", "0.0", false,
563  QObject::tr ("-")));
564  Props.append (new Property ("NTNOI", "1.0", false,
565  QObject::tr ("-")));
566  Props.append (new Property ("KF", "0.0", false,
567  QObject::tr ("-")));
568  Props.append (new Property ("AF", "1.0", false,
569  QObject::tr ("-")));
570  Props.append (new Property ("EF", "1.0", false,
571  QObject::tr ("-")));
572  Props.append (new Property ("TEMP", "27", false,
573  QObject::tr ("-")));
574 
575  createSymbol ();
576  tx = x2 + 4;
577  ty = y1 + 4;
578  Model = "bsim4v30nMOS";
579  Name = "BSIM4_";
580 }
581 
583 {
584  bsim4v30nMOS * p = new bsim4v30nMOS();
585  p->Props.getFirst()->Value = Props.getFirst()->Value;
586  p->recreate(0);
587  return p;
588 }
589 
590 Element * bsim4v30nMOS::info(QString& Name, char * &BitmapFile, bool getNewOne)
591 {
592  Name = QObject::tr("bsim4v30nMOS");
593  BitmapFile = (char *) "bsim4v30nMOS";
594 
595  if(getNewOne) return new bsim4v30nMOS();
596  return 0;
597 }
598 
600 {
601  // put in here symbol drawing code and terminal definitions
602  Lines.append(new Line(-14,-13,-14, 13,QPen(Qt::darkBlue,3)));
603  Lines.append(new Line(-30, 0,-14, 0,QPen(Qt::darkBlue,2)));
604  Lines.append(new Line(-10,-11, 0,-11,QPen(Qt::darkBlue,2)));
605  Lines.append(new Line( 0,-11, 0,-30,QPen(Qt::darkBlue,2)));
606 
607  Lines.append(new Line(-10, 11, 0, 11,QPen(Qt::darkBlue,2)));
608  Lines.append(new Line( 0, 11, 0, 30,QPen(Qt::darkBlue,2)));
609  Lines.append(new Line(-10, 0, 20, 0,QPen(Qt::darkBlue,2)));
610  Lines.append(new Line(-10,-16,-10, -7,QPen(Qt::darkBlue,3)));
611 
612  Lines.append(new Line(-10, 7,-10, 16,QPen(Qt::darkBlue,3)));
613  Lines.append(new Line( -4, 24, 4, 20,QPen(Qt::darkBlue,2)));
614  Lines.append(new Line( -9, 0, -4, -5,QPen(Qt::darkBlue,2)));
615  Lines.append(new Line( -9, 0, -4, 5,QPen(Qt::darkBlue,2)));
616  Lines.append(new Line(-10, -3,-10, 3,QPen(Qt::darkBlue,3)));
617  Lines.append(new Line(-10, -8,-10, -6,QPen(Qt::darkBlue,3)));
618  Lines.append(new Line(-10, 8,-10, 6,QPen(Qt::darkBlue,3)));
619 
620 
621 
622  Ports.append(new Port( 0,-30)); // drain
623  Ports.append(new Port(-30, 0)); // gate
624  Ports.append(new Port( 0, 30)); // source
625  Ports.append(new Port( 20, 0)); // bulk
626 
627  x1 = -30; y1 = -30;
628  x2 = 20; y2 = 30;
629 }
Q3PtrList< Line > Lines
Definition: component.h:67
int y1
Definition: element.h:153
static Element * info(QString &, char *&, bool getNewOne=false)
int tx
Definition: component.h:78
int y2
Definition: element.h:153
Definition: element.h:72
int x1
Definition: element.h:153
int ty
Definition: component.h:78
Q3PtrList< Property > Props
Definition: component.h:72
void createSymbol()
Definition: element.h:48
Superclass of all schematic drawing elements.
Definition: element.h:142
Q3PtrList< Port > Ports
Definition: component.h:70
QString Name
Definition: component.h:80
QString Model
Definition: component.h:80
QString Description
Definition: component.h:81
Component * newOne()
int x2
Definition: element.h:153
virtual void recreate(Schematic *)
Definition: component.h:39