目录
2.1 uvm_domain::get_common_domain
2.3 uvm_domain::get_uvm_domain()
0. 引言
通过前面的介绍,run_test最后会调用uvm_phase中的静态方法——m_run_phase,该方法是整个环境运行的核心,按照schedule的顺序执行各个component的build_phase,connect_phase... run_phase...,来运行整个环境。本文着重描述get_common_domain的行为。
1. m_run_phase()
// associated with phase processes related as parents/children
task uvm_phase::m_run_phases();
uvm_root top;
uvm_coreservice_t cs;
cs = uvm_coreservice_t::get();
top = cs.get_root();
// initiate by starting first phase in common domain
begin
uvm_phase ph = uvm_domain::get_common_domain();
void&#