3. uvm_reg_field的configure函数 (1) configure函数首先对一些成员变量进行赋值; (2) 在调用m_parent(uvm_reg)的add_field函数时,函数内部会检测register是否已经被lock住了; 如果被lock住,该reg中就不能再加入任何field(一般的,当整个register model建立完成后,会在最顶层的uvm_reg_block调用lock相关函数,将整...
function void configure( uvm_reg parent, int unsigned size, int unsigned lsb_pos, string access, bit volatile, uvm_reg_data_t reset, bit has_reset, bit is_rand, bit individually_accessible ) Instance-specific configuration Specify the parent register of this field, its size in bits, the po...