In reply to Alok_Mandal:
You need to use backslash before double quotes two times to print ““OFF””.
module tb;
string str=“""OFF""”;
initial begin
$display(“str = %s”,str);
end
endmodule
In reply to Alok_Mandal:
You need to use backslash before double quotes two times to print ““OFF””.
module tb;
string str=“""OFF""”;
initial begin
$display(“str = %s”,str);
end
endmodule