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

From: danielm <danielm_at_.....>
Date: Thu Feb 28 2008 - 01:43:15 PST
Well I think that properties should be displayed for %p, IMHO it should be
allowed to use other specs (%d, %b, default) and print handle addres in
implementation dependent manner - for purposes I've mentioned in previous
mail.
 
DANiel

  _____  

From: Bresticker, Shalom [mailto:shalom.bresticker@intel.com] 
Sent: Thursday, February 28, 2008 9:37 AM
To: danielm; Rich, Dave; sv-ec@server.eda.org
Cc: sv-bc
Subject: RE: [sv-ec] Monitor on class handle.


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  <http://www.mailscanner.info/> MailScanner, and is 
believed to be clean. 
-- 
This message has been scanned for viruses and 
dangerous content by  <http://www.mailscanner.info/> MailScanner, 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 01:44:31 2008

This archive was generated by hypermail 2.1.8 : Thu Feb 28 2008 - 01:44:48 PST