Trying debug a class object in env

In reply to aliyar:

The error is token ‘acc_monitor’ should be a valid type. Please declare it. You can try to add acc_monitor typedef in acc_env.sv like below or make sure acc_monitor.sv is included before acc_env.sv


typedef class acc_monitor;
class acc_env;
...