Discussion in 'Homework Help' started by abdelrahman, Jul 5, 2011.

1. ### abdelrahman Thread Starter New Member

Jul 5, 2011
3
0
hi every body im studing in faculty of engineering EGYPT-ALEXANDRIA UNIVERSITY
i have a hard project IN MY FIRIST YEAR IN ELECTRICAL department
project about ALU ( Arithmetic logic unit )
******************************************************
Arithmetic and Logic Unit
A digital design of a full-scale expandable (with cascadable input carry bits) 4-bits integer ALU able to perform certain operations and to generate the following four flags:
a. Carry/Borrow Flag to be set on carry (addition) or borrow (subtraction) operations
b. Sign Flag to be set when the resulting number is negative (2's complement only)
c. Zero Flag to be set if the resulting number is zero
d. Overflow Flag to be set if the two most significant carry outputs are not equal
The operations required are summarised in the following:
a. Addition of two 4-bit data
b. Addition with Carry of two 4-bit data
c. Subtraction of two 4-bit data
d. Subtraction with Borrow of two 4-bit data
e. Incrementing the input data
f. Decrementing the input data
g. Integer Multiplication of two 4-bit input data (resulting in 8-bit outputs)
h. Integer Division of an 4-bit input data by a 2-bit input data (resulting in 4 quotient output bits and an extra 2 remainder bits)
i. Shifting Operations including of the input data
i. Ordinary Shift Right and Left with carry flag
ii.Arithmetic Shift Right and Left with carry flag
iii. Circular Shift Right and Left with carry flag
iv. Ordinary Shift Right and Left through carry flag
v.Arithmetic Shift Right and Left through carry flag
vi. Circular Shift Right and Left through carry flag
j. Transferring and Displaying of data
k. First Complement of the input data
l. Second Complement of the input data
m. Negation the input data.
n. BCD Addition of the input data
o. BCD Subtraction of the input data
p. Excess-3 Addition of the input data
q. BCD to Binary conversion circuit for the input data and vice versa
r. Binary to BCD conversion circuit for the input data and vice versa
s. Gray code to Binary conversion circuit of the input data and vice versa
t. Binary to Gray code conversion circuit of the input data and vice versa
u. Excess-3 to Binary conversion circuit of the input data and vice versa
v. Binary to Excess-3 conversion circuit of the input data and vice versa
w. Logic Operations
i. ANDing of input data
ii.ORing of input data
iii. XORing of input data
iv. XNORing of input data
v.INVERTing of input data
vi. NANDing of input data
vii. NORing of input data
x. Comparing of two input data for equality operation (if equal the zero flag should be set)
y. Comparing of two input data for larger than operation
z. Comparing of two input data for smaller than operation
The required operations are to be selected using a certain number of select lines in order to enable only one of the above processes to be performed. It is required to design the functional truth table of such a circuit and to determine the exact number of selection code bits required in order to perform all these tasks.
Data input to the designed circuit is to be conveyed from DIP switches.
The design must also include input and output presentation circuits using LEDs as well as seven segments (Displaying Hexadecimal data).
The implementation of further operations other than the aforementioned above is very much appreciated and generously rewarded.
You are required to attempt as much as possible in the implementation of this system.

Apr 5, 2008
17,123
3,001
Hello,

As this is a study project, I have moved it to the homework help section.
We will NOT do the homework for you, but we will give you hints and suggestions.
What have you done upto now to manage your project?

Here is a page from the EDUCYPEDIA with a lot of links on digital arithmic circuits:
Arithmetic circuits

Bertus

Jul 17, 2007
22,194
1,764
4. ### abdelrahman Thread Starter New Member

Jul 5, 2011
3
0
In fact I started my project but I do not have time to complete all the tasks required for this reason, your help requested
And I will continue this as much as possible