OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [orpsocv2/] [rtl/] [verilog/] [ethmac/] [eth_transmitcontrol.v] - Diff between revs 409 and 439

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 409 Rev 439
Line 250... Line 250...
  else
  else
  if(ResetByteCnt)
  if(ResetByteCnt)
    DlyCrcCnt <=  4'h0;
    DlyCrcCnt <=  4'h0;
  else
  else
  if(IncrementDlyCrcCnt)
  if(IncrementDlyCrcCnt)
    DlyCrcCnt <=  DlyCrcCnt + 1'b1;
    DlyCrcCnt <=  DlyCrcCnt + 4'd1;
end
end
 
 
 
 
assign ResetByteCnt = TxReset | (~TxCtrlStartFrm & (TxDoneIn | TxAbortIn));
assign ResetByteCnt = TxReset | (~TxCtrlStartFrm & (TxDoneIn | TxAbortIn));
assign IncrementByteCnt = CtrlMux & (TxCtrlStartFrm & ~TxCtrlStartFrm_q & ~TxUsedDataIn | TxUsedDataIn & ~ControlEnd);
assign IncrementByteCnt = CtrlMux & (TxCtrlStartFrm & ~TxCtrlStartFrm_q & ~TxUsedDataIn | TxUsedDataIn & ~ControlEnd);
Line 269... Line 269...
  else
  else
  if(ResetByteCnt)
  if(ResetByteCnt)
    ByteCnt <=  6'h0;
    ByteCnt <=  6'h0;
  else
  else
  if(IncrementByteCntBy2 & EnableCnt)
  if(IncrementByteCntBy2 & EnableCnt)
    ByteCnt <=  (ByteCnt[5:0] ) + 2'h2;
    ByteCnt <=  (ByteCnt[5:0] ) + 6'd2;
  else
  else
  if(IncrementByteCnt & EnableCnt)
  if(IncrementByteCnt & EnableCnt)
    ByteCnt <=  (ByteCnt[5:0] ) + 1'b1;
    ByteCnt <=  (ByteCnt[5:0] ) + 6'd1;
end
end
 
 
 
 
assign ControlEnd = ByteCnt[5:0] == 6'h22;
assign ControlEnd = ByteCnt[5:0] == 6'h22;
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.