SeanChou Posted July 10, 2012 Report Share Posted July 10, 2012 I was told there is a missing ";" in src/reg/uvm_reg_field.svh line 1505 today. please be aware and thanks! `ifdef UVM_REG_NO_INDIVIDUAL_FIELD_ACCESS rw.element_kind = UVM_REG; rw.element = m_parent; rw.value = value_adjust; m_parent.do_write(rw) // line 1505, missing ";" here. `else Quote Link to comment Share on other sites More sharing options...
SeanChou Posted July 10, 2012 Author Report Share Posted July 10, 2012 Another problem line1504 should be: // rw.value = value_adjust ; rw.value[0] = value_adjust ; rw.value is a dynamic array there. same problem in 1614. Quote Link to comment Share on other sites More sharing options...
SeanChou Posted July 10, 2012 Author Report Share Posted July 10, 2012 The reason why this user define UVM_REG_NO_INDIVIDUAL_FIELD_ACCESS is he want to filter the following warning. if (!m_individually_accessible) begin `uvm_warning("RegModel", {"Individual field access not available for field '", get_full_name(), "'. Accessing complete register instead."}) return 0; end However, is that normal to have a lot of wanring in this kind in log? do you suggest to filter it by uvm_report_catcher in default? Quote Link to comment Share on other sites More sharing options...
janick Posted July 10, 2012 Report Share Posted July 10, 2012 The first issue has already been reported: http://www.eda.org/svdb/view.php?id=4158 The second has already been fixed in the latest release. The catcher would be a better solution than disabling field-access for those field that are individually accessible. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.