[vhdl-200x] Bugzilla 283

From: Peter Flake <flake@elda.demon.co.uk>
Date: Thu Dec 05 2013 - 07:31:45 PST
The Bugzilla 283 summary is:

?/= function in float_generic_pkg can give wrong answer

 

The description is:

?/= calls "?=" function for std_logic_vector.  Thus the function could
return an "X" or "U" when it should return a "1" (or not /=).

 

It is not true that "?/=" calls "?=".  However the ?/= function in
float_generic_pkg can give an X if one of the arguments is ill-formed, e.g.
not a number.  This is consistent with the documentation for the fixed point
package, but the documentation for the floating point package is vague.

 

My recommended fix is to improve the documentation in G5.4.1 as follows:

"?/=" Similar to "=" but returns a STD_ULOGIC value (0 if false, 1 if true,
X if a value is NaN)

 

Regards,

 

Peter Flake

 


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Thu Dec 5 07:32:05 2013

This archive was generated by hypermail 2.1.8 : Thu Dec 05 2013 - 07:32:38 PST