I want sequence blocks to display some information, while they are being executed.
e.g.:
sequence A;
a;
$display ("Signal A asserted here");
endsequence
I tried this code, but encountered the following error:
Task $display is invoked where function is expected. Please correct the task call and recompile.
How do I overcome this?