uvm環境工作流程主要包含以下幾個步驟:
- module test_top
module test 模板
module test_top;
...
initial begin
run_test();
end
endmodule
uvm 環境是在 module 中通過調用 run_test()<UVM 全局 task>,創建 uvm_root
-
uvm testbench 啟動-根據 UVM_TESTNAME 創建 test case
-
執行 test 和 它們各自的 components( env,agent,scoreboard... ),以及各個 phase( build_phase,connect_phase,... ,run_phase )
-
在所有 phase 運行結束后,結束仿真