Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

all one question 1. [ 15 Points] The below block diagram is a 4-bit ALU. The ALU has a 3 function-select inputs So, S and

image text in transcribed

image text in transcribed

all one question

1. [ 15 Points] The below block diagram is a 4-bit ALU. The ALU has a 3 function-select inputs So, S and S2 (S2 is used as a mode selector Arithmetic/logic operation). The functions performed by the ALU are specified in the below table. Carry in Cin 4 Cout Data in A A Data in B B 4-bit ALU So Data out Function select Si S2 4-bit ALU block diagram Operation Select Operation Arithmetic Operation Select S2 S S. Gio 0 0 0 0 0 1 0 1 0 0 1 11|1|1 G=A G=A+1 G=A+B G= A + B + 1 G=A +B G= A + B + 1 G=A-1 G=A Transfer A Increment A Addition Add with carry input of 1 A plus 1st complement of B Subtraction Decrement A Transfer A 0 11101 0 I 0 0 1 1 Logic Operation Select S2 S. So e 1 0 0 0 1 0 1 1 1 Operation o 01-11 1 1 G=AAB G=AVB G=A B G= G=AAB G=A v B G=AB G=B AND OR XOR Not A (1" complement of A) NAND NOR XNOR Not B (1st complement of B) 1 0 0 1 1 1 1 1 0 1 1 1 1 The ALU Operation a. Design the arithmetic module Operation Arithmetic Operation Select Si So Y Cin=0 Cin=1 0 0 All G=A (Transfer A) G= A +1 (Increment A) Os 0 1 B G=A+B + 1 (Add with carry input of 1 G= A + B +1 (Subtraction) 1 0 B G=A+B (Addition) G= A + B (A plus 1st complement of B) G=A-1 (Decrement A) 1 1 All G=A (Transfer A) 1s b. Design the Logic module Operation Logic Operation Select S2 Si S Cin 1 0 0 0 1 0 0 1 1 0 1 0 1 0 1 1 G=AAB (AND) G=A v B (OR) G=A B (XOR) G= (Not A (1st complement of A) G=AB (NAND) G=A v B (NOR) G= A B (XNOR) G= B Not B {1st complement of B} 1 1 0 0 1 1 0 1 1 1 1 0 1 1 1 1 c. Give the complete ALU diagram. 1. [ 15 Points] The below block diagram is a 4-bit ALU. The ALU has a 3 function-select inputs So, S and S2 (S2 is used as a mode selector Arithmetic/logic operation). The functions performed by the ALU are specified in the below table. Carry in Cin 4 Cout Data in A A Data in B B 4-bit ALU So Data out Function select Si S2 4-bit ALU block diagram Operation Select Operation Arithmetic Operation Select S2 S S. Gio 0 0 0 0 0 1 0 1 0 0 1 11|1|1 G=A G=A+1 G=A+B G= A + B + 1 G=A +B G= A + B + 1 G=A-1 G=A Transfer A Increment A Addition Add with carry input of 1 A plus 1st complement of B Subtraction Decrement A Transfer A 0 11101 0 I 0 0 1 1 Logic Operation Select S2 S. So e 1 0 0 0 1 0 1 1 1 Operation o 01-11 1 1 G=AAB G=AVB G=A B G= G=AAB G=A v B G=AB G=B AND OR XOR Not A (1" complement of A) NAND NOR XNOR Not B (1st complement of B) 1 0 0 1 1 1 1 1 0 1 1 1 1 The ALU Operation a. Design the arithmetic module Operation Arithmetic Operation Select Si So Y Cin=0 Cin=1 0 0 All G=A (Transfer A) G= A +1 (Increment A) Os 0 1 B G=A+B + 1 (Add with carry input of 1 G= A + B +1 (Subtraction) 1 0 B G=A+B (Addition) G= A + B (A plus 1st complement of B) G=A-1 (Decrement A) 1 1 All G=A (Transfer A) 1s b. Design the Logic module Operation Logic Operation Select S2 Si S Cin 1 0 0 0 1 0 0 1 1 0 1 0 1 0 1 1 G=AAB (AND) G=A v B (OR) G=A B (XOR) G= (Not A (1st complement of A) G=AB (NAND) G=A v B (NOR) G= A B (XNOR) G= B Not B {1st complement of B} 1 1 0 0 1 1 0 1 1 1 1 0 1 1 1 1 c. Give the complete ALU diagram

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Business Intelligence For New-Generation ManagersCurrent Avenues Of Development

Authors: Jörg H. Mayer, Reiner Quick

6th Edition

3319156950, 9783319156958

More Books

Students also viewed these Accounting questions