Commit 7e633d50 authored by Dimitris Lampridis's avatar Dimitris Lampridis

hdl/sim: fix pending_cpu_notifications() return value

parent 59a2c707
......@@ -147,7 +147,7 @@ class MockTurtleDriver;
endtask // smem_write
function bit pending_cpu_notifications (uint32_t core);
return csr.notify_queue[core].size();
return ( csr.notify_queue[core].size() != 0 );
endfunction // pending_cpu_notification
task get_single_cpu_notification (int core, ref uint32_t val);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment