mirror of
https://github.com/verilator/verilator.git
synced 2025-01-05 22:27:35 +00:00
d4c3e35f97
`$psprintf` is a non-standard system function present in some other simulators, and has been rejected for standardization by IEEE because of being basically the same as `$sformatf`. To encourage users to fix their codebase, a warning is emitted by default, but it gets otherwise interpreted as `$sformatf` as early as during lexing. Signed-off-by: Arkadiusz Kozdra <akozdra@antmicro.com> * wording/formatting Signed-off-by: Arkadiusz Kozdra <akozdra@antmicro.com> --------- Signed-off-by: Arkadiusz Kozdra <akozdra@antmicro.com>
7 lines
458 B
Plaintext
7 lines
458 B
Plaintext
%Warning-NONSTD: t/t_sys_psprintf.v:21:13: Non-standard system function '$psprintf'; suggest use standard '$sformatf' (IEEE 1800-2023 21.3.3)
|
|
21 | str = $psprintf("n=%b q=%d w=%s", n, q, wide);
|
|
| ^~~~~~~~~
|
|
... For warning description see https://verilator.org/warn/NONSTD?v=latest
|
|
... Use "/* verilator lint_off NONSTD */" and lint_on around source to disable this message.
|
|
%Error: Exiting due to
|