sv2v/test/basic/string.sv

7 lines
196 B
Systemverilog

module top;
localparam FOO = "some useful string";
localparam type T = type(FOO);
localparam T BAR = "some other useful string";
initial $display("'%s' '%s'", FOO, BAR);
endmodule