hi Ben,
isn't the whole example illegal?
class test_class;
virtual test_if tf;
task run_c();
expect ( @(posedge clk) tf.a |-> ##2 !tf.a); // <-- ******
endtask
tf is a dynamically assignable variable.
ed
From: owner-sv-ac@eda.org [mailto:owner-sv-ac@eda.org] On Behalf Of ben cohen
Sent: Monday, June 14, 2010 9:17 AM
To: sv-ac@eda.org
Subject: [sv-ac] automatic variiables in clock expr // virtual interface
See http://verificationguild.com/modules.php?name=Forums&file=viewtopic&p=18142#18142
Lrm reference ?
Question is somewhat related to our upcoming discussion in interfaces and checkers.
Ben
-- 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, and is believed to be clean.Received on Mon Jun 14 06:27:09 2010
This archive was generated by hypermail 2.1.8 : Mon Jun 14 2010 - 06:27:12 PDT