Hidden arguments when calling sub-sequence's task

In reply to cuonghl:

In reply to peterjin:
Please try following code:


cpu_seq.cpu_write(.addr(30'h3552c000),.data('h3),,.parent(this),,,.self_start(1),.seqr(cpu_msqr));

You should leave empty position for those arguments you don’t use: bBypassShadow, vl, no_disp.
And bBypassShadow should have default value when you don’t use it.

This is incorrect information. You cannot leave an empty position for arguments with no default value. bBypassShadow is the argument you did not pass, nor has a default value.

You are allowed to mix positional arguments with name binding arguments, but once you switch to name binding, you cannot switch back to positional.

The this.cpu_seq argument is an implicit this argument for non-static methods (See this link for an explanation). I’m surprised your tool added it to your error message as well as not print the missing argument.