localstaticuvm_regm_reg_registry[string];staticfunctionuvm_regm_get_reg_by_full_name(stringname);if(!m_reg_registry.exists(name))returnnull;returnm_reg_registry[name];endfunction//--------------// Group: Access//--------------// Function: set//// Set the desired value for this register//// Sets the desired value of the fields in the register// to the specified value. Does not actually
localstaticuvm_reg_fieldm_field_registry[string];staticfunctionuvm_reg_fieldm_get_field_by_full_name(stringname);if(!m_field_registry.exists(name))returnnull;returnm_field_registry[name];endfunction//--------------// Group: Access//--------------// Function: set//// Set the desired value for this field//// It sets the desired value of the field to the specified ~value~// modified by the field access policy.
//// If no register is found, returns ~null~.staticfunctionuvm_regget_reg_by_full_name(stringname);returnm_reg_registry[name];endfunction//--------------// Group -- NODOCS -- Access//--------------// @uvm-ieee 1800.2-2020 auto 18.4.4.2externvirtualfunctionvoidset(uvm_reg_data_tvalue,stringfname="",intlineno=0);
//// If no field is found, returns ~null~.staticfunctionuvm_reg_fieldget_field_by_full_name(stringname);returnm_reg_field_registry[name];endfunction//--------------// Group -- NODOCS -- Access//--------------// @uvm-ieee 1800.2-2020 auto 18.5.5.2externvirtualfunctionvoidset(uvm_reg_data_tvalue,stringfname="",intlineno=0);