[sv-ac] Sampled value function $past $rose $fell

From: soumya <soumya_at_.....>
Date: Tue Jan 13 2009 - 02:12:04 PST
Hi,
 Please consider this sequence and property.

sequence sq1;
@(posedge clk)  a ##1 $past(b,2, ,clk1);
endsequence

property prop;
@(posedge clk)##1 sq1;
endproperty

assert1: assert property(prop)

$past has clk1 in his argument , but the sequence or property has clk. 
Both this clk and clk1 are different.
My question is that while sampling which clock should $past take, clk or 
clk1? In place of $past, if $rose or $fell used then what will be the clock?

Thanks,
-Soumya


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Tue Jan 13 02:04:19 2009

This archive was generated by hypermail 2.1.8 : Tue Jan 13 2009 - 02:05:28 PST