My Project  0.0.16
QUCS Mapping
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
hicumL2V2p24.core.h
Go to the documentation of this file.
1 /*
2  * hicumL2V2p24.core.h - device class definitions for hicumL2V2p24 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 #ifndef __hicumL2V2p24_H__
12 #define __hicumL2V2p24_H__
13 
14 class hicumL2V2p24 : public circuit
15 {
16  public:
18 
19  void initDC (void);
20  void restartDC (void);
21  void calcDC (void);
22  void saveOperatingPoints (void);
23  void loadOperatingPoints (void);
24  void calcOperatingPoints (void);
25  void initAC (void);
26  void calcAC (nr_double_t);
27  void initSP (void);
28  void calcSP (nr_double_t);
29  void calcNoiseAC (nr_double_t);
30  void calcNoiseSP (nr_double_t);
31  void initTR (void);
32  void calcTR (nr_double_t);
33  void initHB (int);
34  void calcHB (int);
35 
36  private:
37  void initVerilog (void);
38  void calcVerilog (void);
39  void initModel (void);
40  void loadVariables (void);
41  void initializeModel (void);
42  void initializeInstance (void);
43  void initialStep (void);
44  void finalStep (void);
45  matrix calcMatrixY (nr_double_t);
46  matrix calcMatrixCy (nr_double_t);
47 
48  private:
49  int doHB;
50  int doAC;
51  int doTR;
52 
53  nr_double_t _freq;
54  nr_double_t _rhs[15];
55  nr_double_t _qhs[15];
56  nr_double_t _ghs[15];
57  nr_double_t _chs[15];
58  nr_double_t _jstat[15][15];
59  nr_double_t _jdyna[15][15];
60  nr_double_t _white_pwr[15][15];
61  nr_double_t _flicker_pwr[15][15];
62  nr_double_t _flicker_exp[15][15];
63  nr_double_t _charges[15][15];
64  nr_double_t _caps[15][15][15][15];
65 
66  // device model parameters
67  nr_double_t c10;
68  nr_double_t qp0;
69  nr_double_t ich;
70  nr_double_t hfe;
71  nr_double_t hfc;
72  nr_double_t hjei;
73  nr_double_t hjci;
74  nr_double_t ibeis;
75  nr_double_t mbei;
76  nr_double_t ireis;
77  nr_double_t mrei;
78  nr_double_t ibeps;
79  nr_double_t mbep;
80  nr_double_t ireps;
81  nr_double_t mrep;
82  nr_double_t mcf;
83  nr_double_t tbhrec;
84  nr_double_t ibcis;
85  nr_double_t mbci;
86  nr_double_t ibcxs;
87  nr_double_t mbcx;
88  nr_double_t ibets;
89  nr_double_t abet;
90  int tunode;
91  nr_double_t favl;
92  nr_double_t qavl;
93  nr_double_t alfav;
94  nr_double_t alqav;
95  nr_double_t rbi0;
96  nr_double_t rbx;
97  nr_double_t fgeo;
98  nr_double_t fdqr0;
99  nr_double_t fcrbi;
100  nr_double_t fqi;
101  nr_double_t re;
102  nr_double_t rcx;
103  nr_double_t itss;
104  nr_double_t msf;
105  nr_double_t iscs;
106  nr_double_t msc;
107  nr_double_t tsf;
108  nr_double_t rsu;
109  nr_double_t csu;
110  nr_double_t cjei0;
111  nr_double_t vdei;
112  nr_double_t zei;
113  nr_double_t ajei;
114  nr_double_t cjep0;
115  nr_double_t vdep;
116  nr_double_t zep;
117  nr_double_t ajep;
118  nr_double_t cjci0;
119  nr_double_t vdci;
120  nr_double_t zci;
121  nr_double_t vptci;
122  nr_double_t cjcx0;
123  nr_double_t vdcx;
124  nr_double_t zcx;
125  nr_double_t vptcx;
126  nr_double_t fbcpar;
127  nr_double_t fbepar;
128  nr_double_t cjs0;
129  nr_double_t vds;
130  nr_double_t zs;
131  nr_double_t vpts;
132  nr_double_t t0;
133  nr_double_t dt0h;
134  nr_double_t tbvl;
135  nr_double_t tef0;
136  nr_double_t gtfe;
137  nr_double_t thcs;
138  nr_double_t ahc;
139  nr_double_t fthc;
140  nr_double_t rci0;
141  nr_double_t vlim;
142  nr_double_t vces;
143  nr_double_t vpt;
144  nr_double_t tr;
145  nr_double_t cbepar;
146  nr_double_t cbcpar;
147  nr_double_t alqf;
148  nr_double_t alit;
149  int flnqs;
150  nr_double_t kf;
151  nr_double_t af;
152  int cfbe;
153  nr_double_t latb;
154  nr_double_t latl;
155  nr_double_t vgb;
156  nr_double_t alt0;
157  nr_double_t kt0;
158  nr_double_t zetaci;
159  nr_double_t alvs;
160  nr_double_t alces;
161  nr_double_t zetarbi;
162  nr_double_t zetarbx;
163  nr_double_t zetarcx;
164  nr_double_t zetare;
165  nr_double_t zetacx;
166  nr_double_t vge;
167  nr_double_t vgc;
168  nr_double_t vgs;
169  nr_double_t f1vg;
170  nr_double_t f2vg;
171  nr_double_t zetact;
172  nr_double_t zetabet;
173  nr_double_t alb;
174  int flsh;
175  nr_double_t rth;
176  nr_double_t cth;
177  nr_double_t flcomp;
178  nr_double_t tnom;
179  nr_double_t dt;
180 
181  // global model variables
182  double VT;
183  double Tdev;
184  double qtt0;
185  double ln_qtt0;
186  double r_VgVT;
187  double V_gT;
188  double dT;
189  double k;
190  double ireis_t;
191  double ibeis_t;
192  double ibcxs_t;
193  double ibcis_t;
194  double iscs_t;
195  double cjci0_t;
196  double cjs0_t;
197  double rci0_t;
198  double vlim_t;
199  double vces_t;
200  double thcs_t;
201  double tef0_t;
202  double rbi0_t;
203  double rbx_t;
204  double rcx_t;
205  double re_t;
206  double t0_t;
207  double vdei_t;
208  double vdci_t;
209  double vpts_t;
210  double itss_t;
211  double tsf_t;
212  double c10_t;
213  double cjei0_t;
214  double qp0_t;
215  double vdcx_t;
216  double vptcx_t;
217  double cjcx01_t;
218  double cjcx02_t;
219  double cratio_t;
220  double ibeps_t;
221  double ireps_t;
222  double cjep0_t;
223  double ajei_t;
224  double qavl_t;
225  double favl_t;
226  double ibets_t;
227  double abet_t;
228  double vptci_t;
229  double vdep_t;
230  double ajep_t;
231  double zetatef;
232  double k1;
233  double k2;
234  double dvg0;
235  double vge_t;
236  double vgb_t;
237  double vgbe_t;
238  double vds_t;
239  double vt0;
240  double Tnom;
241  double Tamb;
242  double a;
243  double avs;
244  double zetabci;
245  double zetabcxt;
246  double zetasct;
247  double vgbe0;
248  double mg;
249  double vgbe_t0;
250  double vgbc0;
251  double vgsc0;
252  double cbcpar1;
253  double cbcpar2;
254  double cbepar2;
255  double cbepar1;
256  double Oich;
257  double Otbhrec;
258  double vdj0;
259  double vdjt;
260  double vdt;
261  double cjcx01;
262  double cjcx02;
263 
264  //
265  double it;
266  //
267  double ibei;
268  //
269  double ibci;
270  //
271  double ibep;
272  //
273  double iavl;
274  //
275  double ijbcx;
276  //
277  double ijsc;
278  //
279  double rbi;
280  //
281  double Tf;
282  //
283  double betadc;
284 
285 
286 };
287 
288 #endif /* __hicumL2V2p24_H__ */