Lab 7 - EE 421L Fall 2020
Authored by Abraham Lopez on 11/1/20
Email: lopeza43@unlv.nevada.edu
Lab description
The purpose of this lab was to create, using buses and arrays, schematics for word inverters, muxes,
and high-speed adders. Then taking those schematics and testing them through simulations to see how
they operate. The lab also involved laying out an 8-bit full adder.
Pre-lab
The pre-lab involved backing up our previous lab work and then completing tutorial 5. To start off
we copied the library for tutorial 5 and renamed it tutorial 5. Then created a new cell view schematic
called ring_osc.
Next, creating the schematic for a ring oscillator using an inverter.
![http://cmosedu.com/jbaker/courses/ee421L/f20/students/lopeza43/lab7/64.PNG](64.PNG)
Symbol of oscillator
![http://cmosedu.com/jbaker/courses/ee421L/f20/students/lopeza43/lab7/65.PNG](65.PNG)
Layout of 31-stage oscillator
![http://cmosedu.com/jbaker/courses/ee421L/f20/students/lopeza43/lab7/66.PNG](66.PNG)
DRC and LVS of layout
![http://cmosedu.com/jbaker/courses/ee421L/f20/students/lopeza43/lab7/67.PNG](67.PNG)
Adding an initial condition of 0 for the simulation of the oscillator
![http://cmosedu.com/jbaker/courses/ee421L/f20/students/lopeza43/lab7/71.PNG](71.PNG)
![http://cmosedu.com/jbaker/courses/ee421L/f20/students/lopeza43/lab7/70.PNG](70.PNG)
![http://cmosedu.com/jbaker/courses/ee421L/f20/students/lopeza43/lab7/69.PNG](69.PNG)
Simulation results
![http://cmosedu.com/jbaker/courses/ee421L/f20/students/lopeza43/lab7/68.PNG](68.PNG)
Simulation of the ring oscillator
![http://cmosedu.com/jbaker/courses/ee421L/f20/students/lopeza43/lab7/72.PNG](72.PNG)
Simulation results with the extracted view
![http://cmosedu.com/jbaker/courses/ee421L/f20/students/lopeza43/lab7/74.PNG](74.PNG)
![http://cmosedu.com/jbaker/courses/ee421L/f20/students/lopeza43/lab7/73.PNG](73.PNG)
This ends the pre-lab.
Lab Procedures
1. Creating and simulating a 4-bit inverter
Creating a schematic for a 6u/6u inverter.
![http://cmosedu.com/jbaker/courses/ee421L/f20/students/lopeza43/lab7/9.PNG](9.PNG)
Making a symbol of the inverter then using it to make a 4-bit inverter schematic.
![http://cmosedu.com/jbaker/courses/ee421L/f20/students/lopeza43/lab7/1.PNG](1.PNG)
Symbol of the 4-bit inverter
![http://cmosedu.com/jbaker/courses/ee421L/f20/students/lopeza43/lab7/2.PNG](2.PNG)
Simulation schematic of the 4-bit inverter
![http://cmosedu.com/jbaker/courses/ee421L/f20/students/lopeza43/lab7/3.PNG](3.PNG)
Simulation results
![http://cmosedu.com/jbaker/courses/ee421L/f20/students/lopeza43/lab7/4.PNG](4.PNG)
Looking
at the simulation results we see the effect that a capacitative load
has on the output. Out<0> has no load and is very fast
when
it comes the rise and fall times of the output. Out<1> has the
largest load with 1 pF on the output and has the slowest raise and
fall times. We can conclude that the bigger the load on the output the larger the time delay for the capacitor to charge is.
2. Creating and simulating 8-bit NOR, NAND, Inverter, AND, and OR gates
Schematic of NOR gate
![http://cmosedu.com/jbaker/courses/ee421L/f20/students/lopeza43/lab7/5.PNG](5.PNG)
Symbol of NOR gate
![http://cmosedu.com/jbaker/courses/ee421L/f20/students/lopeza43/lab7/6.PNG](6.PNG)
Schematic of NAND gate
![http://cmosedu.com/jbaker/courses/ee421L/f20/students/lopeza43/lab7/7.PNG](7.PNG)
Symbol of NAND gate
![http://cmosedu.com/jbaker/courses/ee421L/f20/students/lopeza43/lab7/8.PNG](8.PNG)
Schematic of Inverter gate
![http://cmosedu.com/jbaker/courses/ee421L/f20/students/lopeza43/lab7/9.PNG](9.PNG)
Symbol of inverter gate
![http://cmosedu.com/jbaker/courses/ee421L/f20/students/lopeza43/lab7/75.PNG](75.PNG)
Schematic of AND gate
![http://cmosedu.com/jbaker/courses/ee421L/f20/students/lopeza43/lab7/10.PNG](10.PNG)
Symbol of AND gate
![http://cmosedu.com/jbaker/courses/ee421L/f20/students/lopeza43/lab7/11.PNG](11.PNG)
Schematic of OR gate
![http://cmosedu.com/jbaker/courses/ee421L/f20/students/lopeza43/lab7/12.PNG](12.PNG)
Symbol of OR gate
![http://cmosedu.com/jbaker/courses/ee421L/f20/students/lopeza43/lab7/76.PNG](76.PNG)
Schematic of 8-bit NAND gate
![http://cmosedu.com/jbaker/courses/ee421L/f20/students/lopeza43/lab7/34.PNG](34.PNG)
Symbol view of 8-bit NAND gate
![http://cmosedu.com/jbaker/courses/ee421L/f20/students/lopeza43/lab7/35.PNG](35.PNG)
Schematic of 8-bit NOR gate
![http://cmosedu.com/jbaker/courses/ee421L/f20/students/lopeza43/lab7/36.PNG](36.PNG)
Symbol of 8-bit NOR gate
![http://cmosedu.com/jbaker/courses/ee421L/f20/students/lopeza43/lab7/37.PNG](37.PNG)
Schematic of 8-bit inverter gate
![http://cmosedu.com/jbaker/courses/ee421L/f20/students/lopeza43/lab7/30.PNG](30.PNG)
Symbol of 8-bit inverter gate
![http://cmosedu.com/jbaker/courses/ee421L/f20/students/lopeza43/lab7/31.PNG](31.PNG)
Schematic of 8-bit AND gate
![http://cmosedu.com/jbaker/courses/ee421L/f20/students/lopeza43/lab7/17.PNG](17.PNG)
Symbol of 8-bit AND gate
![http://cmosedu.com/jbaker/courses/ee421L/f20/students/lopeza43/lab7/18.PNG](18.PNG)
Schematic of 8-bit OR gate
![http://cmosedu.com/jbaker/courses/ee421L/f20/students/lopeza43/lab7/38.PNG](38.PNG)
Symbol of 8-bit OR gate
Simulation of all 8-bit gates
![http://cmosedu.com/jbaker/courses/ee421L/f20/students/lopeza43/lab7/44.PNG](44.PNG)
Simulation results
![http://cmosedu.com/jbaker/courses/ee421L/f20/students/lopeza43/lab7/45.PNG](45.PNG)
3. Creating and simulating 2:1 MUX/DEMUX
Schematic of 2:1 MUX
![http://cmosedu.com/jbaker/courses/ee421L/f20/students/lopeza43/lab7/13.PNG](13.PNG)
Symbol of 2:1 MUX
![http://cmosedu.com/jbaker/courses/ee421L/f20/students/lopeza43/lab7/14.PNG](14.PNG)
Simulation of 2:1 MUX
![http://cmosedu.com/jbaker/courses/ee421L/f20/students/lopeza43/lab7/40.PNG](40.PNG)
Simulation results
![http://cmosedu.com/jbaker/courses/ee421L/f20/students/lopeza43/lab7/41.PNG](41.PNG)
The MUX works by when sending a 1 to S then the input A is outputted to Z. If S is 0, then Si is 1 then the input B
is outputted to Z.
Schematic of 2:1 MUX/DEMUX
![http://cmosedu.com/jbaker/courses/ee421L/f20/students/lopeza43/lab7/15.PNG](15.PNG)
Symbol of 2:1 MUX/DEMUX
![http://cmosedu.com/jbaker/courses/ee421L/f20/students/lopeza43/lab7/16.PNG](16.PNG)
Simulation of 2:1 MUX/DEMUX
![http://cmosedu.com/jbaker/courses/ee421L/f20/students/lopeza43/lab7/42.PNG](42.PNG)
Simulation results
The MUX/DEMUX works when S is 1 , then the input signal A propagates through A'. If S is 0, then the input signal A
propagates through B'.
4. Creating and simulating 2:1 MUX with a single select input
Schematic of 2:1 MUX with a single select input
Symbol of 2:1 MUX with a single select input
Simulation of 2:1 MUX with a single select input
Simulation results
5. Creating and simulating an 8-bit 2:1 MUX/DEMUX with single select input
Schematic of 8-bit 2:1 MUX/DEMUX with single select input
![http://cmosedu.com/jbaker/courses/ee421L/f20/students/lopeza43/lab7/32.PNG](32.PNG)
Symbol of 8-bit MUX/DEMUX with single select input
![http://cmosedu.com/jbaker/courses/ee421L/f20/students/lopeza43/lab7/33.PNG](33.PNG)
Simulation of 8-bit 2:1 MUX/DEMUX with single select input
![http://cmosedu.com/jbaker/courses/ee421L/f20/students/lopeza43/lab7/52.PNG](52.PNG)
Simulation results
6. Creating and simulating an 8-bit Full adder
First we start of by making the schematic of a full adder given by Fig. 12.20 in the CMOS book.
![http://cmosedu.com/jbaker/courses/ee421L/f20/students/lopeza43/lab7/62.PNG](62.PNG)
Symbol of full adder
![http://cmosedu.com/jbaker/courses/ee421L/f20/students/lopeza43/lab7/63.PNG](63.PNG)
Simulation of full adder
Simulation results
Layout of full adder
![http://cmosedu.com/jbaker/courses/ee421L/f20/students/lopeza43/lab7/27.PNG](27.PNG)
DRC and LVS of layout
![http://cmosedu.com/jbaker/courses/ee421L/f20/students/lopeza43/lab7/28.PNG](28.PNG)
Schematic of an 8-bit full adder
Symbol of an 8-bit full adder
Simulation of an 8-bit full adder
Simulation results
Layout of an 8-bit full adder
![http://cmosedu.com/jbaker/courses/ee421L/f20/students/lopeza43/lab7/21.PNG](21.PNG)
![http://cmosedu.com/jbaker/courses/ee421L/f20/students/lopeza43/lab7/22.PNG](22.PNG)
![http://cmosedu.com/jbaker/courses/ee421L/f20/students/lopeza43/lab7/24.PNG](24.PNG)
DRC and LVS of layout
![http://cmosedu.com/jbaker/courses/ee421L/f20/students/lopeza43/lab7/26.PNG](26.PNG)
7. Back of lab work
I zipped up a copy of lab 7 and sent it to myself via email.
![http://cmosedu.com/jbaker/courses/ee421L/f20/students/lopeza43/lab7/60.PNG](60.PNG)
![http://cmosedu.com/jbaker/courses/ee421L/f20/students/lopeza43/lab7/61.PNG](61.PNG)
Go Back to Laboratory reports