|  | 
 
| 
×
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册  在my_agent中声明 my_agent_cfg文件,将agent配置文件以指针形式指进my_agent中
 
 
   
 function void my_agent::build_phase(uvm_phase phase);
 super.build_phase(phase);
 
 if (!uvm_config_db#(i_agent_cfg)::get(this,"","m_i_agent_cfg",m_agent_cfg))
 
 后面在my_agent build phase中直接去config_db get m_agent_cfg,在上层env和module top中都没有set, 请问这个get怎么理解?
 
 
 
 
 
 
 
 
 
 
 
 | 
 |