I'm trying to understand Backdoor Access within UVM RAL mode example https://www.edaplayground.com/x/jy3U .
In uvm_guide, it wrote that if HDL paths are used, the root HDL paths must be specified in the environment that instantiates the register model.
I implemented reg_model.set_hdl_path_root("tb_top.DUT");
in env.sv
and control_reg.configure(this, null,"control_reg");
in reg_pkg.sv
Then I implemented it to test Backdoor access in base_seq.sv.
//TO BACKDOOR ACCESS
`uvm_info(get_type_name(), "BACKDOOR ACCESS START", UVM_LOW);
reg_model.mod_reg.control_reg.write(status, 32'h9876_5432, UVM_BACKDOOR, .parent(this));
reg_model.mod_reg.control_reg.read(status, read_data, UVM_BACKDOOR, .parent(this));
`uvm_info(get_type_name(), "BACKDOOR ACCESS FINISH", UVM_LOW);
I didn't get any Backdoor operation message between BACKDOOR ACCESS START
and BACKDOOR ACCESS FINISH
.
Could you guide me how I can setup the Backdoor access?