Lab 06 - EE 421L 

Authored by Junho Bae

baej8@unlv.nevada.edu

October 25, 2017 

  

Pre-lab work

Back-up all my work from this lab and the course.
Complete Tutorial 4.

A 2-input nand gate which was used in the lab below was drafted.

Lab Work
       
Drafting a 2-input NAND gate using 6u/0.6u MOSFETs
     
Using 2 NMOS and 2 PMOS's I drafted a NAND gate, and created a commonly used symbol. 
Schematic Symbol
http://cmosedu.com/jbaker/courses/ee421L/f17/students/baej8/Lab%206/images/lab/nand_schematic.PNG
http://cmosedu.com/jbaker/courses/ee421L/f17/students/baej8/Lab%206/images/lab/nand_symbol.PNG
   
I made sure to use standard cell frames that snapped together end-to-end.
The two MOSFETs on the bottom were overlapped and flattened.
Because the NMOS's are in series, the excessive contact cuts and metal1 layers were removed.
The images following the layout show successful LVS and DRCs.
Layout Extracted
http://cmosedu.com/jbaker/courses/ee421L/f17/students/baej8/Lab%206/images/lab/nand_layout.PNG
http://cmosedu.com/jbaker/courses/ee421L/f17/students/baej8/Lab%206/images/lab/nand_extracted.PNG
     
DRC successful
http://cmosedu.com/jbaker/courses/ee421L/f17/students/baej8/Lab%206/images/lab/nand_drc.PNG
   
LVS successful
http://cmosedu.com/jbaker/courses/ee421L/f17/students/baej8/Lab%206/images/lab/nand_lvs.PNG
http://cmosedu.com/jbaker/courses/ee421L/f17/students/baej8/Lab%206/images/lab/nand_lvs_output.PNG
     
Drafting a 2-input XOR gate using 6u/0.6u MOSFETs
   
Similarly, the schematic of a XOR gate was drafted using the same methods as above.
The XOR gate consisted of 6 NMOS and PMOS's; I created a commonly used xor symbol.
Schematic Symbol
http://cmosedu.com/jbaker/courses/ee421L/f17/students/baej8/Lab%206/images/lab/xor_schematic.PNG
http://cmosedu.com/jbaker/courses/ee421L/f17/students/baej8/Lab%206/images/lab/xor_symbol.PNG
   
I used two standard cell frames to layout the 2 input xor gate. I ensured that all gate inputs, outputs, and global pins were routed on metal1.
Following the layout and extracted images are successful LVS and DRC images.
Layout Extracted
http://cmosedu.com/jbaker/courses/ee421L/f17/students/baej8/Lab%206/images/lab/xor_layout.PNG
http://cmosedu.com/jbaker/courses/ee421L/f17/students/baej8/Lab%206/images/lab/xor_extracted.PNG
   
DRC successful
http://cmosedu.com/jbaker/courses/ee421L/f17/students/baej8/Lab%206/images/lab/xor_drc.PNG
   
LVS successful
http://cmosedu.com/jbaker/courses/ee421L/f17/students/baej8/Lab%206/images/lab/xor_lvs.PNG
http://cmosedu.com/jbaker/courses/ee421L/f17/students/baej8/Lab%206/images/lab/xor_lvs_output.PNG
   
Drafting an inverter using 6u/0.6u MOSFETs
   
Similar to the previous lab, I applied the same concept to draft a 6um by 600nm inverter for simulation purposes.
Schematic Symbol
http://cmosedu.com/jbaker/courses/ee421L/f17/students/baej8/Lab%206/images/lab/inverter_schematic.PNG
http://cmosedu.com/jbaker/courses/ee421L/f17/students/baej8/Lab%206/images/lab/inverter_symbol.PNG
   
Below are 
layout/extracted images of the inverter.
Layout Extracted
http://cmosedu.com/jbaker/courses/ee421L/f17/students/baej8/Lab%206/images/lab/inverter_layout.PNG
http://cmosedu.com/jbaker/courses/ee421L/f17/students/baej8/Lab%206/images/lab/inverter_extracted.PNG
   
DRC successful
http://cmosedu.com/jbaker/courses/ee421L/f17/students/baej8/Lab%206/images/lab/inverter_drc.PNG
   
LVS successful
http://cmosedu.com/jbaker/courses/ee421L/f17/students/baej8/Lab%206/images/lab/inverter_lvs.PNG
http://cmosedu.com/jbaker/courses/ee421L/f17/students/baej8/Lab%206/images/lab/inverter_lvs_output.PNG
   
GATE simulation
   
Using the 3 different gates that were drafted, the logic gates were tested using two pulse sources to imitate logical highs and lows.
A total of 4 different combinations for the 2 input gates were used to generate all possible outputs.
I simulated both the schematic and extracted layout to see if there was any differences.
Schematic
http://cmosedu.com/jbaker/courses/ee421L/f17/students/baej8/Lab%206/images/lab/gates_schematic.PNG
     
Simulation NetlistSimulation
http://cmosedu.com/jbaker/courses/ee421L/f17/students/baej8/Lab%206/images/lab/gates_sim_spectre.PNGhttp://cmosedu.com/jbaker/courses/ee421L/f17/students/baej8/Lab%206/images/lab/gates_simulation.PNG
http://cmosedu.com/jbaker/courses/ee421L/f17/students/baej8/Lab%206/images/lab/gates_sim_extracted.PNGhttp://cmosedu.com/jbaker/courses/ee421L/f17/students/baej8/Lab%206/images/lab/gates_simulation_extracted.PNG
   
Truth Table
ABAiAnandBAxorB
00110
01111
10011
11011
   
I noticed no significant differences between the two simulations; however, there was a glitch at 200 ns due to the input signals changing simultaneously.
The rising edge and falling edges of the input signals results in unclear signals for 1 ns, causing the glitch in the nand gate's output.
     
Drafting a full adder using 6u/0.6u MOSFETs
   
I used the nand gates and xor gates from the earlier portion of the lab to draft a full adder.
Likewise, I created a symbol representing an ALU which illustrates the arithematic concept of a full adder.
Schematic Symbol
http://cmosedu.com/jbaker/courses/ee421L/f17/students/baej8/Lab%206/images/lab/fa_schematic.PNG
http://cmosedu.com/jbaker/courses/ee421L/f17/students/baej8/Lab%206/images/lab/fa_symbol.PNG
   
Below are images of the layout and extracted views of the full adder.
I instantiated the layouts from the NAND and XOR cells to snap the different gates into place.
I also made sure the inputs and outputs of the full-adder was routed to metal1 or metal2.
Layout http://cmosedu.com/jbaker/courses/ee421L/f17/students/baej8/Lab%206/images/lab/fa_layout.PNG
Extracted http://cmosedu.com/jbaker/courses/ee421L/f17/students/baej8/Lab%206/images/lab/fa_extracted.PNG
   
DRC successful
http://cmosedu.com/jbaker/courses/ee421L/f17/students/baej8/Lab%206/images/lab/fa_drc.PNG
   
LVS successful
http://cmosedu.com/jbaker/courses/ee421L/f17/students/baej8/Lab%206/images/lab/fa_lvs.PNG
http://cmosedu.com/jbaker/courses/ee421L/f17/students/baej8/Lab%206/images/lab/fa_lvs_output.PNG
   
Full-Adder simulations
   
Once the the Layout and Schematic matched, I proceeded to simulated the full adder.
Below are the simulation results of both the layout and the schematic.
Schematic
http://cmosedu.com/jbaker/courses/ee421L/f17/students/baej8/Lab%206/images/lab/fa_sim_schematic.PNG
   
Simulation NetlistSimulation
http://cmosedu.com/jbaker/courses/ee421L/f17/students/baej8/Lab%206/images/lab/fa_sim_spectre.PNGhttp://cmosedu.com/jbaker/courses/ee421L/f17/students/baej8/Lab%206/images/lab/fa_simulation.PNG
http://cmosedu.com/jbaker/courses/ee421L/f17/students/baej8/Lab%206/images/lab/fa_sim_extracted.PNGhttp://cmosedu.com/jbaker/courses/ee421L/f17/students/baej8/Lab%206/images/lab/fa_simulation_extracted.PNG
   
abcinscout
00000
00110
01010
01101
10010
10101
11001
11111
       
Similar to the gate simulations, I didn't notice anything different between the two different simulations.
The simulation results matched the truth table of a logical full adder; however I noticed  glitches in the same places of the gate simulation.
When more than 1 input signal was changing simultaneously, the output signal was not clear.

Final design directory: lab6_jb.zip
     

Return to Junho's Labs

Return to EE421L Labs