Line 39... |
Line 39... |
//////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////
|
//
|
//
|
// CVS Revision History
|
// CVS Revision History
|
//
|
//
|
// $Log: not supported by cvs2svn $
|
// $Log: not supported by cvs2svn $
|
|
// Revision 1.13 2002/11/13 22:30:58 tadejm
|
|
// Late collision is reported only when not in the full duplex.
|
|
// Sample is taken (for status) as soon as MRxDV is not valid (regardless
|
|
// of the received byte cnt).
|
|
//
|
// Revision 1.12 2002/09/12 14:50:16 mohor
|
// Revision 1.12 2002/09/12 14:50:16 mohor
|
// CarrierSenseLost bug fixed when operating in full duplex mode.
|
// CarrierSenseLost bug fixed when operating in full duplex mode.
|
//
|
//
|
// Revision 1.11 2002/09/04 18:38:03 mohor
|
// Revision 1.11 2002/09/04 18:38:03 mohor
|
// CarrierSenseLost status is not set when working in loopback mode.
|
// CarrierSenseLost status is not set when working in loopback mode.
|
Line 98... |
Line 103... |
|
|
|
|
module eth_macstatus(
|
module eth_macstatus(
|
MRxClk, Reset, ReceivedLengthOK, ReceiveEnd, ReceivedPacketGood, RxCrcError,
|
MRxClk, Reset, ReceivedLengthOK, ReceiveEnd, ReceivedPacketGood, RxCrcError,
|
MRxErr, MRxDV, RxStateSFD, RxStateData, RxStatePreamble, RxStateIdle, Transmitting,
|
MRxErr, MRxDV, RxStateSFD, RxStateData, RxStatePreamble, RxStateIdle, Transmitting,
|
RxByteCnt, RxByteCntEq0, RxByteCntGreat2, RxByteCntMaxFrame, ReceivedPauseFrm,
|
RxByteCnt, RxByteCntEq0, RxByteCntGreat2, RxByteCntMaxFrame,
|
InvalidSymbol, MRxD, LatchedCrcError, Collision, CollValid, RxLateCollision,
|
InvalidSymbol, MRxD, LatchedCrcError, Collision, CollValid, RxLateCollision,
|
r_RecSmall, r_MinFL, r_MaxFL, ShortFrame, DribbleNibble, ReceivedPacketTooBig, r_HugEn,
|
r_RecSmall, r_MinFL, r_MaxFL, ShortFrame, DribbleNibble, ReceivedPacketTooBig, r_HugEn,
|
LoadRxStatus, StartTxDone, StartTxAbort, RetryCnt, RetryCntLatched, MTxClk, MaxCollisionOccured,
|
LoadRxStatus, StartTxDone, StartTxAbort, RetryCnt, RetryCntLatched, MTxClk, MaxCollisionOccured,
|
RetryLimit, LateCollision, LateCollLatched, StartDefer, DeferLatched, TxStartFrm,
|
RetryLimit, LateCollision, LateCollLatched, StartDefer, DeferLatched, TxStartFrm,
|
StatePreamble, StateData, CarrierSense, CarrierSenseLost, TxUsedData, LatchedMRxErr, Loopback,
|
StatePreamble, StateData, CarrierSense, CarrierSenseLost, TxUsedData, LatchedMRxErr, Loopback,
|
Line 127... |
Line 132... |
input Transmitting;
|
input Transmitting;
|
input [15:0] RxByteCnt;
|
input [15:0] RxByteCnt;
|
input RxByteCntEq0;
|
input RxByteCntEq0;
|
input RxByteCntGreat2;
|
input RxByteCntGreat2;
|
input RxByteCntMaxFrame;
|
input RxByteCntMaxFrame;
|
input ReceivedPauseFrm;
|
|
input [3:0] MRxD;
|
input [3:0] MRxD;
|
input Collision;
|
input Collision;
|
input [5:0] CollValid;
|
input [5:0] CollValid;
|
input r_RecSmall;
|
input r_RecSmall;
|
input [15:0] r_MinFL;
|
input [15:0] r_MinFL;
|