|
ECE 658 ( VLSI Design Principles ) Lab #1 Design and Simulation of A Two Input CMOS NAND Gate Submitter: Hui Zhu ( huizhu@ecs.umass.edu ) Date: 10/03/2001 Objective Design a CMOS layout for a 2-input nor gate. And it should reach the following system requirement:
I. System Design: Given: A two-input NAND Gate:
II. Logic Design: The schematic of the two input CMOS NAND gate includes two parallel pmos transistors and two series nmos transistors. As long as an input has a LOW input, one of the two pmos transistors turns on while one of the two series transistors cuts off. The output port begins to charge and has a HIGH output. The simulation output is done by IRSIM and the logical function of NAND Gate is thus verified. III. Circuit Design: Hand Calculation and Assumptions: 1. The load of the gates can be approximated calculated by the following: Cg = (Number of Gates)*(Cap + Can) = N*(Cox*Wp*Lp +Cox*Wn*Ln) Cg = 32*(9.3fF/um2*.3um*.2um+ 9.3fF/um2*.6um*.2um) = 53.568 fF Cw = 50 fF CL= Cw + Cg = 50fF + 53.568fF = 103.568 fF 2. In sub-micron technology, the ID is increasing proportional to the (VGS - VT). Page54 in the textbook gives the following formula to calculate the current: ID = k v sat Cox W ( VGS - VT ) for VDS>=VDSAT (saturated region) From Page134, we have the formula for the propagation delay computation: tp = CL*(VOH - VOL) / 2 / | Iav | For the worst case tPLH, only one pmos on, therefore, tPHL =CL * Vdd / ( Kp * Wp * ( VDD - | VTp | ) ) tPLH =CL * Vdd / ( ( Kn / 2 )* Wn * ( VDD - | VTn | ) ) 3. Given hand calculation parameters:
Hand calculation results for tP=300ps: (Ln = Lp =200 nm) Wp = 4.28 um Wn = 3.23 um Hand Calculation vs. Simulation Results:
Since the worst case occurs when: For tPHL, the worst case occurs when the inputs change from (0, 0) to (1,1) For tPLH, the worst case occurs when the inputs change from (1,1) to (1,0) or from (1,1) to (0,1) Therefore, if I got the worst tphl and tplh smaller than 300ps, the delay time will definitely with in the 300ps. And all my following results are in the worst case. You may see the tPHL & tPLH clearly from the waveform of original size of Nand Gate. You may also look the enlarged waveform for tpHL and waveform for tpLH. NAND Gate Size Modification: From simulation, we could see that tp is far away from 300ps, that means we have a lot of space to decrease the Wp and Wn. Here lists my simulation results:
I finally choose the size as following: Wp = 1.8 um Wn = 1.6 um The HSPICE File is extracted from the schematic, running HSPICE and AWAVES we can get the tPHL and tPLH , please refer to the waveform for the tpHL and tpLH. Also the logical function is verified by the IRSIM. IV. Layout Design:
$DATA1 SOURCE='HSPICE'
VERSION=' 20'
Conclusion In this lab, a 2-input NAND gate is successfully designed on the base of .18um technology. The logical function of NAND gate is verified by the IRSIM, and the layout is drawn by the Cadence. The HSPICE files are extracted both from schematic and the layout. All the simulation results from HSIPCE files show that all the requirements are satisfied. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||