UVM error

In reply to Muthamizh:

You are facing more errors.
See
** Error: ** while parsing file included at …/tvs_apbi2c_env/tvs_apbi2c_env_pkg.sv(33)
What is line 32 in tvs_apbi2c_top.svh
How do you compile your code? Do you have includes in your toplevel module or do you work with packages?
BTW, you should never use the reg data type in SV code. Replace it by logic.