Project - ECE 421L 

Authored by Giang Tran

11/09/2015

trang@unlv.nevada.edu


Part 1: Up/Down Counter
Drafting a counter with synchronous clear.

http://cmosedu.com/jbaker/courses/ee421L/f15/students/trang/Project/1.PNG

Counter Symbol

http://cmosedu.com/jbaker/courses/ee421L/f15/students/trang/Project/2.PNG

Simulate

http://cmosedu.com/jbaker/courses/ee421L/f15/students/trang/Project/3.PNG

Transient Response.
-This is an edge triggered D flip-flip so the output only changes whenever clock goes high.

http://cmosedu.com/jbaker/courses/ee421L/f15/students/trang/Project/4.PNG

Drafting our up/down counter with select.

http://cmosedu.com/jbaker/courses/ee421L/f15/students/trang/Project/5.PNG

Draft the following to simulate our 8-bit counter

http://cmosedu.com/jbaker/courses/ee421L/f15/students/trang/Project/6.PNG

The following is the response of our counter.
When sel is high, the counter counts up. When sel is low, the counter counts down.

http://cmosedu.com/jbaker/courses/ee421L/f15/students/trang/Project/7.PNG

Notice the glitches in the middle. This happens only when the Sel goes from high to low or low to high. The glitches happen since our counter cannot instantly switches from up counter to down counter.

31-stage ring oscillator
Draft the following circuit for a 31-stage ring oscillator with a buffer for driving a 20pF off-chip load.

http://cmosedu.com/jbaker/courses/ee421L/f15/students/trang/Project/ring_osc1.PNG

Symbol of a 31-stage ring oscillator with buffer.

http://cmosedu.com/jbaker/courses/ee421L/f15/students/trang/Project/ring_osc2.PNG

Simulation part

http://cmosedu.com/jbaker/courses/ee421L/f15/students/trang/Project/ring_osc3.PNG

Transient Response

http://cmosedu.com/jbaker/courses/ee421L/f15/students/trang/Project/ring_osc4.PNG

Nand/Nor gates
Draft the following circuit for NAND gate

http://cmosedu.com/jbaker/courses/ee421L/f15/students/trang/Project/NAND.PNG

Draft the following circuit for NOR gate

http://cmosedu.com/jbaker/courses/ee421L/f15/students/trang/Project/NOR.PNG

Simulation of our NOR and NAND gates

http://cmosedu.com/jbaker/courses/ee421L/f15/students/trang/Project/sim_nand_nor.PNG

Inverter
Creating schematic for our inverter

http://cmosedu.com/jbaker/courses/ee421L/f15/students/trang/Project/inverter.PNG

Creating symbol and run the simulation. We'll get the following transient response. This is an inverter, hence, whenever input is high, output will be low.

http://cmosedu.com/jbaker/courses/ee421L/f15/students/trang/Project/inverter_sim.PNG

NMOS

Our NMOS will have 4 terminals
    -G : Gate
    -B : Base
    -S : Source
    -D : Drain

http://cmosedu.com/jbaker/courses/ee421L/f15/students/trang/Project/NMOS.PNG

Creating symbol

http://cmosedu.com/jbaker/courses/ee421L/f15/students/trang/Project/NMOS_sym.PNG

Draft the following circuit to simulate our transistor.

http://cmosedu.com/jbaker/courses/ee421L/f15/students/trang/Project/NMOS_sim.PNG

We'll get the following curve.

http://cmosedu.com/jbaker/courses/ee421L/f15/students/trang/Project/NMOS_simm.PNG

PMOS

Pmos will also have 4 terminals: Drain, Source, Gate, and Base

http://cmosedu.com/jbaker/courses/ee421L/f15/students/trang/Project/PMOS.PNG

Creating symbol

http://cmosedu.com/jbaker/courses/ee421L/f15/students/trang/Project/PMOS_sym.PNG

Simulating

http://cmosedu.com/jbaker/courses/ee421L/f15/students/trang/Project/PMOS_sim.PNG

Transient Response

http://cmosedu.com/jbaker/courses/ee421L/f15/students/trang/Project/PMOS_simm.PNG

25K and 10K resistorS
Resistor with inputoutput pins. This is a 25K resistor.

http://cmosedu.com/jbaker/courses/ee421L/f15/students/trang/Project/res.PNG

Creating symbol

http://cmosedu.com/jbaker/courses/ee421L/f15/students/trang/Project/res_sym.PNG

Simulating

http://cmosedu.com/jbaker/courses/ee421L/f15/students/trang/Project/res_sim.PNG

Sweep the voltage source from 0-5V.
We'll get the following linear relationship.

http://cmosedu.com/jbaker/courses/ee421L/f15/students/trang/Project/res_simm.PNG

10K resistor schematic

http://cmosedu.com/jbaker/courses/ee421L/f15/students/trang/Project/res_10k.PNG

10K resistor symbol

http://cmosedu.com/jbaker/courses/ee421L/f15/students/trang/Project/res_10k_sym.PNG

Simulating

http://cmosedu.com/jbaker/courses/ee421L/f15/students/trang/Project/res_10K_simm.PNG

We'll get a very similar response.

http://cmosedu.com/jbaker/courses/ee421L/f15/students/trang/Project/res_simm.PNG

Connect the 25K and 10K resistors together to form a voltage divider.

http://cmosedu.com/jbaker/courses/ee421L/f15/students/trang/Project/vol_div.PNG

We'll get the following transient response.
Vout = Vin * (10K / (35K)) = 1.42 V

http://cmosedu.com/jbaker/courses/ee421L/f15/students/trang/Project/vol_div_sim.PNG

Project Layouts
Layout of a D flipflop

http://cmosedu.com/jbaker/courses/ee421L/f15/students/trang/Project/project_layout/DD_FF.PNG

DRC check

http://cmosedu.com/jbaker/courses/ee421L/f15/students/trang/Project/project_layout/D_FF_DRC.PNG

LVS check

http://cmosedu.com/jbaker/courses/ee421L/f15/students/trang/Project/project_layout/D_FF_LVS.PNG

D flipflop with select for counting up or down

http://cmosedu.com/jbaker/courses/ee421L/f15/students/trang/Project/project_layout/D_FF_SEL.PNG

DRC check

http://cmosedu.com/jbaker/courses/ee421L/f15/students/trang/Project/project_layout/D_FF_SEL_DRC.PNG

LVS check

http://cmosedu.com/jbaker/courses/ee421L/f15/students/trang/Project/project_layout/D_FF_SEL_LVS.PNG

Layout of my up-down counter with DRC check

http://cmosedu.com/jbaker/courses/ee421L/f15/students/trang/Project/up-downdrc.PNG

LVS check

http://cmosedu.com/jbaker/courses/ee421L/f15/students/trang/Project/up-downlvs.PNG

NAND gate layout

http://cmosedu.com/jbaker/courses/ee421L/f15/students/trang/Project/project_layout/2nand.PNG

NOR gate layout

http://cmosedu.com/jbaker/courses/ee421L/f15/students/trang/Project/project_layout/NOR.PNG

I did a quick update to my ring oscillator with a buffer connected to the output.

http://cmosedu.com/jbaker/courses/ee421L/f15/students/trang/Project/project_layout/ring_osc.PNG

Ring oscillator layout

http://cmosedu.com/jbaker/courses/ee421L/f15/students/trang/Project/project_layout/ring_osc_buffer.PNG

NMOS connected to 4 pads

http://cmosedu.com/jbaker/courses/ee421L/f15/students/trang/Project/project_layout/nmos+pad.PNG

NMOS layout

http://cmosedu.com/jbaker/courses/ee421L/f15/students/trang/Project/project_layout/nmospad.PNG

PMOS with 4 pads

http://cmosedu.com/jbaker/courses/ee421L/f15/students/trang/Project/project_layout/pmos4padd.PNG

PMOS layout

http://cmosedu.com/jbaker/courses/ee421L/f15/students/trang/Project/project_layout/pmos4pad.PNG

Layout of my 10K n-well resistor

http://cmosedu.com/jbaker/courses/ee421L/f15/students/trang/Project/project_layout/10kres.PNG

Layout of my 25K n-well resistor

http://cmosedu.com/jbaker/courses/ee421L/f15/students/trang/Project/project_layout/25kres.PNG

Voltage divider layout

http://cmosedu.com/jbaker/courses/ee421L/f15/students/trang/Project/project_layout/vol_div.PNG

Saving My Work!!!

All files and images are backed up in a folder on my desktop,

I'll then send a copy to my email as a backup. 

Return to main page here