In reply to chaitanyh shirsh:
ELAB2_0036 Unresolved hierarchical reference to “driver.analysis_scoreboard_01.connect./0/” from module “encrypt_agent” (module not found).
what can be the reason of this error?
if my code of agent is as follows:-
class encrypt_agent extends uvm_agent;
encrypt_sequencer sequencer;
encrypt_driver driver;
encrypt_monitor monitor;
aes_subscriber predictor;
`uvm_component_utils(encrypt_agent);
uvm_analysis_port#(encrypt_seq_item) anal_port2;
uvm_analysis_port#(encrypt_seq_item) analysis_scoreboard_01;
function new(string name, uvm_component parent);
super.new(name, parent);
endfunction
function void build_phase(uvm_phase phase);
super.build_phase(phase);
anal_port2 = new("anal_port2", this);
analysis_scoreboard_01 = new("analysis_scoreboard_01",this);
sequencer = encrypt_sequencer::type_id::create("sequencer", this);
driver = encrypt_driver::type_id::create("driver", this);
monitor = encrypt_monitor::type_id::create("monitor", this);
predictor = aes_subscriber::type_id::create("predictor",this);
endfunction
function void connect_phase(uvm_phase phase);
super.connect_phase(phase);
if(is_active == UVM_ACTIVE)
driver.seq_item_port.connect(sequencer.seq_item_export);
monitor.anal_port1.connect(anal_port2);
//driver.analysis_scoreboard.connect(predictor.port_01);
driver.analysis_scoreboard_01.connect(predictor.analysis_export);
$display("connection of the agent to the subscriber");
endfunction
endclass