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

Subversion Repositories ethmac

[/] [ethmac/] [trunk/] [rtl/] [verilog/] [eth_macstatus.v] - Diff between revs 168 and 242

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

Rev 168 Rev 242
Line 39... Line 39...
//////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////
//
//
// CVS Revision History
// CVS Revision History
//
//
// $Log: not supported by cvs2svn $
// $Log: not supported by cvs2svn $
 
// Revision 1.12  2002/09/12 14:50:16  mohor
 
// 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.
//
//
// Revision 1.10  2002/07/25 18:17:46  mohor
// Revision 1.10  2002/07/25 18:17:46  mohor
// InvalidSymbol generation changed.
// InvalidSymbol generation changed.
Line 220... Line 223...
 
 
 
 
 
 
 
 
// Time to take a sample
// Time to take a sample
assign TakeSample = |RxStateData     & ~MRxDV & RxByteCntGreat2  |
//assign TakeSample = |RxStateData     & ~MRxDV & RxByteCntGreat2  |
 
assign TakeSample = (|RxStateData)   & (~MRxDV)                    |
                     RxStateData[0]  &  MRxDV & RxByteCntMaxFrame;
                     RxStateData[0]  &  MRxDV & RxByteCntMaxFrame;
 
 
 
 
// LoadRxStatus
// LoadRxStatus
always @ (posedge MRxClk or posedge Reset)
always @ (posedge MRxClk or posedge Reset)
Line 276... Line 280...
    RxLateCollision <=#Tp 1'b0;
    RxLateCollision <=#Tp 1'b0;
  else
  else
  if(LoadRxStatus)
  if(LoadRxStatus)
    RxLateCollision <=#Tp 1'b0;
    RxLateCollision <=#Tp 1'b0;
  else
  else
  if(Collision & (~RxColWindow | r_RecSmall))
  if(Collision & (~r_FullD) & (~RxColWindow | r_RecSmall))
    RxLateCollision <=#Tp 1'b1;
    RxLateCollision <=#Tp 1'b1;
end
end
 
 
// Collision Window
// Collision Window
always @ (posedge MRxClk or posedge Reset)
always @ (posedge MRxClk or posedge Reset)

powered by: WebSVN 2.1.0

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