In reply to dave_59:
Hi Dave,
The run task in your code is invoked in the top module. Shall I know the reason ?