ibex icon indicating copy to clipboard operation
ibex copied to clipboard

UVM DV: Unsynchronized DUT probe signals

Open tomeroberts opened this issue 6 years ago • 3 comments

In PR #953 I corrected some paths that were causing spurious triggering of internal TB events. Even with that fix, the spurious triggers remain due to glitchy sampling of those signals.

I hacked around it by replacing all instances of wait (signal); with while (!signal) @(posedge clk); but I guess the correct fix is a clocking block.

tomeroberts avatar Jun 15 '20 08:06 tomeroberts

Thanks @tomroberts-lowrisc for filing this issue! You're absolutely right, it's better in general to synchronize interface signal sampling with clocking blocks. I'll work on this when I have some time and get a PR open to add clocking blocks in the Ibex testbench.

udinator avatar Jun 15 '20 17:06 udinator

#978 has been merged, which synchronizes all Ibex interfaces with clocking blocks. @tomroberts-lowrisc do you think you could rerun the failing seeds with the top-of-tree? From what you mentioned, there might be a possibility that adding clocking blocks is only a partial solution to the failures you encountered.

udinator avatar Jun 22 '20 19:06 udinator

Hi @udinator - I reran at my end. All tests passing except debug_branch_jump and debug_single_step, which I think are due to unrelated issues.

tomeroberts avatar Jun 23 '20 12:06 tomeroberts