Professional Documents
Culture Documents
" Logic Gates Implementation Using CMOS ": Lab Title
" Logic Gates Implementation Using CMOS ": Lab Title
" Logic Gates Implementation Using CMOS ": Lab Title
Lab Title
:
: : : :
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
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