Is it possible to generate a warning or error in Synopsys VCS compiler if a `define
macro is redefined?
`define DATWIDTH_SZ `DAT_SZ
`define DATWIDTH_SZ 512
Is it possible to generate a warning or error in Synopsys VCS compiler if a `define
macro is redefined?
`define DATWIDTH_SZ `DAT_SZ
`define DATWIDTH_SZ 512
Copyright © 2021 Jogjafile Inc.
It works for me:
Perhaps you disabled warnings using
+warn=none
. Refer to options in$VCS_HOME/doc/help_vcs.txt
.