Line 1... |
Line 1... |
//////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////
|
//// ////
|
//// ////
|
//// eth_txethmac.v ////
|
//// eth_txethmac.v ////
|
//// ////
|
/// ////
|
//// This file is part of the Ethernet IP core project ////
|
//// This file is part of the Ethernet IP core project ////
|
//// http://www.opencores.org/projects/ethmac/ ////
|
//// http://www.opencores.org/projects/ethmac/ ////
|
//// ////
|
//// ////
|
//// Author(s): ////
|
//// Author(s): ////
|
//// - Igor Mohor (igorM@opencores.org) ////
|
//// - Igor Mohor (igorM@opencores.org) ////
|
Line 41... |
Line 41... |
//////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////
|
//
|
//
|
// CVS Revision History
|
// CVS Revision History
|
//
|
//
|
// $Log: not supported by cvs2svn $
|
// $Log: not supported by cvs2svn $
|
|
// Revision 1.5 2002/02/11 09:18:22 mohor
|
|
// Tx status is written back to the BD.
|
|
//
|
// Revision 1.4 2002/01/23 10:28:16 mohor
|
// Revision 1.4 2002/01/23 10:28:16 mohor
|
// Link in the header changed.
|
// Link in the header changed.
|
//
|
//
|
// Revision 1.3 2001/10/19 08:43:51 mohor
|
// Revision 1.3 2001/10/19 08:43:51 mohor
|
// eth_timescale.v changed to timescale.v This is done because of the
|
// eth_timescale.v changed to timescale.v This is done because of the
|
Line 196... |
Line 199... |
|
|
assign UnderRun = StateData[0] & TxUnderRun & ~Collision;
|
assign UnderRun = StateData[0] & TxUnderRun & ~Collision;
|
|
|
assign TooBig = ~Collision & MaxFrame & (StateData[0] & ~TxUnderRun | StateFCS);
|
assign TooBig = ~Collision & MaxFrame & (StateData[0] & ~TxUnderRun | StateFCS);
|
|
|
assign StartTxRetry = StartJam & (ColWindow & ~RetryMax);
|
// assign StartTxRetry = StartJam & (ColWindow & ~RetryMax);
|
|
assign StartTxRetry = StartJam & (ColWindow & ~RetryMax) & ~UnderRun;
|
|
|
assign LateCollision = StartJam & ~ColWindow & ~UnderRun;
|
assign LateCollision = StartJam & ~ColWindow & ~UnderRun;
|
|
|
assign MaxCollisionOccured = StartJam & ColWindow & RetryMax;
|
assign MaxCollisionOccured = StartJam & ColWindow & RetryMax;
|
|
|