[sv-bc] RE: [sv-ec] Monitor on class handle.

From: Bresticker, Shalom <shalom.bresticker_at_.....>
Date: Thu Feb 28 2008 - 00:36:33 PST
Dave, 1750 says,
"Each element that is a singular type shall print its value as follows:

* A chandle, class handle, event, or virtual interface shall print its
value in an implementation dependent format, except that a null handle
value shall print the word null."

What is meant by the "value" of these? What is going to be printed (in
an implementation-dependent format)? Daniel thinks it means the fields
(properties, I guess) of the class in the case of a class handle. It's
not clear to me that that is the 'value' of the handle.

Thanks,
Shalom

________________________________

	From: owner-sv-ec@server.eda.org
[mailto:owner-sv-ec@server.eda.org] On Behalf Of danielm
	Sent: Thursday, February 28, 2008 9:36 AM
	To: 'Rich, Dave'; sv-ec@server.eda.org
	Subject: RE: [sv-ec] Monitor on class handle.
	
	
	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 MailScanner <http://www.mailscanner.info/>
, and is 
	believed to be clean. 
	-- 
	This message has been scanned for viruses and 
	dangerous content by MailScanner <http://www.mailscanner.info/>
, and is 
	believed to be clean. 

---------------------------------------------------------------------
Intel Israel (74) Limited

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Thu Feb 28 00:42:58 2008

This archive was generated by hypermail 2.1.8 : Thu Feb 28 2008 - 00:43:39 PST