Lab 6 - ECE 421L 

Brian Medrano Kiaer

Email: kiaer@unlv.nevada.edu

October 18, 2018

  

Prelab Work:

The purpose of the Lab 6 prelab is to learn how to create a NAND Gate in a schematic and a layout then DRC and LVS those two. 


http://cmosedu.com/jbaker/courses/ee421L/f18/students/kiaer/lab6/snip1.JPG

Above is the NAND2 Gate Schematic created from Tutorial_4

http://cmosedu.com/jbaker/courses/ee421L/f18/students/kiaer/lab6/snip4.JPG

Above is the layout created for the NAND2 Gate created from Tutorial_4

http://cmosedu.com/jbaker/courses/ee421L/f18/students/kiaer/lab6/snip5.JPG

http://cmosedu.com/jbaker/courses/ee421L/f18/students/kiaer/lab6/snip3.JPG

Here I performed DRC (Verify->DRC) and LVS (Verify->LVS) to ensure that the schematic and the extracted NAND2 Gates correspond to each other efficiently.

Lab Work:

Draft the schematics of a 2-input NAND gate and a 2-input XOR gate using 6u/0.6u MOSFETs

http://cmosedu.com/jbaker/courses/ee421L/f18/students/kiaer/lab6/snip14.JPG  http://cmosedu.com/jbaker/courses/ee421L/f18/students/kiaer/lab6/snip22.JPG 

The schematic of a 2-input NAND gate (left) and a 2-input XOR gate (right). 

http://cmosedu.com/jbaker/courses/ee421L/f18/students/kiaer/lab6/snip10.JPG    http://cmosedu.com/jbaker/courses/ee421L/f18/students/kiaer/lab6/snip11.JPG

The symbol cellviews for the 2-input NAND gate (left) and the 2-input XOR gate (right) with my initials within the symbols using Create -> Note -> Text.

http://cmosedu.com/jbaker/courses/ee421L/f18/students/kiaer/lab6/snip12.JPG

Before creating the layouts for the NAND gate and the XOR gate. I created a standard cell frame that is taller than previous frames to ensure that I can use it for future assignments and projects. 


http://cmosedu.com/jbaker/courses/ee421L/f18/students/kiaer/lab6/snip15.JPG     http://cmosedu.com/jbaker/courses/ee421L/f18/students/kiaer/lab6/snip16.JPG


The layout view for the NAND gate (left) and the extracted view of the NAND gate (right)

http://cmosedu.com/jbaker/courses/ee421L/f18/students/kiaer/lab6/snip17.JPG

Next I performed a DRC check to ensure that there are no issues with the layout (Verify -> DRC).

http://cmosedu.com/jbaker/courses/ee421L/f18/students/kiaer/lab6/snip13.JPG

Then I ran LVS (Verify->LVS) to ensure that there are no discrepancies between the schematic and the extracted view of the NAND gate. 

http://cmosedu.com/jbaker/courses/ee421L/f18/students/kiaer/lab6/snip19.JPG http://cmosedu.com/jbaker/courses/ee421L/f18/students/kiaer/lab6/snip21.JPG

The layout above is for the 2-input XOR gate (left) and the extracted view of the layout for the 2-input XOR gate (right)

http://cmosedu.com/jbaker/courses/ee421L/f18/students/kiaer/lab6/snip20.JPG

http://cmosedu.com/jbaker/courses/ee421L/f18/students/kiaer/lab6/snip18.JPG

I ran DRC and LVS on the layout to ensure there are no issues with the layout.  The net-lists matched.


http://cmosedu.com/jbaker/courses/ee421L/f18/students/kiaer/lab6/snip23.JPG   http://cmosedu.com/jbaker/courses/ee421L/f18/students/kiaer/lab6/snip24.JPG

I created a simulation schematic using three different gates Inverter, NAND, and XOR gate with the correspoding outputs Ai, AnandB, and AxorB. I used two different vpulse components to display the corresponding different values with different logic inputs. Input B runs half the period as input A. This simulation using spectre will provide the signals: 00, 01, 10, and 11.



Comment about glitching:

When the inputs transition from 01 to 10 we can see that the output of the XOR gate "glitches" due to the rise and fall time. When the inputs are transitioning, the XOR gate voltage tries to change simultaneously causing that short dip at 200ns. By reducing the rise and fall time, we can reduce the chance of this glitch.

http://cmosedu.com/jbaker/courses/ee421L/f18/students/kiaer/lab6/snip29.JPG

Using the gates within this lab, a full adder is created using 3 NAND gates and 2 XOR gates. This schematic uses three inputs a,b, and cin and uses two outputs cout and s.


http://cmosedu.com/jbaker/courses/ee421L/f18/students/kiaer/lab6/snip30.JPG

After drafting the full adder schematic, I created the symbol above in regards to what the symbol usually looks like on schematics for a full adder.

http://cmosedu.com/jbaker/courses/ee421L/f18/students/kiaer/lab6/snip33.JPG

Here is the schematic implementing the full adder with three given inputs using "vpulse" to give logic inputs for the gates.

http://cmosedu.com/jbaker/courses/ee421L/f18/students/kiaer/lab6/snip31.JPG
Here is the output for the drafted schematic of the full adder with the inputs: 000, 001, 010, 011, 100, 101, 110, 111



http://cmosedu.com/jbaker/courses/ee421L/f18/students/kiaer/lab6/snip27.JPG

http://cmosedu.com/jbaker/courses/ee421L/f18/students/kiaer/lab6/snip26.JPG


Above is the layout for the full adder, this is implemented using 5 gates side by side with three NAND gates and 2 XOR gates from left to right. Due to the complexity of the layout, metal2 has been used to ensure that wires do not cross and cause problematic outcomes. Furthermore, since these gates are laid out side by side, vdd! and gnd! can be connected easily. Also the layout has passed the DRC verification with no errors.

http://cmosedu.com/jbaker/courses/ee421L/f18/students/kiaer/lab6/snip28.JPG


http://cmosedu.com/jbaker/courses/ee421L/f18/students/kiaer/lab6/snip25.JPG

The extracted view of the full adder and  I performed the verification test LVS to ensure that the schematic and layout (extracted) netlist match accordingly. 

http://cmosedu.com/jbaker/courses/ee421L/f18/students/kiaer/lab6/snip34.JPG

After, I made sure to backup the files needed for this lab and the directory created within Cadence, which can be found here in Lab6.zip


 

Return to Brian's Labs