Forum Discussion
Altera_Forum
Honored Contributor
14 years agoThe modelsim.ini file has a couple of parameters that allow warnings from the libraries to be suppressed, eg.,
<QUARTUS>/modelsim_ase/modelsim.ini Make the file writeable, then edit:
; Turn off warnings from the std_logic_arith, std_logic_unsigned
; and std_logic_signed packages.
StdArithNoWarnings = 1
; Turn off warnings from the IEEE numeric_std and numeric_bit
; packages.
NumericStdNoWarnings = 1
There's a few other flags in there, but these two are all I've ever had to suppress. Make modelsim.ini read-only again. This ensures the 'master' copy is clean (projects will create a local copy if they cannot write to the master copy). There's also a +nowarn argument to vsim. I recall seeing that set in some of the SOPC .do files for verilog simulation. The argument can be used to suppress numbered warnings, eg., +nowarnTFMPC +nowarn3009. Cheers, Dave