# UVM Sequence Start method does not recognize by tool

**URL:** <https://verificationacademy.com/forums/t/uvm-sequence-start-method-does-not-recognize-by-tool/36420>\
**Category:** UVM\
**Tags:** UVM, Start-Sequence-Method\
**Created:** [August 17, 2019, 8:26am UTC](https://verificationacademy.com/forums/t/uvm-sequence-start-method-does-not-recognize-by-tool/36420 "2019-08-17T08:26:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![NPat](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/n/7993a0/32.png) [@NPat](https://verificationacademy.com/forums/u/NPat)\
**Post date:** [August 17, 2019, 8:26am UTC](https://verificationacademy.com/forums/t/uvm-sequence-start-method-does-not-recognize-by-tool/36420/1 "2019-08-17T08:26:52Z")

</div>

Hello,

I have created a sequence and I am trying to start a sequence but keep getting following error. Not sure what exactly I am missing:

```verilog
   cfg_seq_h.start(i_tb_env.vsqr.m_apb_seqr);

    cfg_seq_h.start(i_tb_env.vsqr.m_apb_seqr);
                  |
xmvlog: *E,NOTTXX (/tb//i_tb/tests/block/block_base_test.svh,39|22): Expecting a task name [10.2.2(IEEE)].

```

Please help.

Regards,  
Nimesh

---

<div class="post-metadata">

**Author:** ![dave\_59](https://verificationacademy.com/forums/user_avatar/verificationacademy.com/dave_59/32/4499_2.png) [@dave\_59](https://verificationacademy.com/forums/u/dave_59)\
**Post date:** [August 17, 2019, 3:03pm UTC](https://verificationacademy.com/forums/t/uvm-sequence-start-method-does-not-recognize-by-tool/36420/2 "2019-08-17T15:03:09Z")

</div>

_In reply to [NPat](https://verificationacademy.com/forums/t/uvm-sequence-start-method-does-not-recognize-by-tool/36420):_

Syntax errors usually require looking at the code surrounding the problem.

---

<div class="post-metadata">

**Author:** ![NPat](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/n/7993a0/32.png) [@NPat](https://verificationacademy.com/forums/u/NPat)\
**Post date:** [August 17, 2019, 5:59pm UTC](https://verificationacademy.com/forums/t/uvm-sequence-start-method-does-not-recognize-by-tool/36420/3 "2019-08-17T17:59:21Z")

</div>

_In reply to [dave\_59](https://verificationacademy.com/forums/t/uvm-sequence-start-method-does-not-recognize-by-tool/36420/2):_

Hi Dave, If I comment that particular line, test moves forward. So I do not see any surrounding error. Also, to keep it simple, I have removed everything from test and same issue.

```verilog
  task main_phase(uvm_phase phase);
    //super.main_phase(phase);
    phase.raise_objection(this);

    `uvm_info(get_full_name(), "Starting main phase!!!", UVM_NONE)
    cfg_seq_h = config_seq::type_id::create("cfg_seq_h", this);      
    cfg_core_seq = cfg_core_seq::type_id::create("cfg_core_seq", this);      

    if(!cfg_core_seq.randomize() with {start_tmr == 0;}) uvm_report_error(get_name(), "cfg_core_seq Randomization Failed..!!");
    cfg_core_seq.start(i_tb_env.vsqr.m_apb_seqr);

    if(!cfg_seq_h.randomize()) 
      uvm_report_error(get_name(), "Config Seq Randomization Failed..!!");

    cfg_seq_h.start(i_tb_env.vsqr.m_apb_seqr);

    `uvm_info(get_full_name(), "Ending main phase!!!", UVM_NONE)
    phase.drop_objection(this);      
  endtask // main_phase

```

In above I code, I have 2 sequences. 1 cfg\_seq\_h (which is creating problem) and one cfg\_core\_seq. Both are derived from same base class. I do not see any issue with cfg\_core\_seq.start. Compiler stuck @ cfg\_seq\_h.start.

---

<div class="post-metadata">

**Author:** ![NPat](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/n/7993a0/32.png) [@NPat](https://verificationacademy.com/forums/u/NPat)\
**Post date:** [August 17, 2019, 7:07pm UTC](https://verificationacademy.com/forums/t/uvm-sequence-start-method-does-not-recognize-by-tool/36420/4 "2019-08-17T19:07:38Z")

</div>

_In reply to [NPat](https://verificationacademy.com/forums/t/uvm-sequence-start-method-does-not-recognize-by-tool/36420/3):_

Damn…!! Spent couple of hours and finally realized that I have variable named ‘start’ in class itself, which conflict with start method call…!! Thank you Dave for your time.
