Jump to content

Chethan M

Members
  • Content Count

    1
  • Joined

  • Last visited

  1. Hi, I am trying to redirect report messages of all the components into a log file as shown below. 1. In top_test.h: UVM_FILE default_report; std::unique_ptr<std::ofstream> log_file; 2. In top_test.cpp: (At the end of build_phase, after instantiating top_env ) auto m_uvm_root = uvm_root::get(); m_uvm_root->set_report_severity_action_hier(UVM_INFO, UVM_DISPLAY | UVM_LOG); m_uvm_root->set_report_severity_action_hier(UVM_WARNING, UVM_DISPLAY | UVM_COUNT | UVM_LOG); m_uvm_root->set_report_sever
×
×
  • Create New...