OpenCores
URL https://opencores.org/ocsvn/ethmac/ethmac/trunk

Subversion Repositories ethmac

[/] [ethmac/] [tags/] [rel_19/] [rtl/] [verilog/] [eth_defines.v] - Blame information for rev 21

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 15 mohor
//////////////////////////////////////////////////////////////////////
2
////                                                              ////
3
////  eth_defines.v                                               ////
4
////                                                              ////
5
////  This file is part of the Ethernet IP core project           ////
6
////  http://www.opencores.org/cores/ethmac/                      ////
7
////                                                              ////
8
////  Author(s):                                                  ////
9
////      - Igor Mohor (igorM@opencores.org)                      ////
10
////                                                              ////
11
////  All additional information is avaliable in the Readme.txt   ////
12
////  file.                                                       ////
13
////                                                              ////
14
//////////////////////////////////////////////////////////////////////
15
////                                                              ////
16
//// Copyright (C) 2001 Authors                                   ////
17
////                                                              ////
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. ////
22
////                                                              ////
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.                                               ////
28
////                                                              ////
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 ////
33
//// details.                                                     ////
34
////                                                              ////
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                     ////
38
////                                                              ////
39
//////////////////////////////////////////////////////////////////////
40
//
41
// CVS Revision History
42
//
43
// $Log: not supported by cvs2svn $
44 21 mohor
// Revision 1.2  2001/09/24 15:02:56  mohor
45
// Defines changed (All precede with ETH_). Small changes because some
46
// tools generate warnings when two operands are together. Synchronization
47
// between two clocks domains in eth_wishbonedma.v is changed (due to ASIC
48
// demands).
49
//
50 20 mohor
// Revision 1.1  2001/08/06 14:44:29  mohor
51
// A define FPGA added to select between Artisan RAM (for ASIC) and Block Ram (For Virtex).
52
// Include files fixed to contain no path.
53
// File names and module names changed ta have a eth_ prologue in the name.
54
// File eth_timescale.v is used to define timescale
55
// All pin names on the top module are changed to contain _I, _O or _OE at the end.
56
// Bidirectional signal MDIO is changed to three signals (Mdc_O, Mdi_I, Mdo_O
57
// and Mdo_OE. The bidirectional signal must be created on the top level. This
58
// is done due to the ASIC tools.
59
//
60 15 mohor
// Revision 1.1  2001/07/30 21:23:42  mohor
61
// Directory structure changed. Files checked and joind together.
62
//
63
//
64
//
65
//
66
//
67
 
68
 
69 20 mohor
`define ETH_FPGA                      // Core is going to be implemented in FPGA and contains FPGA specific elements
70
                                      // Should be cleared for the ASIC implementation
71 15 mohor
 
72
 
73
 
74 21 mohor
`define ETH_MODER_ADR         6'h0    // 0x0 
75
`define ETH_INT_SOURCE_ADR    6'h1    // 0x4 
76
`define ETH_INT_MASK_ADR      6'h2    // 0x8 
77
`define ETH_IPGT_ADR          6'h3    // 0xC 
78
`define ETH_IPGR1_ADR         6'h4    // 0x10
79
`define ETH_IPGR2_ADR         6'h5    // 0x14
80
`define ETH_PACKETLEN_ADR     6'h6    // 0x18
81
`define ETH_COLLCONF_ADR      6'h7    // 0x1C
82
`define ETH_RX_BD_ADR_ADR     6'h8    // 0x20
83
`define ETH_CTRLMODER_ADR     6'h9    // 0x24
84
`define ETH_MIIMODER_ADR      6'hA    // 0x28
85
`define ETH_MIICOMMAND_ADR    6'hB    // 0x2C
86
`define ETH_MIIADDRESS_ADR    6'hC    // 0x30
87
`define ETH_MIITX_DATA_ADR    6'hD    // 0x34
88
`define ETH_MIIRX_DATA_ADR    6'hE    // 0x38
89
`define ETH_MIISTATUS_ADR     6'hF    // 0x3C
90
`define ETH_MAC_ADDR0_ADR     6'h10   // 0x40
91
`define ETH_MAC_ADDR1_ADR     6'h11   // 0x44
92 15 mohor
 
93
 
94
 
95 20 mohor
`define ETH_MODER_DEF         32'h0000A000
96
`define ETH_INT_SOURCE_DEF    32'h00000000
97
`define ETH_INT_MASK_DEF      32'h00000000
98
`define ETH_IPGT_DEF          32'h00000012
99
`define ETH_IPGR1_DEF         32'h0000000C
100
`define ETH_IPGR2_DEF         32'h00000012
101
`define ETH_PACKETLEN_DEF     32'h003C0600
102
`define ETH_COLLCONF_DEF      32'h000F0040
103
`define ETH_CTRLMODER_DEF     32'h00000000
104
`define ETH_MIIMODER_DEF      32'h00000064
105
`define ETH_MIICOMMAND_DEF    32'h00000000
106
`define ETH_MIIADDRESS_DEF    32'h00000000
107
`define ETH_MIITX_DATA_DEF    32'h00000000
108
`define ETH_MIIRX_DATA_DEF    32'h00000000
109
`define ETH_MIISTATUS_DEF     32'h00000000
110
`define ETH_MAC_ADDR0_DEF     32'h00000000
111
`define ETH_MAC_ADDR1_DEF     32'h00000000
112 15 mohor
 
113 20 mohor
`define ETH_RX_BD_ADR_DEF     8'h0

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.