Authored by Jonathan Young on October 19, 2015
Email: youngj1ATunlv.nevada.edu
This lab demonstrates how to layout a two-bit NAND gate, two-bit XOR gate, and a Full Adder. After the layouts are generated, their extracted layout simulations are compared to their schematic simulations to verify operations. Note: This lab uses the inverter created for Lab #5.
1. Back-up all of your work from the lab and the course.
2. Go through Cadence Tutorial 4 seen here.
3. Read through the lab in its entirety before starting to work on it.
The following will show the layout, schematic, and symbol of the NAND gate created by following Tutorial 4.
1. 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).
2. Create layout and symbol views for these gates showing that the cells DRC and LVS without errors.
3. Ensure that your symbol views are the commonly used symbols (not boxes!) for these gates with your initials in the middle of the symbol.
4. Ensure all layouts in this lab use standard cell frames that snap together end-to-end for routing vdd! and gnd!
5. Use a standard cell height taller than you need for these gates so that it can be used for layouts that are more complicated in the future.
6. Ensure gate inputs, outputs, vdd!, and gnd! are all routed on metal1.
7. Use cell names that include your initials and the current year/semester, e.g. NAND_jb_f19 (if it were fall 2019)
8. Using Spectre simulate the logical operation of the gates for all 4 possible inputs (00, 01, 10, and 11).
9. Comment on how timing of the input pulses can cause glitches in the output of a gate
10. Your html lab report should detail each of these efforts.
11. 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.
12. Layout the full adder by placing the 5 gates end-to-end so that vdd! and gnd! are routed full adder inputs and outputs can be on metal2 but not metal3. Do an LVS and DRC for this full adder design. Note: These cells provided in the lab write up instructions, can be downloaded by clicking here.
Both the extracted simulation and schematic only simulation have produced the desired output results based on the inputs. Since the NAND gate is the inverse of the AND gate, all input combinations produce an output high (1) unless both inputs are high in which case the output will be low (0). For the XOR gate, if the inputs match, i.e. if they are either 00 or 11, then the output will be low (0). Otherwise, if they are different, then they are exclusively one or the other and thus an output of high (1) is seen. The timing of the gate signals being appropriately timed is a critical factor in the output of the gate. If a gate input pulse is not appropriately timed, this can cause an erroneous signal to output by feeding the wrong information to the input of the gate.
For reference, a truth table for the full adder is seen below. This is useful for verifying the above simulations to ensure it operates as it was designed to and produce the values from the truth table.
The lab directory containing the layouts, schematics, and symbols generates in this lab report can be downloaded by clicking this link: lab6_JMY_F15.zip. This link is provided for informational and grading purposes only. All other use is prohibited.
Note: The cell names used in this lab were changed after simulations and layout to match those requested in the post-lab, #7, and thus may differ slightly when loading the zip.