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

Subversion Repositories ethmac

[/] [ethmac/] [branches/] [unneback/] [rtl/] [verilog/] [eth_txethmac.v] - Diff between revs 37 and 43

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

Rev 37 Rev 43
Line 41... Line 41...
//////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////
//
//
// CVS Revision History
// CVS Revision History
//
//
// $Log: not supported by cvs2svn $
// $Log: not supported by cvs2svn $
 
// Revision 1.4  2002/01/23 10:28:16  mohor
 
// Link in the header changed.
 
//
// Revision 1.3  2001/10/19 08:43:51  mohor
// Revision 1.3  2001/10/19 08:43:51  mohor
// eth_timescale.v changed to timescale.v This is done because of the
// eth_timescale.v changed to timescale.v This is done because of the
// simulation of the few cores in a one joined project.
// simulation of the few cores in a one joined project.
//
//
// Revision 1.2  2001/09/11 14:17:00  mohor
// Revision 1.2  2001/09/11 14:17:00  mohor
Line 81... Line 84...
 
 
module eth_txethmac (MTxClk, Reset, TxStartFrm, TxEndFrm, TxUnderRun, TxData, CarrierSense,
module eth_txethmac (MTxClk, Reset, TxStartFrm, TxEndFrm, TxUnderRun, TxData, CarrierSense,
                     Collision, Pad, CrcEn, FullD, HugEn, DlyCrcEn, MinFL, MaxFL, IPGT,
                     Collision, Pad, CrcEn, FullD, HugEn, DlyCrcEn, MinFL, MaxFL, IPGT,
                     IPGR1, IPGR2, CollValid, MaxRet, NoBckof, ExDfrEn,
                     IPGR1, IPGR2, CollValid, MaxRet, NoBckof, ExDfrEn,
                     MTxD, MTxEn, MTxErr, TxDone, TxRetry, TxAbort, TxUsedData, WillTransmit,
                     MTxD, MTxEn, MTxErr, TxDone, TxRetry, TxAbort, TxUsedData, WillTransmit,
                     ResetCollision
                     ResetCollision, RetryCnt, StartTxDone, StartTxAbort, MaxCollisionOccured,
 
                     LateCollision, StartDefer, StatePreamble, StateData
 
 
                    );
                    );
 
 
parameter Tp = 1;
parameter Tp = 1;
 
 
 
 
Line 119... Line 124...
output TxRetry;                 // Transmit packet retry (to RISC)
output TxRetry;                 // Transmit packet retry (to RISC)
output TxAbort;                 // Transmit packet abort (to RISC)
output TxAbort;                 // Transmit packet abort (to RISC)
output TxUsedData;              // Transmit packet used data (to RISC)
output TxUsedData;              // Transmit packet used data (to RISC)
output WillTransmit;            // Will transmit (to RxEthMAC)
output WillTransmit;            // Will transmit (to RxEthMAC)
output ResetCollision;          // Reset Collision (for synchronizing collision)
output ResetCollision;          // Reset Collision (for synchronizing collision)
 
output [3:0] RetryCnt;          // Latched Retry Counter for tx status purposes
 
output StartTxDone;
 
output StartTxAbort;
 
output MaxCollisionOccured;
 
output LateCollision;
 
output StartDefer;
 
output StatePreamble;
 
output [1:0] StateData;
 
 
reg [3:0] MTxD;
reg [3:0] MTxD;
reg MTxEn;
reg MTxEn;
reg MTxErr;
reg MTxErr;
reg TxDone;
reg TxDone;
Line 135... Line 148...
reg [3:0] RetryCnt;
reg [3:0] RetryCnt;
reg [3:0] MTxD_d;
reg [3:0] MTxD_d;
reg StatusLatch;
reg StatusLatch;
reg PacketFinished_q;
reg PacketFinished_q;
reg PacketFinished;
reg PacketFinished;
 
reg [3:0] RetryCntLatched;
 
 
 
 
wire ExcessiveDeferOccured;
wire ExcessiveDeferOccured;
wire StartDefer;
 
wire StartIPG;
wire StartIPG;
wire StartPreamble;
wire StartPreamble;
wire [1:0] StartData;
wire [1:0] StartData;
wire StartFCS;
wire StartFCS;
wire StartJam;
wire StartJam;
wire StartBackoff;
wire StartBackoff;
wire StateDefer;
wire StateDefer;
wire StateIPG;
wire StateIPG;
wire StateIdle;
wire StateIdle;
wire StatePreamble;
 
wire [1:0] StateData;
 
wire StatePAD;
wire StatePAD;
wire StateFCS;
wire StateFCS;
wire StateJam;
wire StateJam;
wire StateBackOff;
wire StateBackOff;
wire StateSFD;
wire StateSFD;
wire StartTxRetry;
wire StartTxRetry;
wire StartTxDone;
 
wire LateCollision;
 
wire MaxCollisionOccured;
 
wire UnderRun;
wire UnderRun;
wire TooBig;
wire TooBig;
wire StartTxAbort;
 
wire [31:0] Crc;
wire [31:0] Crc;
wire CrcError;
wire CrcError;
wire [2:0] DlyCrcCnt;
wire [2:0] DlyCrcCnt;
wire [15:0] NibCnt;
wire [15:0] NibCnt;
wire NibCntEq7;
wire NibCntEq7;

powered by: WebSVN 2.1.0

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