My Project  0.0.16
QUCS Mapping
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
hic2_full.core.h
Go to the documentation of this file.
1 /*
2  * hic2_full.core.h - device class definitions for hic2_full 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 __hic2_full_H__
12 #define __hic2_full_H__
13 
14 class hic2_full : 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[10];
55  nr_double_t _qhs[10];
56  nr_double_t _ghs[10];
57  nr_double_t _chs[10];
58  nr_double_t _jstat[10][10];
59  nr_double_t _jdyna[10][10];
60  nr_double_t _white_pwr[10][10];
61  nr_double_t _flicker_pwr[10][10];
62  nr_double_t _flicker_exp[10][10];
63  nr_double_t _charges[10][10];
64  nr_double_t _caps[10][10][10][10];
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 
183 
184 
185 };
186 
187 #endif /* __hic2_full_H__ */