In reply to cashah85:
I am getting following error :
…
…
Parsing included file ‘env.sv’.
Back to file ‘package.sv’.
Parsing included file ‘test1.sv’.
Back to file ‘package.sv’.
Error-[SE] Syntax error
Following verilog source has syntax error :
“package.sv”, 30: token is ‘endpackage’
endpackage : pkg
^
System verilog keyword ‘endpackage’ is not expected to be used in this
context.
All my “included” files are inside ‘package.sv’. ‘test1.sv’ is the last file in ‘package.sv’.