sanketshah Posted January 24, 2013 Report Share Posted January 24, 2013 I am unable to retrieve associative array from config database. Here is what I tried. class sample extends uvm_object; int a; endclass class ex_sample extends uvm_component; typedef bit[3:0] addr; sample s_obj[addr]; function build_phase(uvm_phase phase); super.new(phase); uvm_config_db#(sample)::set(this,"*","s_obj",s_obj); endfunction endclass ERROR:: "formal and actual do not have assignment compatible data types" Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.