URL
https://opencores.org/ocsvn/ethmac/ethmac/trunk
[/] [ethmac/] [tags/] [rel_20/] [rtl/] [verilog/] [eth_macstatus.v] - Diff between revs 43 and 64
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 43 |
Rev 64 |
Line 39... |
Line 39... |
//////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////
|
//
|
//
|
// CVS Revision History
|
// CVS Revision History
|
//
|
//
|
// $Log: not supported by cvs2svn $
|
// $Log: not supported by cvs2svn $
|
|
// Revision 1.6 2002/02/11 09:18:21 mohor
|
|
// Tx status is written back to the BD.
|
|
//
|
// Revision 1.5 2002/02/08 16:21:54 mohor
|
// Revision 1.5 2002/02/08 16:21:54 mohor
|
// Rx status is written back to the BD.
|
// Rx 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.
|
Line 372... |
Line 375... |
always @ (posedge MTxClk or posedge Reset)
|
always @ (posedge MTxClk or posedge Reset)
|
begin
|
begin
|
if(Reset)
|
if(Reset)
|
CarrierSenseLost <=#Tp 1'b0;
|
CarrierSenseLost <=#Tp 1'b0;
|
else
|
else
|
if((StatePreamble | (|StateData)) & ~CarrierSense)
|
if((StatePreamble | (|StateData)) & ~CarrierSense & ~Collision)
|
CarrierSenseLost <=#Tp 1'b1;
|
CarrierSenseLost <=#Tp 1'b1;
|
else
|
else
|
if(TxStartFrm)
|
if(TxStartFrm)
|
CarrierSenseLost <=#Tp 1'b0;
|
CarrierSenseLost <=#Tp 1'b0;
|
end
|
end
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.