Jump to content
Sign in to follow this  
Prawin

UVM_ERROR

Recommended Posts

Hi,

I'm getting following error , can you help me on this.

function void build_phase(uvm_phase phase);
  ac_lpc_agent agent; 
  super.build_phase(phase);
   if ($cast(agent, get_parent()) && agent != null) begin
      vif = agent.vif;
   end
   else begin
     if (!uvm_config_db#(virtual ac_lpc_if)::get(this, "", "vif", vif)) begin          `uvm_fatal("ac_lpc_driver", "No virtual interface specified for this driver instance");
         end
     end
   endfunction

 

ERROR: uvm_test_top.env.driver [ac_lpc_driver] No virtual interface specified for this driver instance.

 

Thanks,

Prawin

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×