** Error: /vobs/ss_restart_vseq.sv(714): 'pass_ssr_vseq' is not a task name

Getting this error in MTI run for the below code but not seeing this issue in VCS run.

class ss_restart_vseq  extends rscc_base_vseq;
//---
     begin
        pass_ssr_vseq("pass1");
      end
endclass

class rscc_base_vseq  extends pass_base_vseq;
//---
extern task pass_ssr_vseq(string ss_restart="pass1");
//---
endclass


task rscc_base_vseq::pass_ssr_vseq(string ss_restart="pass1");
  bit [31:0] rstatus = 0;
//---
//---
endtask//pass_ssr_vseq

Is the code all in the same package, in the same file, in the same order, as shown in your post? It will not compile in any tool in this order.

Thanks dave for the reply.
Each classes are present in separate files.
Issue was with the latest mti tool version, with the old tool version it got pass.


Pankaj

You are not showing a complete enough example to reproduce.

It works for me if the class ss_restart_vseq gets compiled last.