1functionvoid uvm_reg_map::set_base_addr(uvm_reg_addr_t offset);2if(m_parent_map !=null)begin3m_parent_map.set_submap_offset(this, offset);4end5elsebegin6m_base_addr =offset;7if(m_parent.is_locked())begin8uvm_reg_map top_map =get_root_map();9top_map.Xinit_address_mapX();10...
local uvm_reg_transaction_order_policy policy; extern/*local*/functionvoid Xinit_address_mapX(); static local uvm_reg_map m_backdoor;//Function: backdoor//Return the backdoor pseudo-map singleton///This pseudo-map is used to specify or configure the backdoor//instead of a real address ma...
开发产品的时候,我们每天都会面对各种各样、没完没了的需求,有的来自外部用户的反馈,有的来自内部团队...
Overview This script builds the UVM register model based on pre-defined address map in markdown (md) style, along with its example environment. Usage $ ruby regModel.rb AddrMap_File Output_File Sample Address Map Address Map Activity
function new(stringname="uvm_reg_map") Create a new instance configure function void configure(uvm_reg_blockparent, uvm_reg_addr_tbase_addr, intunsignedn_bytes, uvm_endianness_eendian, bitbyte_addressing=1) Instance-specific configuration
// Declaration uvm_reg_map maps[$]; uvm_reg regs[$]; uvm_status_e status; // Getting number of maps associated with block handle blk.get_maps(maps); foreach(maps[d]) begin regs.delete(); // Getting associated total registers with map maps[d].get_registers(regs); foreach(regs[k...