yosys/tests/simple/string_format.v

8 lines
151 B
Verilog

module string_format_top;
parameter STR = "something interesting";
initial begin
$display("A: %s", STR);
$display("B: %0s", STR);
end
endmodule