Lab 7 - EE 421L 

Damian Aceves Franco

acevesfr@unlv.nevada.edu

                 

11/03/21 

  

Using buses and arrays in the design of word inverters, muxes, and high-speed adders

  

Pre-lab work



Creating a new schematic cell, ring_osc, with one inverter

http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%207/1.jpg

Pressing bindkey c and clicking on the Inverter
http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%207/2.jpg

Repositioning the first inverter to get the following
http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%207/3.jpg


Placing labels and the DC Voltage supply
http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%207/4.jpghttp://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%207/5.jpg



Now, setting up the ADE, libraries
http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%207/6.jpg

Transient

http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%207/7.jpg
Inital results
http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%207/8.jpg
Noise will kick start this 
We have to set the initial condition at the input of the first inverter to 0
In the ADE, Simulation -> Convergence Aids -> Initial Condition
http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%207/9.jpg
Set the Node Voltage to 0
http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%207/10.jpg
         
Check and save, and rerun the simulation
http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%207/11.jpg

With the same schematic, we can make this ring oscillator look neater by

Deleting all of the inverters except the first inverter and changing the name of the inverter to I0<0:30> or I0<1:31>


http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%207/12.jpg
Using bindkey Shift+W to create a wide wire bus wire on the input and output of the inverter
http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%207/13.jpg


Close all cell views

 

Now, creating a layout for our ring oscillator

Instantiating our inverter layout
http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%207/14.jpg
Copying and pasting the 2nd inverter
http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%207/15.jpg

F3 and paste
http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%207/16.5.jpg
Make connection as below
http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%207/16.jpg
Copy out
http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%207/17.jpg
Place via on the 1st one

http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%207/18.jpg

http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%207/19.jpg


And via at the last one
http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%207/20.jpg
Using metal 2 to connect the 1st to the last as the schematic
http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%207/21.jpg

http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%207/22.jpg
DRC
http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%207/1.1.jpg
Extract
http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%207/23.jpg
LVS
http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%207/24.jpghttp://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%207/27.jpg
Recalling that we need to have a pin, osc_out in our schematic
http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%207/25.jpg
and remove the DC power too
http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%207/26.jpg

Leaving it as follows
http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%207/28.jpg  
             
Rerun LVS
http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%207/1.2.jpg

Creating a symbol and Creating a schematic
http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%207/29.jpg
We will resimulate the ring oscillator
http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%207/30.5.jpg
Now, lets simulate the layout. Since the LVS passed (the extracted view’s nodes match the schematic view’s nodes), we should get the same output
http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%207/30.jpg


http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%207/31.jpg


http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%207/32.jpg
Checking that it ran the extracted view (Simulation -> Netlist -> Display)
http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%207/33.jpg

                   
                 
                         
End of Prelab
******************************************************************************************************************
Experiment 1: Creating a 4-bit word inverter, with simulation
                   
For this lab, we will need 6u/600n PMOS/NMOS inverters
http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%207/34.jpg
Symbol
http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%207/35.jpg
Creating a cell, inverter_4_bit
http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%207/36.jpg


http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%207/37.jpg
symbol
http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%207/38.jpg

Creating a schematic
http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%207/39.jpg
ADE setup
http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%207/40.jpg
Simulation
http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%207/41.jpg

Out<0> has no load, therefore, the rise and fall time are fast. Out<1> has the heaviest load (big capacitor relative to others), 

giving it a higher RC time delay. Note that the tPLH is greater since when the input is LOW, the PMOS is turned ON and has a

higher effective resistance than the NMOS, therefore, we have a larger Time Constant.

Experiment 2: Schematics and Symbols of: 8-Bit Input/Output array of NAND, NOR, AND, Inverter, and OR gates

         

NAND Gate

http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%207/42.jpg

First, creating a schematic cell

http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%207/43.jpg

8-bit word symbol

http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%207/44.jpg

NOR Gate

Schematic of NOR gate

http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%207/45.jpg
symbol and 8-bit word schematic
http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%207/46.jpg
8-bit word symbol

http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%207/47.jpg

AND Gate

We will just take the NAND gate and throw it through an inverter to make it an AND gate and 8-bit word schematic 

http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%207/48.jpg

8-bit word symbol

http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%207/49.jpg

Inverter

Just as similar to the first part of this lab

http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%207/50.jpg

8-bit word symbol

http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%207/51.jpg

OR


We will just take the NOR  gate and throw it through an inverter to make it an OR gate and 8-bit word schematic 

http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%207/52.jpg

8-bit word symbol

http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%207/53.jpg

Simulaton of all gates

            http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%207/gate.jpghttp://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%207/gatesim.jpg

                 

Experiment 3: 2-to-1 DEMUX/MUX

First, lets do the 2:1 MUX

http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%207/60.jpg

Symbol

http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%207/61.jpg

schematic cell

http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%207/62.jpg

8-Bit Word Schematic

http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%207/63.25.jpg
8-Bit Word Symbol

http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%207/63.50.jpg

       

Simulation of Just the Mux

http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%207/63.jpg

schematic cell

http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%207/64.jpg

Simulation of 8 work Mux

http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%207/65.jpg

Experiment 4: The Full-Adder

schematic

http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%207/66.jpg

Symbol

http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%207/67.jpg

8-Bit Word Adder Schematic

http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%207/68.jpg

8-Bit Word Symbol

http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%207/69.jpg

schematic for sim

http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%207/70.jpg

Results
http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%207/71.jpg
A<01001010> +B< 00100001>
A + B = 01101011
Layout of the Full Adder
1-bit Full Adder
http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%207/72.jpg
DRC
http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%207/73.jpg
Ectraction
http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%207/74.jpg
LVS
http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%207/75.jpg


Laying out the 8-Bit Full Adder
http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%207/76.jpg
DRC
http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%207/76.5.jpg
Ectracted layout
http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%207/77.jpg
LVS
http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%207/78.jpg


End of lab
           
backup
http://cmosedu.com/jbaker/courses/ee421L/f21/students/acevesfr/Labs/Lab%207/save.jpg

         
Return to Labs