When calling uvmc_info (UVMConnect) from SC_METHOD (in SystemC), I get the following:
UVMC Error: Cannot call to an UVM-SV export or imp before UVM has started the RUN phase
followed by the UVM Report.
When called from SC_THREAD, there is no error message.
I would like to use it from either…
at the time of the call, the UVM run phase is in the “executing” state.
In reply to bmorris:
Just a random hit in my mind , actual problem/solution might be different.
Proposal: Try dont_initialize() in the sensitivity list of SC_METHOD.
Try this and let me know if it works,
Regards,
Karandeep
bmorris
3
In reply to karandeepsingh:
All the SC_METHODs already currently have dont_initialize(). Also, the issue occurs when calling uvmc_info from a function call.
I’ve punted and now I use the SC native…
SC_REPORT_INFO_VERB(report_id,“msg”, SC_HIGH);
Anyway when I want to change the verbosity of the SC model I do it separately with:
sc_report_handler::set_verbosity_level(SC_DEBUG);