Lab 07 - EE 421L
Authored
by Cody Jones,
E-mail:
Jonesc30@unlv.nevada.edu
10/31/19
Lab 07: Using buses and arrays in the design of word inverters,
muxes, and high–speed adders.
----------------------------------------------------------------------------------------------------
Prelab: Insight on using arrays, buses and
how to make a ring oscillator.
Concise
ring oscillator |
Simulation |
|
|
Layout |
Extracted |
|
|
LVS |
DRC |
|
|
----------------------------------------------------------------------------------------------------
Lab:
Step 1: Make an equivalent, more concise, schematic by instantiating an inverter and naming the inverter using an arrayed name (I0<3:0> see image below).
6u/0.6u PMOS and NMOS inverter symbol |
Inverter
schematic |
Concise x4 inverter schematic |
|
|
|
Step 2: Using this symbol create a simulation
schematic. All four inverters' inputs are tied together to an input pulse
source.
Schematic of simulating the x4 inverter |
Graph of the simulation of the x4 inverter |
|
|
Step 3: Create schematics and symbols for an 8-bit input/output array of: NAND, AND, NOR, OR, and inverter gates.
|
Symbol |
Concise
schematic |
CMOS
schematic for one |
NAND |
|
|
|
AND |
|
|
|
NOR |
|
|
|
OR |
|
|
|
Inverter |
|
|
|
A
complete simulation of all the gates from above where the 0th bit is
taken as a test for confirmation that the gate is correct.
Simulation
schematic |
|
Simulation
results |
|
Step 4: Next examine the schematic of a 2-to-1 DEMUX/MUX
(and create the symbol).
Simulate the operation of this circuit using Spectre
and explain how it works.
Make
sure to show, using simulations, how the circuit can be used for both
multiplexing and de-multiplexing.
2-to-1 DEMUX/MUX schematic |
2-to-1 DEMUX/MUX symbol |
|
|
Simulation schematic |
Simulation graph |
|
|
We
can see that when S is 0, we get the signal B and then when S switches to 1, we
get the signal of A. This gives the equation where Z = A*S + B*Si. This is
because S is selecting what signal Z will be.
Step 5: Create an 8-bit wide word 2-to-1 DEMUX/MUX
schematic and symbol.
Include an inverter in your design so the cell only needs one select input, S
(the complement, Si, is generated using an inverter).
Use simulations to verify the operation of your design.
DEMUX/MUX x8 schematic |
DEMUX/MUX x8 symbol |
|
|
Simulation of the DEMUX x8 |
|
|
|
Simulation of the MUX x8 |
|
|
|
Step 6: Finally, draft the schematic of the full-adder seen in
Fig. 12.20 using 6u/0.6u devices (both PMOS and NMOS).
Create an adder symbol for this circuit (see the symbol used in lab6). Use
this symbol to draft an 8-bit adder schematic and symbol.
For how to label the bus so the carry out of one full-adder goes to the carry
in of another full-adder review the ring oscillator schematic discussed in
Cadence Tutorial 5. Simulate the operation of your 8-bit
adder. Lay out this 8-bit adder cell. Show that
your layout DRCs and LVSs correctly.
Full
adder schematic
Full
adder layout
Full
adder extracted
Full adder symbol |
LVS and DRC |
|
|
Full adder x8 schematic |
Full adder x8 symbol |
|
|
Full adder x8 layout |
|
Full adder x8 extracted |
|
A
close up of the connections between full adders
LVS and DRC |
|
Simulation of the full
adder x8 |
|
|
|
Looking at just the eighth bits, we can see that when we have A<7> and B<7> both as one we get a carry out and that the eighth bit of our sum is correct.
----------------------------------------------------------------------------------------------------
This
Concludes the Lab 7 Report.