Invalid file type error in Questasim

Hello All,

Can someone help how to resolve Invalid Type “File-Name”. Please check the type of the variable.
Please guide.

Regards
Sunil

In reply to susharma:

You need to post the code that is causing the issue along with the exact error message. What you have posted isn’t sufficient to provide any assistance.

In reply to cgales:

Hello Cgales,

This is the error in Questasim 10.2c:

** Error: UFS_HOST/../UFS_HOST/class/compliance_power_mode_change_vseq.sv(13): Invalid type 'reset_sequencer'. Please check the type of the variable 'rst_seqr'.
** Error: UFS_HOST/../UFS_HOST/class/compliance_power_mode_change_vseq.sv(18): Invalid type 'reset_sequence'. Please check the type of the variable 'rst_seq'.

The environment is complex so it is not possible to post the code. Can we figure out with these error.
Please guide.

Regards
Sunil

In reply to susharma:

The errors you posted in your follow-up response are totally different than what is mentioned in the thread topic.

The errors posted above are due to compiler not recognizing the types reset_sequencer and reset_sequence. This is most likely caused by not importing the package that contains the declaration of the two classes.

In reply to cgales:

Thanks Cgales.

Regards
Sunil.