Laboratory 2 - Logic Gates Design Manual
Laboratory 2 - Logic Gates Design Manual
Logic Gates
Design Manual
Logic Gates Design
To design logic gates, you need to create just the ff:
• INVERTER
• NAND
• NOR
INVERTER
- Same with the Inverter made from previous Laboratory. (Refer
to Laboratory 1 Manual)
Note: Create a cell for each logic gate. Always verify the DRC in every cell layout.
Logic Gates || MSU-IIT EECE 2
Logic Gates Design Outline
Part 1: Inverter
Part 2: NAND Gate
Part 3: AND Gate
Part 4: NOR Gate
Part 5: OR Gate
Part 6: Example Combined
Part 7: Test Bench
Part 8: Verification
Part 9: Post Simulation
Logic Gates || MSU-IIT EECE 3
Part 1: INVERTER
Symbol
Schematic
Layout
Logic Gates || MSU-IIT EECE 8
Part 3: AND Gate
Schematic
Symbol
Logic Gates || MSU-IIT EECE 12
AND Gate
Create the Layout view.
Layout
Logic Gates || MSU-IIT EECE 17
Part 4: NOR Gate
Symbol
Schematic
Layout
Logic Gates || MSU-IIT EECE 20
Part 5: OR Gate
Schematic
Symbol
Logic Gates || MSU-IIT EECE 24
OR Gate
Layout
Logic Gates || MSU-IIT EECE 29
Part 6: COMBINATION
Schematic
Symbol
Logic Gates || MSU-IIT EECE 31
Ex. AND-NOR
Layout
Logic Gates || MSU-IIT EECE 35
Part 7: TEST BENCH
Instance the AND-NOR Cell and the rest of the necessary cells for the test
bench. Connect through wires. Check and edit parameter on property window.
Click Q to view property window.
Logic Gates || MSU-IIT EECE 37
Simulation
Input on pin A
Input on pin B
Input on pin C
Fall Time
Rise Time
From the input.sp, copy the highlighted code to the output.sp file just below
the comments line or the line before the Subckt.
Logic Gates || MSU-IIT EECE 59
Post Simulation P.3
From the input.sp, copy the highlighted code to the output.sp file at the bottom part
or after the Subckt code.
Logic Gates || MSU-IIT EECE 60
Post Simulation P.4
In the output.sp file, rename the Inverter pins in sequenced with the pinning of the
Subckt.
Click the
waveforms for
viewing.
PRE-SIM
POST SIM
It is good if your post-simulation is equal to or better than the pre-simulation result. If not,
you can check your layout to improve your output.
Logic Gates || MSU-IIT EECE 68