Skip to content

Commit

Permalink
Fixed a bug in RIFFA 2.2 for the Classic Xilinx 128-bit interface.
Browse files Browse the repository at this point in the history
Bug caused received 128-bit Request Headers without payload to signal data word valid one cycle early. May not be a final fix. Unlikely to affect current users.
  • Loading branch information
Dustin Richmond committed Jul 21, 2015
1 parent 5be7627 commit e2f3abe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fpga/riffa_hdl/rxr_engine_128.v
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ module rxr_engine_128
assign _wRxrHdrMCP = (_wRxrHdrSF & ~_wRxrHdrEF & (_wRxrHdr[`TLP_TYPE_R] == `TLP_TYPE_REQ)) |
(wRxrHdrMCP & ~wRxrHdrEF);

assign _wRxrHdrStartMask = 4'hf << (_wRxrHdrSF ? _wRxrHdrDataSoff[1:0] : 0);
assign _wRxrHdrStartMask = {4{_wRxrHdr[`TLP_PAYBIT_I]}} << (_wRxrHdrSF ? _wRxrHdrDataSoff[1:0] : 0);

assign wRxrDataWordEnable = wRxrHdrEndMask & wRxrHdrStartMask & {4{wRxrDataValid}};
assign wRxrDataValid = wRxrHdrSCP | wRxrHdrMCP;
Expand Down

0 comments on commit e2f3abe

Please sign in to comment.