In reply to chr_sue:
uvm_reg_block adds each block to the resource db automatically in configure function see code below:
// configure
function void uvm_reg_block::configure(uvm_reg_block parent=null, string hdl_path=“”);
this.parent = parent;
if (parent != null)
this.parent.add_block(this);
add_hdl_path(hdl_path);
uvm_resource_db#(uvm_reg_block)::set(“uvm_reg::*”, get_full_name(), this);
endfunction
When block is placed inside another block, get_full_name() function returns “block.subblock” without preceding .
This causes the checker in resource_db to trigger, the checker that verify that field name doesn’t contain meta character.
Any idea how to overcome this? in the register block.
Any idea why UVM-1.2 has this checker?