Please take a look and use the correct hexadecimals : a) Suppose A = D6 and B = 7C (both in hexadecimal). Show the step by step result multiplying A and B, using the multiplier hardware shown in Fig....


Please take a look and use the correct hexadecimals :



a)  Suppose A = D6 and B = 7C (both in hexadecimal). Show the step by step result multiplying
A and B, using the multiplier hardware shown in Fig. 1. Assume A and B are 8-bit unsigned numbers,
stored in hexadecimal format.




b)  What is the RISC-V instruction that gives the lower 32 bits of the above multiplication
of signed integers? Name one register where you will be placing the result and fill in all 32 bit
positions for this instruction (write it both in assembly and in machine language).


c)  Suppose for an 8-bit number, each step of operation (either addition or shift) takes 2ns. Please
calculate the time necessary to perform a multiply using the approach given in Fig. 1. Assume the
registers have been initialized. In hardware, please note that the shifts of the multiplicand and multiplier
can be done simultaneously.


Multiplicand<br>Shift left<br>128 bits<br>Multiplier<br>Shift right<br>128-bit ALU<br>64 bits<br>Product<br>Control test<br>Write<br>128 bits<br>Fig. 1: HW of First (naïve) Multiplication Algorithm<br>

Extracted text: Multiplicand Shift left 128 bits Multiplier Shift right 128-bit ALU 64 bits Product Control test Write 128 bits Fig. 1: HW of First (naïve) Multiplication Algorithm
Multiplicand<br>64 bits<br>64-bit ALU<br>Shift right<br>Product<br>Control<br>test<br>Write<br>129 bits<br>Fig. 2: Refined HW of Multiplication Algorithm<br>

Extracted text: Multiplicand 64 bits 64-bit ALU Shift right Product Control test Write 129 bits Fig. 2: Refined HW of Multiplication Algorithm

Jun 08, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here