Skip to content

[dv] Fail more cleanly on a time-out when sending TL transaction#29314

Closed
rswarbrick wants to merge 1 commit intolowRISC:masterfrom
rswarbrick:tl-timeout
Closed

[dv] Fail more cleanly on a time-out when sending TL transaction#29314
rswarbrick wants to merge 1 commit intolowRISC:masterfrom
rswarbrick:tl-timeout

Conversation

@rswarbrick
Copy link
Contributor

The existing code (from d6eff63) was sort of ok and avoided timeouts if you sent lots of transactions. (Good!) Unfortunately, I hadn't noticed that you would end up dereferencing a null pointer if there was a genuine timeout.

Fix that and fail with more informative error than "null pointer dereference".

The existing code (from d6eff63) was sort of ok and avoided
timeouts if you sent lots of transactions. (Good!) Unfortunately, I
hadn't noticed that you would end up dereferencing a null pointer if
there was a genuine timeout.

Fix that and fail with more informative error than "null pointer
dereference".

Signed-off-by: Rupert Swarbrick <rswarbrick@lowrisc.org>
@rswarbrick rswarbrick requested a review from a team as a code owner February 15, 2026 18:16
@rswarbrick rswarbrick added Component:DV DV issue: testbench, test case, etc. Type:Bug Bugs labels Feb 15, 2026
Copy link
Contributor

@elliotb-lowrisc elliotb-lowrisc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One inline question

@rswarbrick
Copy link
Contributor Author

... well that's embarrassing. A different commit (b735ae8) landed just over a week ago, which does almost exactly the same thing.

What's worse, that commit was also written by me, and I only realised when rebasing this PR.

I think Rupert needs to improve his memory...

@rswarbrick rswarbrick closed this Mar 9, 2026
@rswarbrick rswarbrick deleted the tl-timeout branch March 9, 2026 17:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Component:DV DV issue: testbench, test case, etc. Type:Bug Bugs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants