Re: EXTERNAL: Re: [vhdl-200x] Sizing of variables and signals from initial values

From: David Bishop <dbishop@eda.org>
Date: Thu Apr 25 2013 - 13:00:26 PDT
On 04/25/2013 02:12 PM, Jim Lewis wrote:
> Hi Andy,
>> There are already mixed unsigned/ufixed and signed/sfixed operator 
>> definitions, although they always return ufixed/sfixed.
>
> Where do you see these defined?
>
> I don't see any mixed unsigned/ufixed or signed/sfixed operators
> in the IEEE version of the fixed_generic_pkg.vhdl.
>
> Jim
I had them in there at one time, but there was a problem with string 
association.

If you say  xxxx <= YYYY + "0000";

and you have an overload for "signed" and "sfixed" which one does it pick?
The way the package currently works is that the "0000" is assumed to be 
an sfixed number which is VERY small, and causes an error.


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Thu Apr 25 13:01:06 2013

This archive was generated by hypermail 2.1.8 : Thu Apr 25 2013 - 13:01:18 PDT