0% found this document useful (0 votes)
34 views6 pages

Cascode Load Impedance

The document contains code for calculating gain and phase of a cascode load impedance. It includes MOSFET and op-amp device definitions and a circuit schematic with resistors, capacitors, inductors, and voltage and current sources.

Uploaded by

prajaktagupta
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
34 views6 pages

Cascode Load Impedance

The document contains code for calculating gain and phase of a cascode load impedance. It includes MOSFET and op-amp device definitions and a circuit schematic with resistors, capacitors, inductors, and voltage and current sources.

Uploaded by

prajaktagupta
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 6

Code to calculate gain and phase

*cascode load impedance gain and phase


M1a 4 2 1 1 p_1 w=2u l=0.36u
M1b 5 2 1 1 p_1 w=2u l=0.36u
M1c 2 2 1 1 p_1 w=2u l=0.36u
M2a 6 3 4 4 p_1 w=1u l=0.18u
M2b 8 3 5 5 p_1 w=1u l=0.18u
M2c 3 3 2 2 p_1 w=1u l=0.18u
c1 6 8 2f
gv 6 8 1c 2c 1e9-9
ib1 6 0 dc 1U
ib2 8 0 dc 1U
ib3 3 0 dc 1U

vi 1c 2c ac 10u
r1 1c 0 100k
r2 2c 0 100k
vdd 1 0 dc 5

.MODEL p_1 PMOS LEVEL=7


* ---------------------------------------------------------------------************************* SIMULATION PARAMETERS ************************
* ---------------------------------------------------------------------* format : PSPICE
* model

: MOS BSIM3v3

* process : CS[ADFI]

* revision : 2;
* extracted : CSA C61417 A64770; 2000-12; ese(5487)
* doc#

: 9933016 REV_2

* ---------------------------------------------------------------------*

TYPICAL MEAN CONDITION

* ---------------------------------------------------------------------*
*

*** Flags ***

+MOBMOD =1.000e+00 CAPMOD =2.000e+00


+NLEV =0
*

NOIMOD =1.000e+00

*** Threshold voltage related model parameters ***

+K1

=5.675e-01

+K2

=-4.39e-02 K3

=4.540e+00 K3B =-8.52e-01

+NCH =1.032e+17 VTH0 =-6.17e-01


+VOFF =-1.13e-01 DVT0 =1.482e+00 DVT1 =3.884e-01
+DVT2 =-1.15e-02 KETA =-2.56e-02
+PSCBE1 =1.000e+09 PSCBE2 =1.000e-08
+DVT0W =0.000e+00 DVT1W =0.000e+00 DVT2W =0.000e+00
*

*** Mobility related model parameters ***

+UA

=2.120e-10 UB

+U0

=1.296e+02

=8.290e-19 UC

=-5.28e-11

*** Subthreshold related parameters ***

+DSUB =5.000e-01 ETA0 =2.293e-01 ETAB =-3.92e-03


+NFACTOR=8.237e-01
*
+EM

*** Saturation related parameters ***


=4.100e+07 PCLM =2.979e+00

+PDIBLC1=3.310e-02 PDIBLC2=1.000e-09 DROUT =5.000e-01

+A0

=1.423e+00 A1

=0.000e+00 A2

=1.000e+00

+PVAG =0.000e+00 VSAT =2.000e+05 AGS =3.482e-01


+B0

=2.719e-07 B1

=0.000e+00 DELTA =1.000e-02

+PDIBLCB=-1.78e-02
*
+W0

*** Geometry modulation related parameters ***


=4.894e-08 DLC =4.000e-09

+DWB =0.000e+00 DWG =0.000e+00


+LL

=0.000e+00 LW

=0.000e+00 LWL =0.000e+00

+LLN =1.000e+00 LWN =1.000e+00 WL


+WW

=0.000e+00

=0.000e+00 WWL =0.000e+00 WLN =1.000e+00

+WWN =1.000e+00
*
+AT

*** Temperature effect parameters ***


=3.300e+04 UTE =-1.35e+00

+KT1 =-5.70e-01 KT2 =2.200e-02 KT1L =0.000e+00


+UA1 =0.000e+00 UB1 =0.000e+00 UC1 =0.000e+00
+PRT =0.000e+00
*

*** Overlap capacitance related and dynamic model parameters ***

+CGDO =7.420e-11 CGSO =7.420e-11 CGBO =1.100e-10


+CGDL =1.290e-10 CGSL =1.290e-10 CKAPPA =6.000e-01
+CF

=0.000e+00 ELM =5.000e+00

+XPART =1.000e+00 CLC =1.000e-15 CLE =6.000e-01


*

*** Parasitic resistance and capacitance related model parameters ***

+RDSW =1.853e+03
+CDSC =6.994e-04 CDSCB =2.943e-04 CDSCD =1.970e-04
+PRWB =0.000e+00 PRWG =0.000e+00 CIT =1.173e-04
*

*** Process and parameters extraction related model parameters ***

+TOX =7.700e-09 NGATE =0.000e+00

+NLX =1.770e-07
*

*** Substrate current related model parameters ***

+ALPHA0 =0.000e+00 BETA0 =3.000e+01


*
+AF

*** Noise effect related model parameters ***


=1.290e+00 KF

=1.090e-27 EF

=1.000e+00

+NOIA =1.000e+20 NOIB =5.000e+04 NOIC =-1.40e-12


*

*** Common extrinsic model parameters ***

+LINT =-8.14e-08 WINT =3.845e-08 XJ


+RSH =1.560e+02 JS
+CJ

=3.000e-07

=2.000e-05

=1.420e-03 CJSW =3.800e-10

+CBD =0.000e+00 CBS =0.000e+00 IS

=0.000e+00

+MJ

=5.500e-01 N

=1.000e+00 MJSW =3.900e-01

+PB

=1.020e+00 TT

=0.000e+00

+PBSW =1.020e+00

.OPTION STEPGMIN
.ac dec 20 10k 100g

.probe
.end
manan
*OP-AMP
X1 17 18 41 42 6UA741
X2 19 11 41 42 11 UA741
X3 24 23 41 42 22 UA741

*MOSFETS
M1 2 4 9 9 N_1 w=2u l=0.36u
M2 5 31 7 7 N_1 w=2u l=0.36u
M3 28 29 7 7 p_1 w=2u l=0.36u
M4 13 12 28 28 p_1 w=2u l=0.36u
M5 3 4 10 10 N_1 w=2u l=0.36u
M6 10 31 8 8 N_1 w=2u l=0.36u
M7 30 29 8 8 p_1 w=2u l=0.36u
M8 14 12 30 30 p_1 w=2u l=0.36u
M9 1 1 33 33 N_1 w=2u l=0.36u
M10 33 6 18 18 N_1 w=2u l=0.36u
M11 21 22 23 23 p_1 w=2u l=0.36u
M12 20 20 21 21 p_1 w=2u l=0.36u

*INDUCTORS
L1 2 1 0.1U
L2 1 3 0.1U
K1 L1 L2 1
L3 7 11 0.1
L4 11 8 0.1
K2 L3 L4 1
L5 13 20 0.1
L6 20 14 0.1
K3 L5 L6 1

*RESISTORS
R1 6 5 1K

R2 29 22 1K

*CAPACITORS
C1 2 26 1U
C2 3 27 1U
C3 13 15 1U
C4 14 16 1U

*VOLATAGE SOURCES
VDD 1 0 1V
VDD2 23 0 1V
VDD3 17 0 1V
VDD4 19 0 1V
VDD5 24 0 1V
E1 100 0 7 0 1V
E2 100 0 8 0 1V

*INPUTS
VIN1 7 0 5V
VIN2 8 0 5V
----------------------------------------------==========------------------------------------------------------------------------------MJJJ

*CURRENT SOURCES
I1 18 0 1A
I2 25 23 1A

You might also like