In reply to sai_pra99:
You need to import the package you compile.
See SystemVerilog Coding Guidelines: Package import versus `include - Verification Horizons
In reply to sai_pra99:
You need to import the package you compile.
See SystemVerilog Coding Guidelines: Package import versus `include - Verification Horizons