[sv-cc] cbValueChange on SV String

From: Radoslaw Nawrot <Radoslaw.Nawrot@aldec.com.pl>
Date: Mon Oct 15 2012 - 05:31:43 PDT
Hi 
I'd like to ask about callback's on SystemVerilog string.
 
LRM says:
 
"cbValueChange After value change on some variables, any expression, or
terminal or after

execution of an event statement. Specifically excluded are class objects,
dynamic

arrays, strings, queues, and associative arrays."

 

Is there as reason why callback cbValueChange cannot be set on string?
 
example:
string s="a";
if I set cb on value change I can detect :
 
s="b"
 
were size is still the same 
 
BTW: LRM 1800-2009 on page 1022 have bug:
"For a cbValueChange callback, if the obj has the vpiArrayMenber property
set to TRUE" 
 
 
Regards,
Radek
 

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Mon Oct 15 05:32:26 2012

This archive was generated by hypermail 2.1.8 : Mon Oct 15 2012 - 05:32:43 PDT