Quantcast
Channel: Cadence Functional Verification Forum
Viewing all articles
Browse latest Browse all 1069

UVM_REG backdoor access

$
0
0

Hi , 

     I am trying to implement register backdoor access with user defined register backdoor by extending uvm_reg_backdoor.

 

        class peri_reg_backdoor extends uvm_reg_backdoor

            virtual task write(uvm_reg_item rw);

      $root.top.DUT.reg = 8'h41;

            endtask  

        endclass 

      when i  am compile this code it is showing error

      illegal location for a hierarchical name (in a package). 

      I want to know what is the overcome for this issue in IUS.

 

Thanks in advance

sagar 


 


Viewing all articles
Browse latest Browse all 1069

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>