1 2 3 4 5 6 7
module string_format_top; parameter STR = "something interesting"; initial begin $display("A: %s", STR); $display("B: %0s", STR); end endmodule