What should we do when this error strikes up? While compiling all files in Questa sim simulator tool, the following error came. What am I supposed to do?
# ** Error: ** while parsing file included at top_pkg.sv(23)
# ** at top_example_vseq.svh(32): Extern task body declared in top_example_vseq but out-of-body declaration must be in the same scope as the class ('').
What does this mean by?
string name = "top_example_vseq"
task top_example_vseq :: body;
config_t seq0 = config_t :: type_id :: create("config_t");