Lab 7 - ECE 421L

Authored by: WENLAN WU (Stephen)

E-mail: wuw2@unlv.nevada.edu

Date: 10/18/2013

 


Lab description

1.  Go through the tutorial_5 . Learn how to use the buses and arrays in circuit simulations. Then design a ring oscillator and simulate it.

2. Follow the lab7 descriptions to use the buses and arrays in the design of inverters, muxes and high-speed adders.

3. Backup the Lab report and upload it to the CMOSedu.com for the future study and discussion.


Discussions & Captured Images:

Learn to use buses and array command:

1. Open a new cell and copy a 10/2 inverter in it. Go to Edit--> Array or press F6 to use the array command. Then set the repeating numbers and the space between each icon. Click OK and you will see the below result. And don't forget to press F5 to check the schematic.

array.JPG

array2.JPG

 

2. Next, use the buses to make the schematic moe concise. Open a new cell and put one inverter again in it. Press Q (key-binding, if no, press ctrl+I) to edit the node properties of the inverter icon. And name it to inv[3:0] that means you have 4 inverters in the one icon.

 4inv.JPG



3.  Go to the component tab and choose the bus symbol. 

bus1.JPGbus1.JPG

4. Now we can left the input/output of the inverter and then right click the other place to make a wire as buses of inputs and outputs. And then put the input/output off-page and connect them to the buses. Don't forget the name the exports as seen below.

4inv1.JPG

Pre-work Tutorial_5:

1. Now let's go through the tutorial_5 learning to use the buses to design the ring oscillator. The follow images show the oscillator with and without using buses.

oscilator.JPG

ring_oscillator.JPG

3. Simulate the ring osillator.

spicesimulation.JPG

LAB7 Design:

1. First, make the schematic of a 8-bit inverter. 

8xinv.JPG

2. Second, two different simulation are shown as below. One is without load. The other is that several outputs has different capacitive loads.

p2.JPG

p3.JPG

p1.JPG

3. Now, designt the 8bit NAND, NOR, AND and OR gates.

NAND GATE

nandx8.JPG

NOR GATE

norx8.JPG

AND GATE

andx8.JPG

OR GATE

orx8.JPG

4. Use LTspice to check the logic function of these four 8-bit gates(NAND, NOR, AND, OR).

NAND GATE

 sim_NANDx8sch.JPGsim_NANDx8.JPG

NOR GATE

sim_NORx8sch.JPGsim_NORx8.JPG

AND GATE

sim_ANDx8sch.JPGsim_ANDx8.JPG

OR GATE

sim_ORx8sch.JPGsim_ORx8.JPG

5. Use these four gates with 8-bit inverters in one schematic and simulate it.

TEST.JPG

6. Design the schematic of 2-to-1 DEMUX. Then use LTspice to check the demux function. When CLK is high, the A signal (high signal) will be sent to the output. Otherwise the B signal will be sent to the output Z. The simulation proves this circuit working very well.

demux.JPG

demux1.JPG

demux_LT.JPG

IRSIM_demux.JPG

7. Next, use the bus to design the 8bit demux. Then use LTspice and IRSIM to simulate the circuit. Provide different frequency clock signal and get the different output result. These two inputs are fixed to high or low. When the clock is high, the output will be high. Otherwise, output will be low. Then simulate 8-bit demux by IRSIM. The simulation result shows that Out[0] will follow the VCLK[0]. And the rest of output signals will correctly follow the respective clock signals with a delay.

demuxx8_LTsch.JPG

demuxx8_LT.JPG

demuxx8_IRSIM.JPG

8. Now let's desgin the high-speed full adder as Fig.12.20 in textbook. The schematic is shown in following. The MOSFETs has W=6, L=2. And I also use IRSIM to check its function. When adding B=1,C=1, the CO is 1 and S has no change. When A also becomes 1, the S will become high.

full_adders.JPG

fulladderIRSIM.JPG

fulladderIRSIM1.JPGfulladderIRSIM1.JPG

9. Use the buses to design the 8-bit full adder. And also simulate its operation using IRSIM.  

full_adders1.JPG

fulladderx8IRSIM.JPG

fulladderx8IRSIM1.JPG

fulladderx8IRSIM2.JPG

10. The next step is to move the layout design. First, let's design the 1-bit fulladder. And pass DRC, ERC, and NCC.

fulladderlayout.JPG

fulladderlayoutchecking.JPG

11. Next, it's to design the 8-bit fulladder. And think about how to label the bus so the carry out of one full-adder goes to the carry in of another full-adder. Make sure the final layout passing DRC, ERC, and NCC.

fulladderx8sch.JPG

fulladderx8layout.JPG

fulladderx8layoutchecking.JPG

fulladderx8_3D.JPG


Backup the work directory for future study

backup.JPG


Return to the listing of my labs

Return to the whole class reports

Return to the EE421L

Return to the CMOSedu.com