Quantcast
Channel: UVM Forums RSS Feed
Viewing all articles
Browse latest Browse all 756

null pointer access in uvm_reg::Xcheck_accessX line 2624

$
0
0

I added a new register to a register block, but didn't add it to the map. When I try to read it in my test I get a null pointer access in:

 

uvm-1.2c/src/reg/uvm_reg.svh, line 2624

 

The bug is that get_local_map returns a null pointer and rw.map is null because it wasn't specified in the read method. But the uvm_error macro references rw.map.get_full_name() when rw.map is null.

 


Viewing all articles
Browse latest Browse all 756

Trending Articles