Error near "cfg": syntax error, unexpected IDENTIFIER, expecting ')'. Class or package 'mgc_axi4_v1_0_pkg' not found

In reply to Sangeetha N:

As the first error message states, work on correcting the first error before looking at anything else.