Professional Documents
Culture Documents
Spice Ii: Prepared by Dr. Wagih Girgis
Spice Ii: Prepared by Dr. Wagih Girgis
Prepared
By
Dr. Wagih Girgis
Chapter 2
Introduction to CMOS
Design
CMOS
Circuit Design, Layout, and Simulation
Third Edition
R. Jacob Baker
RC Circuit
Figure 2.21 shows a simple RC circuit driven from a voltage pulse. If the input
pulse transitions from 0 to Vpulse at a time which we'll call zero, then the voltage
across the capacitor (the output voltage) is given by
• The time it takes the output of the RC circuit to reach 50% of Vpulse be (defined
as the circuit's delay time) is determined using
• The rise time of the output pulse is defined as the time it takes the output to
go from 10% of the final voltage to 90% of the final voltage (Vpulse). To
determine the rise time in terms of the RC time constant, we can write
Vm Vm
VP VP
0
0
Vm
Figure 2.18 Circuit used in Ex. 2.4 to demonstrate simulation of a diode's reverse
recovery time.
• The SPICE netlist used to simulate the circuit in Fig. 2.18 is shown below.
* SPICE_Examples Dioderr.cir
D1 vd 0 Dtrr
R1 vin Vd 1k
Vin vin 0 DC 0 pulse 10 -10 10n 0.1n 0.1n 20n 40n
* pulse Vinit=10, Vfinal=-10, td=10n, tr=0.1n, tf=0.1n, pw=20n, per=40n
.Model Dtrr D is= 1.0E-15 tt=10E-9 cj0=1E-12 vj = 0.7 m=0.33
.tran 100p 25n
.plot vd vin id
.end
END