From 96ec9acf84d6eba753d6a2482b78acbf293544a5 Mon Sep 17 00:00:00 2001 From: Zachary Snow Date: Sun, 9 Aug 2020 09:31:57 -0600 Subject: Allow %0s $display format specifier --- tests/simple/string_format.v | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 tests/simple/string_format.v (limited to 'tests') diff --git a/tests/simple/string_format.v b/tests/simple/string_format.v new file mode 100644 index 000000000..ce45ca1e9 --- /dev/null +++ b/tests/simple/string_format.v @@ -0,0 +1,7 @@ +module top; + parameter STR = "something interesting"; + initial begin + $display("A: %s", STR); + $display("B: %0s", STR); + end +endmodule -- cgit v1.2.3