modelsim real multiply problem
Hi brunokasimin,
I got it this solution from my colleauge:
"A metavalue is an X, U or Z. Many of the standard library routines do not know what to do with a metavalue and therefore return FALSE or 0 or some reasonable value, and generate a warning that this is what is happening. This happens most frequently at time 0 when signals are uninitialized. (Actually, they are initialized to <type>'left which for a std_logic would be 'U'.)
When trying to debug this problem there is not a simple way to print them out since the function only has values not signals, but there is a simple way to stop the simulator each time a message is printed.
If you change the Immediate Assertion Break Severity setting to Warning in the Simulate > Runtime Options > Assertion tab, then when any assertion issuing a warning is encountered the simulation will break and you can see the line and the signals involved. If the simulation is inside of a function, you can use the tb command to figure out what process and line you are at.
If you are not concerned about the warnings you can disable them via the Simulate > Runtime Options > Defaults tab, which contains a checkbox to Suppress Warnings from the IEEE Numeric Std Packages. Alternatively, you may set the modelsim.ini file variable NumericStdNoWarnings = 1, by removing the ';' at the beginning of the line to uncomment it.
"
Hope it helps