Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

ALU-Shifter Combined Use logic gate to design this project, such as NOT gate, OR

ID: 3757976 • Letter: A

Question

ALU-Shifter Combined

Use logic gate to design this project, such as NOT gate, OR gate, AND gate.

Each student is asked to design and present an interconnection of necessary building blocks to realize an ALU and a Shifter as follow:

This final system supposed to function, basically, as those used in the micro-architecture handout given and described in class with minormodifications as follow:

The function of ALU is defines by the control lines F0 F1 F2. Inputs to ALU are 4bit (A), 4bit (B), and any other required input(s) to make the ALUan expandable system; Outputs are 4bit (C), one bit N ("1” if C is Negative), and one bit Z ("1” if C is Zero), and any other required output(s) tomake the ALU an expandable system. F0, F1,F2 defines as follow:

F0, F1, F2   Function

0,0,0 C = A plus B

0,0,1 C = A and B

0,1,0 C = A

0,1,1 C = not A

1.0,0 C = A minus B

The function of Shifter is defines as the control lines S0 S1. Inputs to Shifter are 4bit (C) and any other required input(s) to make the Shifter anexpandable system; Outputs are 4bit (SC) and any other required output(s) to make the Shifter an expandable system. S0, S1 defines as follow:

S0, S1   Function comments

0,0   no shift

0,1 shift left   or right

1,0   shift right   or left

1,1   no shift

Selection of necessary building blocks and presentation of their interconnections must be clear and type written. If necessary, hand drawn graph(if you must) shall be scanned first before being included in the report.

Explanation / Answer

Solution :

The function F0, F1 and F2 are as follows :

If values are 0, 0, 0 then add function is to be used.

If values are 0, 0, 1 then and function is to be used.

If values are 0, 1, 0 then no function is to be used.

If values are 0, 1, 1 then not function is to be used.

If values are 1, 0, 0 then minus function is to be used.

The function S0, S1 are as follows :

If values are 0, 0 then no shift is to be done.

If values are 0, 1 then shift to left or shift to right is to be done.

If values are 1, 0 then shift to right or shift to left is to be done.

If values are 1, 1 then no shift is to be done.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote