Re: [sv-bc] List of operators allowed on class object

From: Surya Pratik Saha <spsaha_at_.....>
Date: Wed Jan 16 2008 - 23:47:20 PST
Hi Rich,
Can you please list out what are the logical operators to be allowed. I 
think only '!' can be valid.

Regards
Surya



-------- Original Message  --------
Subject: Re:[sv-bc] List of operators allowed on class object
From: Rich, Dave <Dave_Rich@mentor.com>
To: Surya Pratik Saha <spsaha@cal.interrasystems.com>, sv-ec@eda.org, 
sv-bc@eda.org
Date: Thursday, January 17, 2008 12:37:13 PM
> This has been clarified in 1800-2008 under several mantis issues; 1594
> and 1608 among them.
>
> The only operators allowed are the equality, inequality and conditional
> operators as well as the simple blocking assignment.
>
> I think it was an oversight not to include logical operators. Any other
> operator that exposes the internal representation of a handle should
> remain illegal.
>
> Dave
>
>
>   
>> -----Original Message-----
>> From: owner-sv-bc@server.eda.org [mailto:owner-sv-bc@server.eda.org]
>>     
> On
>   
>> Behalf Of Surya Pratik Saha
>> Sent: Wednesday, January 16, 2008 9:59 PM
>> To: sv-ec@server.eda.org; sv-bc@server.eda.org
>> Subject: [sv-bc] List of operators allowed on class object
>>
>> Hi,
>> In SV 1800-2005 LRM, I did not see any list of operators to be allowed
>> for class object. If we consider the following case:
>> module top;
>>     class C;
>>     endclass
>>
>>     initial begin:b
>>         C c;
>>         if (!c) begin
>>         end
>>     end
>> endmodule
>>
>> Where '!' unary operator is used on class object. Is it allowed?
>>     
> Though
>   
>> table 11-1 says '!' is allowed on integral and real type, whereas
>>     
> class
>   
>> object is neither of them. Though most of simulators are passing for
>>     
> the
>   
>> case. So my question is - what are the other operators are allowed on
>> class object.
>>
>> --
>> Regards
>> Surya
>>
>>
>>
>>
>>
>> --
>> This message has been scanned for viruses and
>> dangerous content by MailScanner, and is
>> believed to be clean.
>>     
>
>
>
>
>
>
>   





-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Thu Jan 17 01:14:45 2008

This archive was generated by hypermail 2.1.8 : Thu Jan 17 2008 - 01:14:54 PST