Re: [vhdl-200x-ft] ft-04 question

From: John Ries <johnr_at_.....>
Date: Mon Mar 07 2005 - 16:38:58 PST
Hi Charlie,

The expectations is that if for a type you don't like the implicit "<" and ">" operators
then you would overload "<" and ">".  You would also then overload the min and max
functions.  There has been discussion of having operators/functions defined in terms
of the overload operators but there are a number of issues due to visibility rule that
cause some problems. Also in the original language operators like !=, >, <=, and >=
are all defined in terms of the implicit = and < operators, not explicit operators
so making min and max use explicit operators would be inconsistent.

Regards,
   John

Charlie Guy wrote:
> In going over ft-04 a question occurs about the proposed operation.
> Are the ">" and "<" functions used the implicit functions "<" and ">"?  Use
> of these implicit functions seem a bad choice because their operation is
> generally not what a designer would expect if the values are arrays of
> different lengths.
> 
> Charlie
> 
> 
Received on Mon Mar 7 16:43:27 2005

This archive was generated by hypermail 2.1.8 : Mon Mar 07 2005 - 16:43:48 PST