In reply to dave_59:
Thanks for your reply, after inserting #1 delay task is running fine. Also tried for
functional call but it works only if add @ (cpu_timer_ld_dn) insid\ inside the forever block.
also forever @ (*) end up with syntax error, guess forever should be used only inside the
control = new();
control.timer_load(cpu_timer_ld_dn, gate_rise_edge, timer_modes, load_timer_reg);
Anyhow you have solved my issue & thanks a lot, now only I came to know about
zero delay task wont run inside a forever block.