But %p will display field values under that handle. What if we want to monitor only if the handle adress will change - ie after new or after assigning to that handle another handle? IMHO it will be enough to print just address. DANiel _____ From: Rich, Dave [mailto:Dave_Rich@mentor.com] Sent: Wednesday, February 27, 2008 5:21 PM To: danielm; sv-ec@server.eda.org Subject: RE: [sv-ec] Monitor on class handle. Class handles, chandles, events, or virtual interface handles do not have any corresponding format specifiers other than %p (Mantis 1750) I believe Mantis 1971 is currently open to address the issue when a non-aggregate (singular) value is used without a valid format specifier. I believe that it should be illegal unless there is an implicit cast defined to a type suggested by the format specifier. _____ From: owner-sv-ec@server.eda.org [mailto:owner-sv-ec@server.eda.org] On Behalf Of danielm Sent: Wednesday, February 27, 2008 7:21 AM To: sv-ec@server.eda.org Subject: [sv-ec] Monitor on class handle. Should class handle be allowed directly in $monitor ($display)? Mantis <http://www.eda-stds.org/svdb/view.php?id=331> 0000331 do not cover this. EXAMPLE: module top; class C; int i; endclass C c; initial $monitor ("handle monitor: %t > %b",$time, c); //<<is this monitor correct? endmodule DANiel -- This message has been scanned for viruses and dangerous content by <http://www.mailscanner.info/> 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 Feb 27 23:36:21 2008
This archive was generated by hypermail 2.1.8 : Wed Feb 27 2008 - 23:36:56 PST