0% found this document useful (0 votes)
20 views

Lab3 Arithmetic Circuit

The document describes three digital circuit design labs: 1) Designing a full adder circuit using XOR and AND gates. 2) Designing a 2-bit comparator circuit using a full adder subtractor circuit to compare two 2-bit numbers. 3) Designing a 2-bit array multiplier circuit to multiply two 2-bit numbers.
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
20 views

Lab3 Arithmetic Circuit

The document describes three digital circuit design labs: 1) Designing a full adder circuit using XOR and AND gates. 2) Designing a 2-bit comparator circuit using a full adder subtractor circuit to compare two 2-bit numbers. 3) Designing a 2-bit array multiplier circuit to multiply two 2-bit numbers.
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

University of Tripoli

Computer Engineering Department


EC381L Digital Systems I Lab Fall 2013
Lab # 3
Full Adder
Design, construct, and test a full adder circuit using two ICs type, 7486 (XOR) and 7408 (AND gate).

2 bit comparator

The comparison of two numbers is an operation that determines whether one number is greater than, equal
to, or less than the other number.
Two numbers, A and B, can be compared by first subtracting A - B as is done in the previous design.
If the output in S is equal to zero, then A = B.
The output carry from C4 determines the relative magnitudes of the numbers:
When C2 = 1, A ≥ B;
when C2 = 0, A < B;
and when C2 = 1 and S≠0, A>B.

Design a combinational circuit that compares 2 two bits numbers A and B.


1- Use full adder to construct 2-bit subtractor as studied in the class.
(You can add full adder in Multisim by selecting Place Component Misc Digitalfull
adder)
2- It is necessary to supplement the subtractor circuit to provide the comparison logic. This
is done with a combinational circuit that has three inputs— S1 through S2 and C2 —and
three outputs, designated by x, y, and z, so that
x = 1 if A = B (S = 00)
y = 1 if A < B (C2 = 0)
z = 1 if A >B (C2 = 1 and S≠00)

2 -bit

Construct the comparator circuit and test its operation. Use at least three sets of numbers for A and B to
check each of the outputs x, y, and z.

A B x y z
2-bit array multiplier
Design and implement a 2-bit array multiplier: Z=XY, Where X=x1x0, Y=y1y0, and P=
p3p2p1p0,

Note that Zjk = is the product of the bits Yj and Xk

Use at three sets of numbers for X and Y to verify your design.

You might also like