Jump to content
Sign in to follow this  

System level uvm_reg_map::get_n_bytes() returns 0?

Recommended Posts

Why does uvm_reg_map::get_n_bytes() return 0 if you call it on a system level map?  That is completely useless and tells me nothing about the system.


If on the other hand, I call uvm_reg_map::get_n_bytes() from a lower level map in my register model, then I get the narrowest bus width in the map hierarchy.  That makes sense.  It seems I should get that same value when calling get_n_bytes() on the system level map.  Returning 0 is not useful under any circumstance.


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this