diff options
author | Zachary Snow <zach@zachjs.com> | 2020-08-09 09:31:57 -0600 |
---|---|---|
committer | Zachary Snow <zach@zachjs.com> | 2020-08-09 17:19:49 -0400 |
commit | 96ec9acf84d6eba753d6a2482b78acbf293544a5 (patch) | |
tree | 22176405717b1c6f84c45749225d10d8ca4881f3 /tests | |
parent | 9a4f420b4b8285bd05181b6988c35ce45e3c979a (diff) | |
download | yosys-96ec9acf84d6eba753d6a2482b78acbf293544a5.tar.gz yosys-96ec9acf84d6eba753d6a2482b78acbf293544a5.tar.bz2 yosys-96ec9acf84d6eba753d6a2482b78acbf293544a5.zip |
Allow %0s $display format specifier
Diffstat (limited to 'tests')
-rw-r--r-- | tests/simple/string_format.v | 7 |
1 files changed, 7 insertions, 0 deletions
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 |