Transaction driving and responding updates. Tracker updates
This commit is contained in:
10
tb/tb_env.sv
10
tb/tb_env.sv
@@ -20,6 +20,8 @@ class tb_env extends uvm_env;
|
||||
// Set agent types in AXI agents
|
||||
axi_m.set_agent_type(MANAGER);
|
||||
axi_s.set_agent_type(SUBORDINATE);
|
||||
|
||||
set_up_reporting();
|
||||
endfunction
|
||||
|
||||
// ------------------------------------------------------------
|
||||
@@ -33,6 +35,14 @@ class tb_env extends uvm_env;
|
||||
// Add any specific report phase tasks here
|
||||
endfunction
|
||||
|
||||
// ------------------------------------------------------------
|
||||
function void set_up_reporting();
|
||||
uvm_coreservice_t cs = uvm_coreservice_t::get();
|
||||
uvm_tree_printer tree_printer = new();
|
||||
|
||||
cs.set_default_printer(tree_printer);
|
||||
endfunction
|
||||
|
||||
// ------------------------------------------------------------
|
||||
function uvm_sequencer_base get_axi_m_sequencer();
|
||||
return axi_m.sequencer;
|
||||
|
||||
Reference in New Issue
Block a user