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

From: Surya Pratik Saha <spsaha_at_.....>
Date: Wed Jan 16 2008 - 21:59:18 PST
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.
Received on Wed Jan 16 21:59:54 2008

This archive was generated by hypermail 2.1.8 : Wed Jan 16 2008 - 22:00:13 PST