-
Notifications
You must be signed in to change notification settings - Fork 0
Description
From Nathan Brewer:
Hello,
On RevD pixie there had been an issue with a particular situation.
We have a reason to attach signals in modules 0,1,2 and 4, skipping 3.
Poll2 in pacman mode
this lead to corrupted data for module 4.
and failed on the slotRead != slotExpected check.
If, however, at the beginning of Poll::ReadFIFO in the "Loop over each module's FIFO" I put a check for the explicit case that nWords[mod]==0 and continue without writing an empty buffer ie. simply:
if (nWords[mod]==0)
continue;
Then it seems to run without error.
In your opinion is this sensible?
(btw. there was a hack in previous versions of poll for this kind of error: ie slotRead = slotExpected before checking, which I think is undesirable. )
If this is sensible I or you can update the git.