Write a small Verilog module itmult that has two multibit outputs of size SIZE HM and LM which are the high and low bits of the result, two multibit inputs of size SIZE A and B which are the operands,...

1 answer below »

Write a small Verilog module itmult that has two multibit outputs of size SIZE HM and LM which are the high and low bits of the result, two multibit inputs of size SIZE A and B which are the operands, one single bit output fin that signals the end of the iterative computation, and three inputs: start that tells the circuit when to use the input operands to calculate the product, so when start is zero it keeps copying the inputs A and B and when it switches to one it starts the multiplication which will take SIZE cycles. The operation is pretty much like the notes from chapter XXXXXXXXXXpg. 8). You will need to instantiate, possibly among other things, a register rregister to accumulate the result which has to be big enough to hold both the low and the high bits, a counter cntr to count the number of iterations, an adder yAdder and a two-to-one multiplexor yMux.

To start download file LabTestII.v and with the help of this diagram implement module itmult. Notice that there is no cntr in the diagram but it is needed in the module itmult.

To test your circuit create a separate module named LabN where you instantiate module itmult and include an initial that toggles the clk. Please note the use of the resettable modules (ie, they have an extra input reset)

Your modules should include a comment header that includes your name, section, today's date and a very brief description of what the module does (no more than 2 lines). Name the file LabTestII.v.
Answered 1 days AfterApr 06, 2022

Solution

Sathishkumar answered on Apr 07 2022
12 Votes
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here