tpoikela / uvm-python

UVM 1.2 port to Python
Apache License 2.0
235 stars 45 forks source link

uvm_reg_hw_reset_sequence resolve status error on UVM_NOT_OK #42

Closed SikoVerilog closed 1 year ago

SikoVerilog commented 1 year ago

This sequence gives python Attribute error on UVM_NOT_OK status means slave error in axi4 transaction error is also attached bellow. It was because we tried to get name of the status variable without converting into enum now its fixed and running with out any python AttributeError.

"status.name(), regs[i].get_full_name(), maps[d].get_full_name())) AttributeError: 'int' object has no attribute 'name' "