Re: Regarding support of wreal

From: Kevin Cameron <kevin_at_.....>
Date: Mon Aug 07 2006 - 14:12:04 PDT
Martin O'Leary wrote:

>(another perspective on the wreal feature)
>
>Wreal part of the Verilog-AMS standard not the Verilog standard and has
>been there since LRM2.0,
>released in 2000.
>
>It has proven popular with users and is supported by multiple implementors.
>  
>
- on the principal that a bad solution is better than no solution.

The reason that it is unnecessary is that wires should be neutral and 
have their type/discipline derived at elaboration be looking at the 
drivers/contributions. A wreal is essentially a wire with a driver of 
type real (a non-resloved type). As far as I remember you can't connect 
wreal to anything else so it breaks the plug-and-play approach intended 
in the original design of the language - i.e. you should be able to swap 
a "digital" module with a real driver for an analog module with a 
contribution and have it handled automatically.

Kev.

>Thanks,
>--Martin 
>
>-----Original Message-----
>From: owner-verilog-ams@eda-stds.org
>[mailto:owner-verilog-ams@eda-stds.org] On Behalf Of Kevin Cameron
>Sent: Monday, August 07, 2006 1:14 PM
>To: Dave Miller
>Cc: verilog-ams@eda-stds.org
>Subject: Re: Regarding support of wreal
>
>
>wreal was a (unecessary) Cadence hack that only exists in Verilog-A[MS].
>
>Hopefully it will go away some day.
>
>Kev.
>
>Dave Miller wrote:
>  
>
>>Hello all,
>>I am a bit confused about the support of the net type 'wreal'. I see 
>>that it is included in the AMS syntax that Graham has done but I can't
>>    
>>
>
>  
>
>>find any mention of 'wreal' in 1364-2001, or 1364-2005. Is 'wreal' a 
>>type that is only valid in the digital domain (i.e. can only assign to
>>    
>>
>
>  
>
>>it in digital), if so why can't I find it in the digital LRM's or am I
>>    
>>
>
>  
>
>>looking in the wrong place?
>>Thanks for any help,
>>
>>Regards
>>Dave
>>
>>    
>>
>
>
>  
>
Received on Mon Aug 7 14:12:07 2006

This archive was generated by hypermail 2.1.8 : Mon Aug 07 2006 - 14:12:20 PDT