logo

Crowdly

Browser

Add to Chrome

  What is wrong with the following code fragment. More than one thing might be w...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

 What is wrong with the following code fragment. More than one thing might be wrong. You lose answers for an incorrect choice.

Note, this is the entire module - there is no additional code

 

module fubar1 (input clock, input [1:0] H, input [2:0] B; output wire A);

 integer i;

 always@(B, H)

 begin

 A = 0;

 for (i=0; i<=H; i=i+1)

if (B[i]) A=!A;

end

endmodule

 

 

 

 

0%
0%
0%
0%
0%
0%
More questions like this

Want instant access to all verified answers on moodle-courses2527.wolfware.ncsu.edu?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome