Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
16 years ago

Suppress Numeric_std and Synopsys warnings in Modelsim

How can I suppress warning messages from the Numeric_std and synopsys packages when I initiate a simulation via a TCL script using the vsim command?

I have them suppressed in the menu options, but when I run a TCL script it unsuppresses them, very annoying.

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I know these variables are stored in the local modelsim.ini file

    ; 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

    Maybe adding somthing like

     set NumericStdNoWarnings 1
     set StdArithNoWarnings 1

    to the TCL script will ensure they are set :rolleyes:

    I haven't tried this but it might be worth a try