Lab 07 - EE 421L 

Authored :: Aaron Escobedo

Email :: Escoba3@UNLV.Nevada.edu 

Due :: November 8th, 2017

  

Lab description

This lab will familiarize ourselves with the design using busses, arrays, word inverters, muxes, and high-speed adders.. 


Prelab

We will begin our lab by completing the tutorial 5 set up on the cmosedu.com website; below is now some of my completed work. 


Initially, we want to place 31 inverters in series to create a ring oscillator 


http://cmosedu.com/jbaker/courses/ee421L/f17/students/escoba3/Lab7/Images/Initial%20ring%20oscillator.JPG

Since this can be inconvient to have within the circuit, we can simplify it by creating a bus of wires such as show below.

http://cmosedu.com/jbaker/courses/ee421L/f17/students/escoba3/Lab7/Images/Initial%20ring%20oscillator%20with%20bus.JPG

This is now much easier to work with - however should should still simulation it to ensure it works in the same manner as our previous schematic.

http://cmosedu.com/jbaker/courses/ee421L/f17/students/escoba3/Lab7/Images/Initial%20ring%20oscillator%20ADE%20with%20initial%20condition.JPG
Initial ring oscillator schematic
http://cmosedu.com/jbaker/courses/ee421L/f17/students/escoba3/Lab7/Images/2nd%20simulation%20of%20ring%20oscillator%20with%20array.JPG
2nd circuit with simplified ring oscillator

We can clearly see, they produce the same results, however, one is much easier to place in a large circuit. 

From here, we should try to create a layout for these circuits - which can lead us to learn a few new tricks. 


http://cmosedu.com/jbaker/courses/ee421L/f17/students/escoba3/Lab7/Images/ring%20oscillator%20layout%20example_1.JPG
First, open up an inverter, copy it, and place it next to the first one
http://cmosedu.com/jbaker/courses/ee421L/f17/students/escoba3/Lab7/Images/ring%20oscillator%20layout%20example_2.JPG
Next, lets add metal1 inbetween the vdd!, gnd!, and A pins, and then delate the other inverter
http://cmosedu.com/jbaker/courses/ee421L/f17/students/escoba3/Lab7/Images/ring%20oscillator%20layout%20example_3.JPG
Now, we can copy it as many times as we want - for us, lets select the columns to be 30 to create a row of  31 inverters next to each other.

We should now see something like this

http://cmosedu.com/jbaker/courses/ee421L/f17/students/escoba3/Lab7/Images/Ring%20oscillator%20layout.JPG

DRC the layout

http://cmosedu.com/jbaker/courses/ee421L/f17/students/escoba3/Lab7/Images/Ring%20oscillator%20layout%20DRC.JPG


We should now extract and LVS this circuit to ensure we created it properly and simulation this new circuit.

http://cmosedu.com/jbaker/courses/ee421L/f17/students/escoba3/Lab7/Images/Ring%20oscillator%20layout%20(extracted).JPGhttp://cmosedu.com/jbaker/courses/ee421L/f17/students/escoba3/Lab7/Images/RIng%20oscillator%20LVS%20complete.JPG

We are looking good

Now, lets create a generic symbol for our circuit and simulation once more to simplify it even further.

http://cmosedu.com/jbaker/courses/ee421L/f17/students/escoba3/Lab7/Images/Initial%20ring%20oscillator%20with%20bus.JPG
Initial schematic
http://cmosedu.com/jbaker/courses/ee421L/f17/students/escoba3/Lab7/Images/Ring%20oscillator%20symbol.JPG
Created symbol

http://cmosedu.com/jbaker/courses/ee421L/f17/students/escoba3/Lab7/Images/Ring%20oscillator%20simulation%20with%20symbol.JPG
Simulation schematic
http://cmosedu.com/jbaker/courses/ee421L/f17/students/escoba3/Lab7/Images/output%20of%20ring%20oscillator%20simulation%20with%20symbol.JPG
Results

This all ends up being the same as our orginal concept but now much simpler! This concludes out tutorial 5 Prelab.


Lab Work

Now that we have become familar with how to create some busses, we can begin using them to implement some of the logic gates we previously developed

To start, we will need to create another inverter, but this time, with a 6/.6 width for the NMOS and PMOS appropiately;

http://cmosedu.com/jbaker/courses/ee421L/f17/students/escoba3/Lab7/Images/Inverter_X4_AE_F17%20schematic.JPG
6/0.6 Inverter Schematic
http://cmosedu.com/jbaker/courses/ee421L/f17/students/escoba3/Lab7/Images/Inverter_AE_F17%20symbol%206_0.6.JPG
Associated Symbol

Now we will create a sample 4-bit inverter using this 6/0.6 inverter; this is shown below

http://cmosedu.com/jbaker/courses/ee421L/f17/students/escoba3/Lab7/Images/Inverter_X4_AE_F17%20schematic_2.JPG
Orginal concept

http://cmosedu.com/jbaker/courses/ee421L/f17/students/escoba3/Lab7/Images/Inverter_X4_AE_F17%20schematic_3.JPG
Simplified

Now lets create a new symbol;

http://cmosedu.com/jbaker/courses/ee421L/f17/students/escoba3/Lab7/Images/Inverter_X4_AE_F17%20symbol.JPG
New symbol

With the new symbol, we can simulate it - as was expected of us, I set up the outputs to be placed with various capacitors to see the response of this circuit.

http://cmosedu.com/jbaker/courses/ee421L/f17/students/escoba3/Lab7/Images/Inverter_X4_AE_F17%20simulation.JPG

Here are some of the outputs

http://cmosedu.com/jbaker/courses/ee421L/f17/students/escoba3/Lab7/Images/Inverter_X4_AE_F17%20simulation%20results_1.JPG
General outputs - we can see the delay difference between each node due to capacitors
http://cmosedu.com/jbaker/courses/ee421L/f17/students/escoba3/Lab7/Images/Inverter_X4_AE_F17%20simulation%20results_2.JPG
Zoomed in - we can see at Out<3>, it reached 1 time constants, while Out<2> and Out<1> are much slower

Clearly, since the capacitor on Out<3> is the smallest and become larger across each node, we can conclude that a smaller capacitor will result ina faster transition to a final voltage. This follows from our lessons taught about rise times across capacitors.

Now that we are familar with this process, we can do something similar to create an 8-bit version for an Inverter, NAND, AND, OR, XOR and NOR logic gates



Logic 
Initial Schematic
Symbol
Simulation schematic
Results
8 bit NANDhttp://cmosedu.com/jbaker/courses/ee421L/f17/students/escoba3/Lab7/Images/8bit%20NAND%20schematic.JPGhttp://cmosedu.com/jbaker/courses/ee421L/f17/students/escoba3/Lab7/Images/8bit%20NAND%20symbol.JPGhttp://cmosedu.com/jbaker/courses/ee421L/f17/students/escoba3/Lab7/Images/8bit%20NAND%20sim%20schematic.JPGhttp://cmosedu.com/jbaker/courses/ee421L/f17/students/escoba3/Lab7/Images/8bit%20NAND%20results.JPG
8 bit ANDhttp://cmosedu.com/jbaker/courses/ee421L/f17/students/escoba3/Lab7/Images/8bit%20AND%20schematic.JPGhttp://cmosedu.com/jbaker/courses/ee421L/f17/students/escoba3/Lab7/Images/8bit%20AND%20symbol.JPGhttp://cmosedu.com/jbaker/courses/ee421L/f17/students/escoba3/Lab7/Images/8bit%20AND%20sim%20schematic.JPGhttp://cmosedu.com/jbaker/courses/ee421L/f17/students/escoba3/Lab7/Images/8bit%20AND%20results.JPG
8 bit NORhttp://cmosedu.com/jbaker/courses/ee421L/f17/students/escoba3/Lab7/Images/8bit%20NOR%20schematic.JPGhttp://cmosedu.com/jbaker/courses/ee421L/f17/students/escoba3/Lab7/Images/8bit%20NOR%20symbol.JPGhttp://cmosedu.com/jbaker/courses/ee421L/f17/students/escoba3/Lab7/Images/8bit%20NOR%20sim%20schematic.JPGhttp://cmosedu.com/jbaker/courses/ee421L/f17/students/escoba3/Lab7/Images/8bit%20NOR%20results.JPG
8 bit ORhttp://cmosedu.com/jbaker/courses/ee421L/f17/students/escoba3/Lab7/Images/8bit%20OR%20schematic.JPGhttp://cmosedu.com/jbaker/courses/ee421L/f17/students/escoba3/Lab7/Images/8bit%20OR%20symbol.JPGhttp://cmosedu.com/jbaker/courses/ee421L/f17/students/escoba3/Lab7/Images/8bit%20OR%20sim%20schematic.JPGhttp://cmosedu.com/jbaker/courses/ee421L/f17/students/escoba3/Lab7/Images/8bit%20OR%20results.JPG
8 bit XORhttp://cmosedu.com/jbaker/courses/ee421L/f17/students/escoba3/Lab7/Images/8bit%20XOR%20schematic.JPGhttp://cmosedu.com/jbaker/courses/ee421L/f17/students/escoba3/Lab7/Images/8bit%20XOR%20symbol.JPGhttp://cmosedu.com/jbaker/courses/ee421L/f17/students/escoba3/Lab7/Images/8bit%20XOR%20sim%20schematic.JPGhttp://cmosedu.com/jbaker/courses/ee421L/f17/students/escoba3/Lab7/Images/8bit%20XOR%20results.JPG

From here, we are next asked to create a 2-to-1 demux/mux as well as an 8-bit version of the same schematic; here are the results of that



LogicInitial SchematicSymbolSimulation schematicResults
2-to-1 MUXhttp://cmosedu.com/jbaker/courses/ee421L/f17/students/escoba3/Lab7/Images/2%20to%201%20demux_mux%20schematic.JPGhttp://cmosedu.com/jbaker/courses/ee421L/f17/students/escoba3/Lab7/Images/2%20to%201%20demux_mux%20symbol.JPGhttp://cmosedu.com/jbaker/courses/ee421L/f17/students/escoba3/Lab7/Images/2%20to%201%20demux_mux%20sim%20schematic.JPGhttp://cmosedu.com/jbaker/courses/ee421L/f17/students/escoba3/Lab7/Images/2%20to%201%20demux_mux%20results.JPG
8 bit 2-to-1 MUXhttp://cmosedu.com/jbaker/courses/ee421L/f17/students/escoba3/Lab7/Images/8bit%202%20to%201%20demux_mux%20schematic.JPGhttp://cmosedu.com/jbaker/courses/ee421L/f17/students/escoba3/Lab7/Images/8bit%202%20to%201%20demux_mux%20symbol.JPGhttp://cmosedu.com/jbaker/courses/ee421L/f17/students/escoba3/Lab7/Images/8bit%202%20to%201%20demux_mux%20sim%20schematic.JPGhttp://cmosedu.com/jbaker/courses/ee421L/f17/students/escoba3/Lab7/Images/8bit%202%20to%201%20demux_mux%20results.JPG

We can sere by looking at the schematic the functions of this circuit. We receive two inputs, A and B. but only 1 output. Which output is selected is determined by the logic of the S or Si input. If S is high, than the output is A, if Si is high (S is low) then the output is B. This defines a 2-to-1 MUX.




Finally, we were asked to create a full adder and an 8-bit version of a full adder - this is now shown below. 


LogicInitial SchematicSymbolSimulation schematicResults
full adderhttp://cmosedu.com/jbaker/courses/ee421L/f17/students/escoba3/Lab7/Images/8bit%20full%20adder%20schematic.JPGhttp://cmosedu.com/jbaker/courses/ee421L/f17/students/escoba3/Lab7/Images/8bit%20full%20adder%20symbol.JPGhttp://cmosedu.com/jbaker/courses/ee421L/f17/students/escoba3/Lab7/Images/8bit%20full%20adder%20sim%20schematic.JPGhttp://cmosedu.com/jbaker/courses/ee421L/f17/students/escoba3/Lab7/Images/8bit%20full%20adder%20results.JPG


Here is my work backed up with a link to download and simulate all of these files


http://cmosedu.com/jbaker/courses/ee421L/f17/students/escoba3/Lab7/Images/backup%20work.JPG



Link to backed up work


Return to Students

Return to EE 421L Labs