Line 39... |
Line 39... |
//////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////
|
//
|
//
|
// CVS Revision History
|
// CVS Revision History
|
//
|
//
|
// $Log: not supported by cvs2svn $
|
// $Log: not supported by cvs2svn $
|
|
// Revision 1.16 2002/03/09 13:51:20 mohor
|
|
// Status was not latched correctly sometimes. Fixed.
|
|
//
|
// Revision 1.15 2002/03/08 06:56:46 mohor
|
// Revision 1.15 2002/03/08 06:56:46 mohor
|
// Big Endian problem when sending frames fixed.
|
// Big Endian problem when sending frames fixed.
|
//
|
//
|
// Revision 1.14 2002/03/02 19:12:40 mohor
|
// Revision 1.14 2002/03/02 19:12:40 mohor
|
// Byte ordering changed (Big Endian used). casex changed with case because
|
// Byte ordering changed (Big Endian used). casex changed with case because
|
Line 1624... |
Line 1627... |
reg RxAbortSyncb1;
|
reg RxAbortSyncb1;
|
reg RxAbortSyncb2;
|
reg RxAbortSyncb2;
|
|
|
|
|
eth_fifo #(`RX_FIFO_DATA_WIDTH, `RX_FIFO_DEPTH, `RX_FIFO_CNT_WIDTH)
|
eth_fifo #(`RX_FIFO_DATA_WIDTH, `RX_FIFO_DEPTH, `RX_FIFO_CNT_WIDTH)
|
rx_fifo (.data_in(RxDataLatched2), .data_out(m_wb_dat_o), .clk(WB_CLK_I),
|
rx_fifo (.data_in(RxDataLatched2), .data_out(m_wb_dat_o),
|
.reset(Reset), .write(WriteRxDataToFifo_wb), .read(MasterWbRX & m_wb_ack_i),
|
.clk(WB_CLK_I), .reset(Reset),
|
.clear(RxAbortSync2), .full(RxBufferFull), .almost_full(RxBufferAlmostFull),
|
.write(WriteRxDataToFifo_wb), .read(MasterWbRX & m_wb_ack_i),
|
.almost_empty(RxBufferAlmostEmpty), .empty(RxBufferEmpty));
|
.clear(RxAbortSync2 | RxStatusWriteLatched), .full(RxBufferFull),
|
|
.almost_full(RxBufferAlmostFull), .almost_empty(RxBufferAlmostEmpty),
|
|
.empty(RxBufferEmpty)
|
|
);
|
|
|
assign WriteRxDataToMemory = ~RxBufferEmpty & (~MasterWbRX | ~RxBufferAlmostEmpty);
|
assign WriteRxDataToMemory = ~RxBufferEmpty & (~MasterWbRX | ~RxBufferAlmostEmpty);
|
|
|
|
|
|
|