You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- `use_transconductance`: If `true` the parameter `k_n` needs to be provided, and is used in the calculation of the current
8
+
through the transistor. Otherwise, `mu_n`, `C_ox`, `W`, and `L` need to be provided and are used to calculate the transconductance.
9
+
10
+
- `use_channel_length_modulation`: If `true` the channel length modulation effect is taken in to account. In essence this gives
11
+
the drain-source current has a small dependency on the drains-source voltage in the saturation region of operation.
12
+
13
+
# Connectors
14
+
- `d` Drain Pin
15
+
- `g` Gate Pin
16
+
- `s` Source Pin
17
+
18
+
# Parameters
19
+
- `mu_n`: Electron mobility
20
+
- `C_ox`: Oxide capacitance (F/m^2)
21
+
- `W`: Channel width (m)
22
+
- `L`: Channel length
23
+
- `k_n`: MOSFET transconductance parameter
24
+
25
+
Based on the MOSFET models in (Sedra, A. S., Smith, K. C., Carusone, T. C., & Gaudet, V. C. (2021). Microelectronic circuits (8th ed.). Oxford University Press.)
26
+
"""
27
+
@mtkmodel NMOS begin
28
+
@variablesbegin
29
+
V_GS(t)
30
+
V_DS(t)
31
+
V_OV(t)
32
+
end
33
+
34
+
@componentsbegin
35
+
d =Pin(), [description ="Drain pin"]
36
+
g =Pin(), [description ="Gate pin"]
37
+
s =Pin(), [description ="Source pin"]
38
+
end
39
+
40
+
@parametersbegin
41
+
V_tn =0.8, [description ="Threshold voltage (V)"]
42
+
R_DS =1e7, [description ="Drain to source resistance (Ω)"]
- `use_transconductance`: If `true` the parameter `k_p` needs to be provided, and is used in the calculation of the current
100
+
through the transistor. Otherwise, `mu_n`, `C_ox`, `W`, and `L` need to be provided and are used to calculate the transconductance.
101
+
102
+
- `use_channel_length_modulation`: If `true` the channel length modulation effect is taken in to account. In essence this gives
103
+
the drain-source current has a small dependency on the drains-source voltage in the saturation region of operation.
104
+
105
+
# Connectors
106
+
- `d` Drain Pin
107
+
- `g` Gate Pin
108
+
- `s` Source Pin
109
+
110
+
# Parameters
111
+
- `mu_p`: Electron mobility
112
+
- `C_ox`: Oxide capacitance (F/m^2)
113
+
- `W`: Channel width (m)
114
+
- `L`: Channel length
115
+
- `k_p`: MOSFET transconductance parameter
116
+
117
+
Based on the MOSFET models in (Sedra, A. S., Smith, K. C., Carusone, T. C., & Gaudet, V. C. (2021). Microelectronic circuits (8th ed.). Oxford University Press.)
118
+
"""
119
+
@mtkmodel PMOS begin
120
+
@variablesbegin
121
+
V_GS(t)
122
+
V_DS(t)
123
+
end
124
+
125
+
@componentsbegin
126
+
d =Pin(), [description ="Drain pin"]
127
+
g =Pin(), [description ="Gate pin"]
128
+
s =Pin(), [description ="Source pin"]
129
+
end
130
+
131
+
@parametersbegin
132
+
V_tp =-1.5, [description ="Threshold voltage (V)"]
0 commit comments