You are on page 1of 5

1

Lab Title
:

Logic Gates Implementation Using CMOS

Course Title Course Code Class Teachers Name

: : : :

_________M.S.I._________ _________EEE-342________ ______ BEE-6C__________ ___ Sir Abid Iqbal______

Student Name: Reg. No. Marks

____Naveed Mazhar _____ : ____FA09-BEE-143_______ : __________________________

Department of Electrical Engineering COMSATS Institute of Information Technology Abbottabad

GATES USING MOS-FET


NOT GATE:

NAND GATE:

NOR GATE:

ADDER
TYPES: There are two types of Adders Half Adder Full - Adder HALF ADDER: The half adder accepts two binary digits on its inputs and produce two binary digits outputs, a sum bit and a carry bit. Logic Circuit:

FULL ADDER: The full adder accepts two inputs bits and an input carry and generates a sum output and an output carry. Logic Circuit

Truth table

SUBTRACTOR:
Half Subtractor: The half-subtractor is a combinational circuit which is used to perform subtraction of two bits. It has two inputs, X (minuend) and Y (subtrahend) and two outputs D (difference) and B (borrow). Truth Table: The truth table for the half subtractor is given below: X 0 0 1 1 So, Logic equations are: 0 1 0 1 Y 0 1 1 0 D B 0 1 0 0

Full Subtractor: The full-subtractor is a combinational circuit which is used to perform subtraction of three bits. It has three inputs, X (minuend) and Y (subtrahend) and Z (subtrahend) and two outputs D (difference) and B (borrow). D=X-Y-Z (don't bother about sign) B = 1 If X<(Y+Z) Truth table: The truth table for the full subtractor is given below: x 0 0 0 0 1 1 1 1 0 0 1 1 0 0 1 1 y 0 1 0 1 0 1 0 1 z 0 1 1 0 1 0 0 1 D 0 1 1 1 0 0 0 1 B

So, Logic equations are:

MULTIPLEXERS:
A MUX is a digital switch that has multiple inputs (sources) and a single output (destination). The select lines determine which input is connected to the output.

BLOCK DIAGRAM

4 to 1 Multiplexer
D0 D1 D2 D3

MUX

B 0 0 1 1

A 0 1 0 1

Y D0 D1 D2 D3

You might also like