Line 39... |
Line 39... |
//////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////
|
//
|
//
|
// CVS Revision History
|
// CVS Revision History
|
//
|
//
|
// $Log: not supported by cvs2svn $
|
// $Log: not supported by cvs2svn $
|
|
// Revision 1.7 2001/12/05 10:45:59 mohor
|
|
// ETH_RX_BD_ADR register deleted. ETH_RX_BD_NUM is used instead.
|
|
//
|
// Revision 1.6 2001/10/19 11:24:29 mohor
|
// Revision 1.6 2001/10/19 11:24:29 mohor
|
// Number of addresses (wb_adr_i) minimized.
|
// Number of addresses (wb_adr_i) minimized.
|
//
|
//
|
// Revision 1.5 2001/10/19 08:43:51 mohor
|
// Revision 1.5 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
|
Line 219... |
Line 222... |
wire [15:0] r_MaxFL; // Maximum frame length
|
wire [15:0] r_MaxFL; // Maximum frame length
|
|
|
wire [15:0] r_MinFL; // Minimum frame length
|
wire [15:0] r_MinFL; // Minimum frame length
|
wire [47:0] r_MAC; // MAC address
|
wire [47:0] r_MAC; // MAC address
|
|
|
wire [7:0] r_RxBDNum; // Receive buffer descriptor number
|
wire [7:0] r_TxBDNum; // Receive buffer descriptor number
|
wire [6:0] r_IPGT; //
|
wire [6:0] r_IPGT; //
|
wire [6:0] r_IPGR1; //
|
wire [6:0] r_IPGR1; //
|
wire [6:0] r_IPGR2; //
|
wire [6:0] r_IPGR2; //
|
wire [5:0] r_CollValid; //
|
wire [5:0] r_CollValid; //
|
wire r_TPauseRq; // Transmit PAUSE request pulse
|
wire r_TPauseRq; // Transmit PAUSE request pulse
|
|
|
wire [3:0] r_MaxRet; //
|
wire [3:0] r_MaxRet; //
|
wire r_NoBckof; //
|
wire r_NoBckof; //
|
wire r_ExDfrEn; //
|
wire r_ExDfrEn; //
|
wire RX_BD_NUM_Wr; // Write enable that writes RX_BD_NUM to the registers.
|
wire TX_BD_NUM_Wr; // Write enable that writes RX_BD_NUM to the registers.
|
wire TPauseRq; // Sinhronized Tx PAUSE request
|
wire TPauseRq; // Sinhronized Tx PAUSE request
|
wire [15:0] TxPauseTV; // Tx PAUSE timer value
|
wire [15:0] TxPauseTV; // Tx PAUSE timer value
|
wire r_TxFlow; // Tx flow control enable
|
wire r_TxFlow; // Tx flow control enable
|
wire r_IFG; // Minimum interframe gap for incoming packets
|
wire r_IFG; // Minimum interframe gap for incoming packets
|
|
|
Line 281... |
Line 284... |
.r_WCtrlData(r_WCtrlData), .r_RStat(r_RStat), .r_ScanStat(r_ScanStat),
|
.r_WCtrlData(r_WCtrlData), .r_RStat(r_RStat), .r_ScanStat(r_ScanStat),
|
.r_RGAD(r_RGAD), .r_FIAD(r_FIAD), .r_CtrlData(r_CtrlData),
|
.r_RGAD(r_RGAD), .r_FIAD(r_FIAD), .r_CtrlData(r_CtrlData),
|
.NValid_stat(NValid_stat), .Busy_stat(Busy_stat),
|
.NValid_stat(NValid_stat), .Busy_stat(Busy_stat),
|
.LinkFail(LinkFail), .r_MAC(r_MAC), .WCtrlDataStart(WCtrlDataStart),
|
.LinkFail(LinkFail), .r_MAC(r_MAC), .WCtrlDataStart(WCtrlDataStart),
|
.RStatStart(RStatStart), .UpdateMIIRX_DATAReg(UpdateMIIRX_DATAReg), .Prsd(Prsd),
|
.RStatStart(RStatStart), .UpdateMIIRX_DATAReg(UpdateMIIRX_DATAReg), .Prsd(Prsd),
|
.r_RxBDNum(r_RxBDNum), .RX_BD_NUM_Wr(RX_BD_NUM_Wr), .int_o(int_o)
|
.r_TxBDNum(r_TxBDNum), .TX_BD_NUM_Wr(TX_BD_NUM_Wr), .int_o(int_o)
|
);
|
);
|
|
|
|
|
|
|
wire [7:0] RxData;
|
wire [7:0] RxData;
|
Line 506... |
Line 509... |
.TxDone(TxDone), .TPauseRq(TPauseRq), .TxPauseTV(TxPauseTV),
|
.TxDone(TxDone), .TPauseRq(TPauseRq), .TxPauseTV(TxPauseTV),
|
.PerPacketCrcEn(PerPacketCrcEn), .PerPacketPad(PerPacketPad), .WillSendControlFrame(WillSendControlFrame),
|
.PerPacketCrcEn(PerPacketCrcEn), .PerPacketPad(PerPacketPad), .WillSendControlFrame(WillSendControlFrame),
|
.TxCtrlEndFrm(TxCtrlEndFrm),
|
.TxCtrlEndFrm(TxCtrlEndFrm),
|
|
|
// Register
|
// Register
|
.r_TxEn(r_TxEn), .r_RxEn(r_RxEn), .r_RxBDNum(r_RxBDNum),
|
.r_TxEn(r_TxEn), .r_RxEn(r_RxEn), .r_TxBDNum(r_TxBDNum),
|
.r_DmaEn(r_DmaEn), .RX_BD_NUM_Wr(RX_BD_NUM_Wr),
|
.r_DmaEn(r_DmaEn), .TX_BD_NUM_Wr(TX_BD_NUM_Wr),
|
|
|
//RX
|
//RX
|
.MRxClk(mrx_clk_pad_i), .RxData(RxData), .RxValid(RxValid),
|
.MRxClk(mrx_clk_pad_i), .RxData(RxData), .RxValid(RxValid),
|
.RxStartFrm(RxStartFrm), .RxEndFrm(RxEndFrm),
|
.RxStartFrm(RxStartFrm), .RxEndFrm(RxEndFrm),
|
.Busy_IRQ(Busy_IRQ), .RxF_IRQ(RxF_IRQ), .RxB_IRQ(RxB_IRQ),
|
.Busy_IRQ(Busy_IRQ), .RxF_IRQ(RxF_IRQ), .RxB_IRQ(RxB_IRQ),
|