|
University of California Berkeley EE 141 Spring 2008 Laboratory Exercise 5 Logic Gates |
|
At the end of this laboratory exercise, you should be able to: · Create schematics and layouts of NAND and NOR gates using Virtuoso Layout XL. · Design an XOR gate from NAND gates, NOR gates and inverters. · Simulate the extracted XOR gate.
Deliverables for this laboratory exercise: Due at the end of the laboratory session. · Printout of the post-layout simulation results for an XOR gate using NAND gates, NOR gates and inverters. · Printout of the XOR gate schematic and layout.
I. Creating the NOR Gate Schematic
Create a 2-input CMOS NOR gate as shown below. Create a symbol for this gate and verify its functionality using simulations.
II. Creating the NOR Gate Layout
Create a layout view of your NOR gate and click on Tools → Layout XL in the layout editor’s menu bar to enter the Virtuoso XL editing mode. To transfer the schematic instances and pins, click on Connectivity → Update → Components and Nets from the Virtuoso XL menu bar. The Layout Generation Options window will appear.
Upon clicking OK in the Layout Generation Options window, the devices and pins in your schematic will be instantiated as shown below.
Create two 0.6 micron supply rails (one for vdd and one for gnd) similar to the one you made for the inverter. Move the vdd and gnd pins to these rails.
Afterwards, create an NWELL rectangle covering the upper half of the cell boundary. Next, add M1_NWELL and M1_PSUB contacts on the appropriate supply rail. Lastly, place all the transistors and pins inside the cell boundary.
Your layout should look similar to the one below.
Notice that while moving the pins or transistors, you will see the interconnect information obtained from the schematic. This will serve as a guide in selecting the best placement of the transistors and pins relative to each other.
An interesting function of the Virtuoso XL layout editor is that when two transistors are connected in series, and you place them together, the middle connection will be removed (if no contact is needed there).
Place the transistors and pins and use paths to connect them, similar to what you did in previous laboratory exercises. Your layout should look similar to the one below.
Run DRC, circuit extraction and LVS on your NOR gate layout and make sure that there are no errors.
III. Creating the NAND Gate Schematic and Layout
Create a 2-input CMOS NAND gate using the same steps as for the NOR gate. You will start with a schematic similar to the one below with Wn = 240nm and Wp = 240nm.
Again use the same steps you did with the NOR gate to obtain a layout similar to the one below.
Again, run DRC, circuit extraction and LVS on the NAND gate and make sure that there are no errors.
|
|
UC Berkeley EE 141 Spring 2008 Last modified: 3/2/2008 10:59 PM by Louis Alarcon |