Line 39... |
Line 39... |
//////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////
|
//
|
//
|
// CVS Revision History
|
// CVS Revision History
|
//
|
//
|
// $Log: not supported by cvs2svn $
|
// $Log: not supported by cvs2svn $
|
|
// Revision 1.39 2002/11/18 17:31:55 mohor
|
|
// wb_rst_i is used for MIIM reset.
|
|
//
|
// Revision 1.38 2002/11/14 18:37:20 mohor
|
// Revision 1.38 2002/11/14 18:37:20 mohor
|
// r_Rst signal does not reset any module any more and is removed from the design.
|
// r_Rst signal does not reset any module any more and is removed from the design.
|
//
|
//
|
// Revision 1.37 2002/11/13 22:25:36 tadejm
|
// Revision 1.37 2002/11/13 22:25:36 tadejm
|
// All modules are reset with wb_rst instead of the r_Rst. Exception is MII module.
|
// All modules are reset with wb_rst instead of the r_Rst. Exception is MII module.
|
Line 587... |
Line 590... |
wire RxCrcError;
|
wire RxCrcError;
|
wire RxStateIdle;
|
wire RxStateIdle;
|
wire RxStatePreamble;
|
wire RxStatePreamble;
|
wire RxStateSFD;
|
wire RxStateSFD;
|
wire [1:0] RxStateData;
|
wire [1:0] RxStateData;
|
|
wire AddressMiss;
|
|
|
|
|
|
|
// Connecting RxEthMAC
|
// Connecting RxEthMAC
|
eth_rxethmac rxethmac1
|
eth_rxethmac rxethmac1
|
Line 603... |
Line 606... |
.RxEndFrm(RxEndFrm), .ByteCnt(RxByteCnt),
|
.RxEndFrm(RxEndFrm), .ByteCnt(RxByteCnt),
|
.ByteCntEq0(RxByteCntEq0), .ByteCntGreat2(RxByteCntGreat2), .ByteCntMaxFrame(RxByteCntMaxFrame),
|
.ByteCntEq0(RxByteCntEq0), .ByteCntGreat2(RxByteCntGreat2), .ByteCntMaxFrame(RxByteCntMaxFrame),
|
.CrcError(RxCrcError), .StateIdle(RxStateIdle), .StatePreamble(RxStatePreamble),
|
.CrcError(RxCrcError), .StateIdle(RxStateIdle), .StatePreamble(RxStatePreamble),
|
.StateSFD(RxStateSFD), .StateData(RxStateData),
|
.StateSFD(RxStateSFD), .StateData(RxStateData),
|
.MAC(r_MAC), .r_Pro(r_Pro), .r_Bro(r_Bro),
|
.MAC(r_MAC), .r_Pro(r_Pro), .r_Bro(r_Bro),
|
.r_HASH0(r_HASH0), .r_HASH1(r_HASH1), .RxAbort(RxAbort)
|
.r_HASH0(r_HASH0), .r_HASH1(r_HASH1), .RxAbort(RxAbort),
|
|
.AddressMiss(AddressMiss)
|
);
|
);
|
|
|
|
|
// MII Carrier Sense Synchronization
|
// MII Carrier Sense Synchronization
|
always @ (posedge mtx_clk_pad_i or posedge wb_rst_i)
|
always @ (posedge mtx_clk_pad_i or posedge wb_rst_i)
|
Line 769... |
Line 773... |
|
|
.InvalidSymbol(InvalidSymbol), .LatchedCrcError(LatchedCrcError), .RxLength(RxByteCnt),
|
.InvalidSymbol(InvalidSymbol), .LatchedCrcError(LatchedCrcError), .RxLength(RxByteCnt),
|
.RxLateCollision(RxLateCollision), .ShortFrame(ShortFrame), .DribbleNibble(DribbleNibble),
|
.RxLateCollision(RxLateCollision), .ShortFrame(ShortFrame), .DribbleNibble(DribbleNibble),
|
.ReceivedPacketTooBig(ReceivedPacketTooBig), .LoadRxStatus(LoadRxStatus), .RetryCntLatched(RetryCntLatched),
|
.ReceivedPacketTooBig(ReceivedPacketTooBig), .LoadRxStatus(LoadRxStatus), .RetryCntLatched(RetryCntLatched),
|
.RetryLimit(RetryLimit), .LateCollLatched(LateCollLatched), .DeferLatched(DeferLatched),
|
.RetryLimit(RetryLimit), .LateCollLatched(LateCollLatched), .DeferLatched(DeferLatched),
|
.CarrierSenseLost(CarrierSenseLost),.ReceivedPacketGood(ReceivedPacketGood)
|
.CarrierSenseLost(CarrierSenseLost),.ReceivedPacketGood(ReceivedPacketGood), .AddressMiss(AddressMiss)
|
|
|
`ifdef ETH_BIST
|
`ifdef ETH_BIST
|
,
|
,
|
.scanb_rst (scanb_rst),
|
.scanb_rst (scanb_rst),
|
.scanb_clk (scanb_clk),
|
.scanb_clk (scanb_clk),
|