In reply to dave_59:
The first error message indicates of “not finding the package (mgc_axi4_v1_0_pkg).”
- I tried including the correct path name for this file. It did not work out though.
- I tried copying this package from source file to project file (where I am simulating the code).
The error got fixed while I did the 2nd method. Thanks, Dave sir!