View Single Post
  #1 (permalink)  
Old 11-11-2005, 09:23 AM
kk
Guest
 
Posts: n/a
Default multiple call to system task vs single call and call back

I have in two clks in my verilog code.
clk1 period = 20 ns
clk2 period = 1000 ns
Now if i want get a signal value using pli routines during every event
on clk1, i can do that by
1. writing a system task which is called on in every event on clk1
2. writing a system task which is called only on event in clk2 and
registering a call back when there is a event on clk1.

which on is better and why??
thanks in advance.

Reply With Quote