Re: Signal 'ramp implicit quantity

From: Alain Vachoux <alain.vachoux_at_.....>
Date: Tue Sep 05 2006 - 06:49:58 PDT
Amro,

If sbit is a signal of type bit, the notation sbit'ramp is erroneous. So 
it is for any signal of a non floating-point type or subtype. One reason 
for that is it would be fairly complicated or clumsy to define common 
underlying standard semantics to convert a logic type value into a 
proper real value.

Best regards,
Alain

Amro Tork wrote:
> Dear all,
> 
> As it's known that the s'ramp(trise,tfall) is quantity with the same 
> type as signal s. So this limit the signal s to be of floating-point 
> type or subtypes.
> 
> Is there is a way to change a bit signal to quantity using the same 
> attribute sbit'ramp directly? or the model writer should write the code 
> for conversion, by adding another real signal for instance and so on.....
> 
> Same for other types std_logic,....................
> 
> Thank you,
> 
> Amro Tork
Received on Tue Sep 5 06:50:05 2006

This archive was generated by hypermail 2.1.8 : Tue Sep 05 2006 - 06:50:33 PDT