Closed kazt81 closed 2 years ago
I've confirmed if this line is moved after the while
loop then this issue isn't observed:
https://github.com/taichi-ishitani/tvip-axi/blob/0deaa6f9e28dae65d84de73bf1c23e6709b0883b/src/tvip_axi_slave_driver.svh#L64
Hi @kazt81 , Thank you for reporting this error. Can you change tvip_axi_slave_driver.svh: line 66 like below and try again?
if ((item.item != null) && (!item.item.ended())) begin
I have also committed the fix for this error. https://github.com/taichi-ishitani/tvip-axi/commit/e2d29ef857fe73a8ec33747ad25e6717951e25ea
How about line 71 that seems to require non-NULL checking?
How about line 71 that seems to require non-NULL checking?
In this case, delay_queue[id].try_get(item)
should return 0 so I think null pointer check is not needed.
https://github.com/taichi-ishitani/tvip-axi/blob/0deaa6f9e28dae65d84de73bf1c23e6709b0883b/src/tvip_axi_slave_driver.svh#L70
Thanks, I've check there's no issue with the latest commit.
Thank you for your checking. I've merged the fix for this error. f79a6f74cef595a501985d9decedfbb69e90eb6b
The latest version has another NULL pointer dereference as below: