# Hidden arguments when calling sub-sequence's task

**URL:** <https://verificationacademy.com/forums/t/hidden-arguments-when-calling-sub-sequences-task/34194>\
**Category:** UVM\
**Tags:** UVM, uvm\_sequence, Calling-Sequence-inside-a-sequence, hierarchical-task-call\
**Created:** [March 14, 2018, 4:10am UTC](https://verificationacademy.com/forums/t/hidden-arguments-when-calling-sub-sequences-task/34194 "2018-03-14T04:10:52Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![peterjin](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/p/f05b48/32.png) [@peterjin](https://verificationacademy.com/forums/u/peterjin)\
**Post date:** [March 14, 2018, 8:35pm UTC](https://verificationacademy.com/forums/t/hidden-arguments-when-calling-sub-sequences-task/34194/5 "2018-03-14T20:35:52Z")

</div>

_In reply to [dave\_59](https://verificationacademy.com/forums/t/hidden-arguments-when-calling-sub-sequences-task/34194/4):_

Hi Dave,

Thanks for your explanation!

However, I am still having the following confusions,  
1)

> The this.cpu\_seq argument is an implicit this argument for non-static methods

I have gone through the link you provided, but I wonder since I have created the object cpu\_seq, why my calling to cpu\_seq.cpu\_write is still considered as

> Accessing non-static members (see 8.9) or virtual methods (see 8.20) via a null object handle

?

Besides, my sequence implementation followed the example provided in [UVM Cookbook Sequences/Hierarchy](https://verificationacademy.com/cookbook/sequences/hierarchy)  
I wonder does the example write.write used in Worker Sequence on that page also runs to the potential danger of accessing non-static members via null object handle?

1. 

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

In my task calling, I think there is no switch back to positional argument passing, so I wonder why I am having the argument passing error?

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

```

Thanks for your help!

Hao

---

_[View the full topic](https://verificationacademy.com/forums/t/hidden-arguments-when-calling-sub-sequences-task/34194)._
