1 //////////////////////////////////////////////////////////////////////
5 //// This file is part of the Ethernet IP core project ////
6 //// http://www.opencores.org/projects/ethmac/ ////
9 //// - Igor Mohor (igorM@opencores.org) ////
11 //// All additional information is available in the Readme.txt ////
14 //////////////////////////////////////////////////////////////////////
16 //// Copyright (C) 2001, 2002 Authors ////
18 //// This source file may be used and distributed without ////
19 //// restriction provided that this copyright statement is not ////
20 //// removed from the file and that any derivative work contains ////
21 //// the original copyright notice and the associated disclaimer. ////
23 //// This source file is free software; you can redistribute it ////
24 //// and/or modify it under the terms of the GNU Lesser General ////
25 //// Public License as published by the Free Software Foundation; ////
26 //// either version 2.1 of the License, or (at your option) any ////
27 //// later version. ////
29 //// This source is distributed in the hope that it will be ////
30 //// useful, but WITHOUT ANY WARRANTY; without even the implied ////
31 //// warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR ////
32 //// PURPOSE. See the GNU Lesser General Public License for more ////
35 //// You should have received a copy of the GNU Lesser General ////
36 //// Public License along with this source; if not, download it ////
37 //// from http://www.opencores.org/lgpl.shtml ////
39 //////////////////////////////////////////////////////////////////////
41 // CVS Revision History
44 // Revision 1.3 2003/01/23 09:14:12 mohor
45 // Fix MTxErr or prevent sending too big frames.
47 // Revision 1.2 2002/11/21 00:33:32 mohor
48 // In loopback rx_clk is not looped back. Possible CRC error. Consider if usage
49 // of additional logic is necessery (FIFO for looping the data).
51 // Revision 1.1 2002/09/10 10:42:06 mohor
52 // HASH improvement needed.
56 - Add logic for easier use of the HASH table: First write MAC address to some
57 register. Then issue a command. CRC is calculated from this MAC and appropriate
58 bit written to the HASH register.
60 - In loopback rx_clk is not looped back. Possible CRC error. Consider if usage of
61 additional logic is necessery (FIFO for looping the data).
63 - When sending frames bigger than MaxFL, MaxFL is sent, BD marked as finished,
64 TxB_IRQ interrupt is set and MTxErr is set for a short period. Fix MTxErr or
65 prevent sending too big frames or set TxE_IRQ instead.