Line 39... |
Line 39... |
//////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////
|
//
|
//
|
// CVS Revision History
|
// CVS Revision History
|
//
|
//
|
// $Log: not supported by cvs2svn $
|
// $Log: not supported by cvs2svn $
|
|
// Revision 1.6 2001/10/19 11:24:29 mohor
|
|
// 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
|
// simulation of the few cores in a one joined project.
|
// simulation of the few cores in a one joined project.
|
//
|
//
|
// Revision 1.4 2001/10/18 12:07:11 mohor
|
// Revision 1.4 2001/10/18 12:07:11 mohor
|
Line 216... |
Line 219... |
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_RxBDAddress; // Receive buffer descriptor base address
|
wire [7:0] r_RxBDNum; // 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_ADR_Wr; // Write enable that writes RX_BD_ADR to the registers.
|
wire RX_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 278... |
Line 281... |
.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_RxBDAddress(r_RxBDAddress), .RX_BD_ADR_Wr(RX_BD_ADR_Wr), .int_o(int_o)
|
.r_RxBDNum(r_RxBDNum), .RX_BD_NUM_Wr(RX_BD_NUM_Wr), .int_o(int_o)
|
);
|
);
|
|
|
|
|
|
|
wire [7:0] RxData;
|
wire [7:0] RxData;
|
Line 503... |
Line 506... |
.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_RxBDAddress(r_RxBDAddress),
|
.r_TxEn(r_TxEn), .r_RxEn(r_RxEn), .r_RxBDNum(r_RxBDNum),
|
.r_DmaEn(r_DmaEn), .RX_BD_ADR_Wr(RX_BD_ADR_Wr),
|
.r_DmaEn(r_DmaEn), .RX_BD_NUM_Wr(RX_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),
|