OpenCores

Subversion Repositories ethmac

[/] [ethmac/] [trunk/] [rtl/] [verilog/] [eth_txethmac.v] - Diff between revs 352 and 353

Show entire file | Details | Blame | View Log

Rev 352 Rev 353
Line 337... Line 337...
      if(ExcessiveDeferOccured | UnderRun | TooBig | StartTxDone | TxUnderRun
      if(ExcessiveDeferOccured | UnderRun | TooBig | StartTxDone | TxUnderRun
          | StateJam & NibCntEq7 & (~ColWindow | RetryMax))
          | StateJam & NibCntEq7 & (~ColWindow | RetryMax))
        RetryCnt[3:0] <=  4'h0;
        RetryCnt[3:0] <=  4'h0;
      else
      else
      if(StateJam & NibCntEq7 & ColWindow & (RandomEq0 | NoBckof) | StateBackOff & RandomEqByteCnt)
      if(StateJam & NibCntEq7 & ColWindow & (RandomEq0 | NoBckof) | StateBackOff & RandomEqByteCnt)
        RetryCnt[3:0] <=  RetryCnt[3:0] + 1'b1;
        RetryCnt[3:0] <=  RetryCnt[3:0] + 1;
    end
    end
end
end
 
 
 
 
assign RetryMax = RetryCnt[3:0] == MaxRet[3:0];
assign RetryMax = RetryCnt[3:0] == MaxRet[3:0];

powered by: WebSVN 2.1.0

© copyright 1999-2014 OpenCores.org, equivalent to ORSoC AB, all rights reserved. OpenCores®, registered trademark.