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

Subversion Repositories ethmac

[/] [ethmac/] [branches/] [unneback/] [rtl/] [verilog/] [eth_macstatus.v] - Diff between revs 261 and 276

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

Rev 261 Rev 276
Line 39... Line 39...
//////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////
//
//
// CVS Revision History
// CVS Revision History
//
//
// $Log: not supported by cvs2svn $
// $Log: not supported by cvs2svn $
 
// Revision 1.14  2002/11/22 01:57:06  mohor
 
// Rx Flow control fixed. CF flag added to the RX buffer descriptor. RxAbort
 
// synchronized.
 
//
// Revision 1.13  2002/11/13 22:30:58  tadejm
// Revision 1.13  2002/11/13 22:30:58  tadejm
// Late collision is reported only when not in the full duplex.
// Late collision is reported only when not in the full duplex.
// Sample is taken (for status) as soon as MRxDV is not valid (regardless
// Sample is taken (for status) as soon as MRxDV is not valid (regardless
// of the received byte cnt).
// of the received byte cnt).
//
//
Line 107... Line 111...
                      MRxErr, MRxDV, RxStateSFD, RxStateData, RxStatePreamble, RxStateIdle, Transmitting,
                      MRxErr, MRxDV, RxStateSFD, RxStateData, RxStatePreamble, RxStateIdle, Transmitting,
                      RxByteCnt, RxByteCntEq0, RxByteCntGreat2, RxByteCntMaxFrame,
                      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, DeferIndication, DeferLatched, TxStartFrm,
                      StatePreamble, StateData, CarrierSense, CarrierSenseLost, TxUsedData, LatchedMRxErr, Loopback,
                      StatePreamble, StateData, CarrierSense, CarrierSenseLost, TxUsedData, LatchedMRxErr, Loopback,
                      r_FullD
                      r_FullD
                    );
                    );
 
 
 
 
Line 145... Line 149...
input         StartTxAbort;
input         StartTxAbort;
input   [3:0] RetryCnt;
input   [3:0] RetryCnt;
input         MTxClk;
input         MTxClk;
input         MaxCollisionOccured;
input         MaxCollisionOccured;
input         LateCollision;
input         LateCollision;
input         StartDefer;
input         DeferIndication;
input         TxStartFrm;
input         TxStartFrm;
input         StatePreamble;
input         StatePreamble;
input   [1:0] StateData;
input   [1:0] StateData;
input         CarrierSense;
input         CarrierSense;
input         TxUsedData;
input         TxUsedData;
Line 387... Line 391...
always @ (posedge MTxClk or posedge Reset)
always @ (posedge MTxClk or posedge Reset)
begin
begin
  if(Reset)
  if(Reset)
    DeferLatched <=#Tp 1'b0;
    DeferLatched <=#Tp 1'b0;
  else
  else
  if(StartDefer & TxUsedData)
  if(DeferIndication & TxUsedData)
    DeferLatched <=#Tp 1'b1;
    DeferLatched <=#Tp 1'b1;
  else
  else
  if(TxStartFrm)
  if(TxStartFrm)
    DeferLatched <=#Tp 1'b0;
    DeferLatched <=#Tp 1'b0;
end
end

powered by: WebSVN 2.1.0

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