URL
https://opencores.org/ocsvn/ethmac/ethmac/trunk
Subversion Repositories ethmac
Compare Revisions
- This comparison shows the changes necessary to convert path
/
- from Rev 126 to Rev 125
- ↔ Reverse comparison
Rev 126 → Rev 125
/trunk/rtl/verilog/eth_macstatus.v
41,9 → 41,6
// CVS Revision History |
// |
// $Log: not supported by cvs2svn $ |
// Revision 1.9 2002/04/22 13:51:44 mohor |
// Short frame and ReceivedLengthOK were not detected correctly. |
// |
// Revision 1.8 2002/02/18 10:40:17 mohor |
// Small fixes. |
// |
96,7 → 93,7
r_RecSmall, r_MinFL, r_MaxFL, ShortFrame, DribbleNibble, ReceivedPacketTooBig, r_HugEn, |
LoadRxStatus, StartTxDone, StartTxAbort, RetryCnt, RetryCntLatched, MTxClk, MaxCollisionOccured, |
RetryLimit, LateCollision, LateCollLatched, StartDefer, DeferLatched, TxStartFrm, |
StatePreamble, StateData, CarrierSense, CarrierSenseLost, TxUsedData, LatchedMRxErr |
StatePreamble, StateData, CarrierSense, CarrierSenseLost, TxUsedData |
); |
|
|
156,7 → 153,6
output LateCollLatched; |
output DeferLatched; |
output CarrierSenseLost; |
output LatchedMRxErr; |
|
|
reg ReceiveEnd; |
194,15 → 190,16
if(Reset) |
LatchedMRxErr <=#Tp 1'b0; |
else |
if(~MRxErr & MRxDV & RxStateIdle & ~Transmitting) |
LatchedMRxErr <=#Tp 1'b0; |
else |
if(MRxErr & MRxDV & (RxStatePreamble | RxStateSFD | (|RxStateData) | RxStateIdle & ~Transmitting)) |
LatchedMRxErr <=#Tp 1'b1; |
else |
LatchedMRxErr <=#Tp 1'b0; |
end |
|
|
// ReceivedPacketGood |
assign ReceivedPacketGood = ~LatchedCrcError; |
assign ReceivedPacketGood = ~LatchedCrcError & ~LatchedMRxErr; |
|
|
// ReceivedLengthOK |
239,7 → 236,7
|
|
// Invalid Symbol received during 100Mbps mode |
assign SetInvalidSymbol = MRxDV & MRxErr & MRxD[3:0] == 4'he; |
assign SetInvalidSymbol = MRxDV & MRxErr & ~LatchedMRxErr & MRxD[3:0] == 4'he; |
|
|
// InvalidSymbol |