Lab 6 - ECE 421L 

Authored by Geovanni Portillo,

October 19th, 2019

  

Design, layout, and simulation of a CMOS NAND gate, XOR gate, and Full-Adder

All images can be double-clicked to view larger versions

   
Lab 6 files can be downloaded here or at the bottom of the page

Prelab:

 

   

NAND 2 Input
SchematicSymbolLayoutExtracted

 

LVS

NAND 2 Input Simulation
SchematicPlot

   


Lab:

   
Draft the schematics of a 2-input NAND gate (Fig. 12.1), and a 2-input XOR gate (Fig. 12.18) using 6u/0.6u MOSFETs (both NMOS and PMOS)
NAND
SchematicLayout
ExtractedSymbol
DRCLVS
   

XOR
SchematicLayout
ExtractedSymbol
DRCLVS
   
Using Spectre simulate the logical operation of the gates for all 4 possible inputs (00, 01, 10, and 11)  
   
SchematicPlot

     
We can see that the inverter, nand and xor gates are operating as expected. Though, the xor gate shows glitches when we go from A'B to AB' since the transition between the inputs isn't instant. If the rise/fall times aren't fast enough the output can show a different behavior for a brief period of time, as we see in the xor waveform. One method of resolving this would be to have an even number of inverters so on the inputs so that when there is a change, the rise/fall times will be quick enough.


Using these gates, draft the schematic of the full adder. Create a symbol for this full-adder.

Simulate, using Spectre, the operation of the full-adder using this symbol. DRC and LVS your full adder design.

Full Adder
SchematicLayout
Marked up layout view to point out pins
ExtractedSymbol
DRCLVS

   

Simulate, using Spectre, the operation of the full-adder using the symbol
Full Adder Simulation
SchematicPlot
   
The output matches what is expected of a full adder.


   

Design files and lab reports are backed up to October 18th, 2019

   

Files for lab6 can be downloaded here or at the top of the page

   

Return to Index   

   

Return to EE 421 Labs