Question: Identify the error in the below system verilog code and Rectify Code 0 1 : module assingment _ 1 1 ; int count; initial begin

Identify the error in the below system verilog code and Rectify
Code 01:
module assingment_11;
int count;
initial begin
forever begin
$display("Value of count =%0d", count);
count++;
if(count ==10);
break;
end
end
endmodule
Code 02:
module assingment_11_code02 ;
int count;
begin
$display("Value of count =%0d", count);
count++;
#5;
end
initial begin
#30;
$finish;
end
endmodule

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!