1- Design and implement a 4-bit Arithmetic Logic Unit (ALU). The ALU takes two inputs; A and B, each one of them is a 4-bit number. The ALU operations are controlled by a set of selection inputs: I. L: is the mode input used to control the type of operation, L=0 for arithmetic operations and L=1 for logical operations. II. So and S1: are two inputs used for controlling the execution of specific operations. C, and Cout represent carry in and carry out, respectively. F represents the output containing the result of the operations. A block diagram of the ALU is shown in Fig.1. Co N A 4-Bit ALU V Cout B S1 So L Fig.1. Block diagram of ALU

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
Pls sol this as soon as possible subject name DSD
فتح باستخدام مستدات Google
L=0 (Arithmetic operations)
L=1 (Logic operations)
Si
So
Cout
Operation
Si
So
Cout
Operation
A>B
X
A AND B
1
A = B
1
X
A OR B
1
A<B
1
X
A XOR B
A +1
1
X
A NXOR B
1
A +B
1
1
A+B+1
1
1
A - B
1
1
1
B -A
The result of the logic and arithmetic operations will be displayed on LEDS and 7 segment
display. Since you are working with a 4-bit representation for 2's complement numbers, the
maximum positive number is +7 and the most negative number is –8. A single seven-segment
display can therefore be used to show the magnitude of the number. An LED will be used for
indicating a “." sign for arithmetic operations, denoted S, in Fig.1. LEDS will also be used to
indicate the status of ALU flags.
2- Implement the designed circuit using Logisim and test it for each of the following cases:
a) (0011,0101)
b) (0100,1001)
c) (0010,0110)
d)
(0001, 1010)|
Ili
Transcribed Image Text:فتح باستخدام مستدات Google L=0 (Arithmetic operations) L=1 (Logic operations) Si So Cout Operation Si So Cout Operation A>B X A AND B 1 A = B 1 X A OR B 1 A<B 1 X A XOR B A +1 1 X A NXOR B 1 A +B 1 1 A+B+1 1 1 A - B 1 1 1 B -A The result of the logic and arithmetic operations will be displayed on LEDS and 7 segment display. Since you are working with a 4-bit representation for 2's complement numbers, the maximum positive number is +7 and the most negative number is –8. A single seven-segment display can therefore be used to show the magnitude of the number. An LED will be used for indicating a “." sign for arithmetic operations, denoted S, in Fig.1. LEDS will also be used to indicate the status of ALU flags. 2- Implement the designed circuit using Logisim and test it for each of the following cases: a) (0011,0101) b) (0100,1001) c) (0010,0110) d) (0001, 1010)| Ili
Exercise
1- Design and implement a 4-bit Arithmetic Logic Unit (ALU). The ALU takes two inputs; A
and B, each one of them is a 4-bit number. The ALU operations are controlled by a set of
selection inputs:
I.
L: is the mode input used to control the type of operation, L=0 for arithmetic operations
and L=1 for logical operations.
So and S1: are two inputs used for controlling the execution of specific operations.
II.
C, and Cout represent carry in and carry out, respectively. F represents the output containing
the result of the operations. A block diagram of the ALU is shown in Fig.1.
Co
A
4-Bit ALU
Cout
B
S1 So L
Fig.1. Block diagram of ALU
Transcribed Image Text:Exercise 1- Design and implement a 4-bit Arithmetic Logic Unit (ALU). The ALU takes two inputs; A and B, each one of them is a 4-bit number. The ALU operations are controlled by a set of selection inputs: I. L: is the mode input used to control the type of operation, L=0 for arithmetic operations and L=1 for logical operations. So and S1: are two inputs used for controlling the execution of specific operations. II. C, and Cout represent carry in and carry out, respectively. F represents the output containing the result of the operations. A block diagram of the ALU is shown in Fig.1. Co A 4-Bit ALU Cout B S1 So L Fig.1. Block diagram of ALU
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 8 steps with 6 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY