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 Wed Jan 16 23:07:47 2008
This archive was generated by hypermail 2.1.8 : Wed Jan 16 2008 - 23:08:08 PST