Lab 6 - EE 421L

Authored by: Medhanie Petros

E-mail: petrosm@unlv.nevada.edu

Date: 10/14/2013

 


Lab description

1.  Go through the tutorial_4 and Electric_video_11, learn to design the schematic and layout of nand and nor gates.

2. Follow the lab6 descriptions to design nand, nor, xor gates. Use LTspice and IRSIM to simulate these gates.

3. Use designed gates to make two types of full adder. One consists of two xors and two nands, one nor and three inverters. The other one is implemented by 3 nand and 2 xor gates.

2. Backup the Lab report and upload it to the CMOSedu.com for the future study and discussion.


Discussions & Captured Images:

NAND gate design:

By following the steps talked in tutorial_4. I design a NAND gate using 10/2 MOSEFTs.  

From the tutorial_3.jelb designed before and duplicate the inv_20_10 cell.

Then delete all the wrie Arcs, icon view and remain the PMOS/NMOS and vdd, gnd.

Change the MOSFETs size into W=10, L=2. Rename the cell as NAND_wwl_f13.  

Copy and paste to put two 10/2 PMOSs and two 10/2 NMOSs in the NAND cell.  

Connect these MOSEFETs and export the off-page nodes as the following NAND circuit. 


snipped_5.JPG

Using the artwork make an icon view.  

The circle, pin and polygon are used in to design the icon and the command "Toggle Outline Edit"

is also useful to change polygon. About the circle, change the degrees to 180 in the node properties. 

snipped_6.JPG

Checking the design, let's simulate the NAND gate. 

Connect one input to VDD and give a pusle signal to other input node. 

snipped_7.JPG

wave form of the NAND 


snipped_8.JPG

Move to lay out the NAND cell. 

The inv_20_10 contains the MOSFET layout. Only change the PMOS size and reconnect the nodes. Follow the steps shown in tutoral_4. 


snipped_9.JPG

snipped_1.JPG

simulate the NAND layout


snipped_4.JPG

wave form

snipped_8.JPG


Using the LTpice and IRsim simulate the NAND gate. 

snipped_11.JPG

wave form

snipped_10.JPG



NOR gate design:

NAND gate can make the NOR gate much easier. Both gates use 4 MOSFETs and the change is the connection. 

And the size of PMOS is 20/2. Duplicate the NAND cell including the schematic, icon and layout cells. 

Then change the wire connection in the shematic. The right connection is shown in the following image.

snipped_12.JPG

The icon design of NOR

snipped_13.JPG

The NAND cell design, simulate the NOR gate. 

snipped_14.JPG

wave form

snipped_8.JPG

Layout of the NOR gate. 

snipped_15.JPG

LTspice for simulation.


snipped_16.JPG

wave form

snipped_17.JPG

XOR gate design:

Two extra inverters are needed in this design.  We can see 12 transistors will used in XOR gate. 

The size of PMOS is 20/10 and keep the size of NMOS unchanged. 

After designing NAND and NOR gates, the XOR is much easier. Duplicate the XOR gate again. 

And get 12 transistor in the new cell: XOR_wwl_f13. The correct circuit is shown in the following.

snipped_18.JPG


The icon view looks like NOR gate. 

snipped_19.JPG

Move to the simulation, let's design the layout. Because it has 12 transistors, we need more time. 

Put every transistors in the standard cell frames that snap together end-to-end. 

Press F5 to check DRC. 

snipped_20.JPG

By connecting one input to gnd and give a pulse to other input node. 

snipped_21.JPG


wave form


snipped_22.JPG

The LTspice simulation

snipped_23.JPG

wave form

snipped_25.JPG

Full adder design:

For the first full adder, use 2 XORs, 2 NANDs and 1 NOR with 3 inverters. 

Open a new cell: fulladder. And connect the wire Arcs as the figure shown in LAB6. 

snipped_26.JPG

Simulate by LTspice and IRSIM as seen below. 

snipped_27.JPG

wave form

snipped_28.JPG


For the second full adder with 3 NAND gates and 2 XOR gates. 

snipped_29.JPG

The layout design 

p22.JPG

The LTspice and IRSIM is shown as below.


snipped_32.JPG


Backup all work and email it to yourself.


snipped_33.JPG


.jelib file

Return to Labs

Return to students list