Dear,
Please let me know if the below code is supposed to throw run-time error.When I simulated the below code I won’t get any error rather the string is displayed and width value as unknown.
##################################
module test;
reg [3:0]width;
initial
begin
width = 4'd4/0;
$display(width);
#10;
end
endmodule