Hi Surrendra;
I may be helpful to summarize where/when one should use .triggered and .ended and
$sampled() in SV codes.
For example there are several contexts:
1. Properties and sequences
2. Disable iff expression
3. Clocking expression
4. Action blocks
5. Program blocks/code
6. other verilog contexts (maybe we need a name for 'plain ole verilog code')
Use .ended/.matched in:
1. Properties and sequences.
...
Use .triggered in:
1. Disable iff expressions
...
Use $sampled() in:
1. Action blocks.
...
This would help disambiguate the various constructs and reduce the potential for errors.
Adam
Received on Fri Apr 30 07:17:56 2004
This archive was generated by hypermail 2.1.8 : Fri Apr 30 2004 - 07:17:59 PDT