Question: Devise a test of follwing Add Shift Multiply algorithms, Provide a table output of the algorithm and Supply waveform snapshots that show the process and
Devise a test of follwing "Add Shift Multiply" algorithms, Provide a table output of the algorithm and Supply waveform snapshots that show the process and the answer
Verilog code:
behavioral addshift multiply
module muladdshifta b prod, start;
input : a b;
input start;
output : prod;
reg : prod;
reg : breg;
reg : count;
always @ posedge start
begin
breg b;
prod ;
count b;
if a && b
while count
begin
prod breg & a
prod: prod:;
breg breg ;
count count ;
end
end
endmodule
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
