Lab 6 - EE 421L 

Authored by Miguel Morga

October 23, 2017

morga@unlv.nevada.edu

  

Prelab:

For our prelab we had to back up all of our previous work like how weve been doing in our other labs. Then i went through the tutorial 4 in Cadence entirely that was refenced in the lab instructions.  

Images/save.JPG

Lab Report:

2 Input NAND gate:

The 2 input nand gate was created using 6u/0.6u MOSFETS. To create the symbol I designed it to look like an actual nand gate and not just boxes like we normally do and slapped my initials on it. All of my cell names also have my initials and current year/semester on it too.

SymbolSchematic
Images/nand_symbol.JPGImages/nand_schem.JPG

When I began creating the layout I had to configure it so that I would be using standard cell frames. This allowed the layouts for the next part to snap together end-to-end with ease. This also made routing vdd! and gnd! easier. I also used a standard cell height taller then what was required so I can fit more wires in between it in the future.

LayoutExtracted
Images/nand_layout.JPGImages/nand_extracted.JPG

In the images below it can be seen that the cells I created DRC'd and LVS'd without any issues in the end.

Images/nand_drc.JPG

Images/nand_lvs.JPG

2 Input XOR gate:

The 2 input XOR gate was created using 6u/0.6u MOSFETS. To create the symbol I designed it to look like an actual xor gate and not just boxes like we normally do and slapped my initials on it as well.
SymbolSchematic
Images/xor_symbol.JPGImages/xor_schem.JPG

For the xor layout I did the same with the standard cell frames as I did on the nand gate layout. I made them all the same height and gave some room in each frame to route wires in between.

LayoutExtracted
Images/xor_layout.JPGImages/xor_extracted.JPG

The cells I created for the xor gate also DRC'd and LVS'd properly.

Images/xor_drc.JPG

Images/xor_lvs.JPG

Gate Simulation:

I created the schematic below with the gates I created previosly in the lab and an inverter. This was created to test the logical operation of the gates for all 4 possible inputs (being 00 01 10 11). 

SchematicSimulation
Images/Op_of_gates_schem.JPGImages/Op_of_gates_sim.JPG

Full Adder:

It was then required to draft a full adder with what we've created in the lab so far. So 3 nand gates and 2 xor gates were used. 

SchematicSymbol
Images/full_adder_shem.JPGImages/full_adder_sym.JPG

The layout was then created and this is where the use of standard cell frames came in handy. I snapped the groups of nand gates together and seperated the xor gates for ease of wiring. The cell frames made it easier for wires not to overlap or touch and make them more visible as well.

LayoutExtracted
Images/full_adder_layout.JPGImages/full_adder_extracted.JPG

After completing the layout and fixing a few wiring problems the cells DRC'd and LVS'd fine.

Images/full_adder_drc.JPG

Images/full_adder_lvs.JPG

Full Adder Gate Simulation:


I created the schematic with the symbol of a full adder given to us and I simulated it. I simulated it how I did with the previous gate simulation but with this full adder symbol instead. This was created to test the logical operation of the gates for all 4 possible inputs (being 00 01 10 11) just like before.

SchematicSimulation
Images/full_adder_symbol.JPGImages/full_adder_symbol_sim.JPG

Glitching:

In the 2 simulations above it can be seen that the xor gate is glitching. This is because the inputs are changing simultaneously but the rise and fall time are not changing at the exact same time, there is a delay. This can possibly be fixed if the delay was smaller.

Link to my file directory lab6_mm

Return to Miguel's Labs
Return to EE 421L Labs