Skip to content

Commit

Permalink
Update first position when reading nonzero length
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-g committed Aug 31, 2015
1 parent cc705b4 commit 7c91576
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,13 +79,13 @@ protected void nextState() {
IF (iLengthReady === true) {
toread.next <== iLength;
rowLengthData.next <== iLength;
firstReadPosition.next <== crtPos;
IF (iLength === 0) {
rowFinishedData.next <== 1;
readEnableData.next <== 0;
readMaskData.next <== 0;
rowLengthData.next <== 0;
cycleCounter.next <== 0;
firstReadPosition.next <== crtPos;
readMaskOutValid.next <== true;
rowsProcessed.next <== rowsProcessed + 1;
//debug.simPrintf("Empty row \n");
Expand Down

0 comments on commit 7c91576

Please sign in to comment.