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

Subversion Repositories ethmac

[/] [ethmac/] [trunk/] [bench/] [verilog/] [eth_phy_defines.v] - Blame information for rev 169

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

Line No. Rev Author Line
1 169 mohor
//////////////////////////////////////////////////////////////////////
2
////                                                              ////
3
////  File name: eth_phy_defines.v                                ////
4
////                                                              ////
5
////  This file is part of the "Ethernet MAC" project             ////
6
////  http://www.opencores.org/projects/ethmac/                   ////
7
////                                                              ////
8
////  Author(s):                                                  ////
9
////      - Tadej Markovic, tadej@opencores.org                   ////
10
////                                                              ////
11
////  All additional information is available in the README.txt   ////
12
////  file.                                                       ////
13
////                                                              ////
14
////                                                              ////
15
//////////////////////////////////////////////////////////////////////
16
////                                                              ////
17
//// Copyright (C) 2002,  Authors                                 ////
18
////                                                              ////
19
//// This source file may be used and distributed without         ////
20
//// restriction provided that this copyright statement is not    ////
21
//// removed from the file and that any derivative work contains  ////
22
//// the original copyright notice and the associated disclaimer. ////
23
////                                                              ////
24
//// This source file is free software; you can redistribute it   ////
25
//// and/or modify it under the terms of the GNU Lesser General   ////
26
//// Public License as published by the Free Software Foundation; ////
27
//// either version 2.1 of the License, or (at your option) any   ////
28
//// later version.                                               ////
29
////                                                              ////
30
//// This source is distributed in the hope that it will be       ////
31
//// useful, but WITHOUT ANY WARRANTY; without even the implied   ////
32
//// warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR      ////
33
//// PURPOSE.  See the GNU Lesser General Public License for more ////
34
//// details.                                                     ////
35
////                                                              ////
36
//// You should have received a copy of the GNU Lesser General    ////
37
//// Public License along with this source; if not, download it   ////
38
//// from http://www.opencores.org/lgpl.shtml                     ////
39
////                                                              ////
40
//////////////////////////////////////////////////////////////////////
41
//
42
// CVS Revision History
43
//
44
// $Log: not supported by cvs2svn $
45
//
46
//
47
 
48
// Address of PHY device (LXT971A)
49
`define ETH_PHY_ADDR                 5'h01
50
 
51
// LED/Configuration pins on PHY device - see the specification, page 26, table 8
52
// Initial set of bits 13, 12 and 8 of Control Register
53
`define LED_CFG1                     1'b0
54
`define LED_CFG2                     1'b0
55
`define LED_CFG3                     1'b1
56
 
57
// Supported speeds and physical ports - see the specification, page 67, table 41
58
// Set bits 15 to 9 of Status Register
59
`define SUPPORTED_SPEED_AND_PORT     7'h3F
60
 
61
// Extended status register (address 15)
62
// Set bit 8 of Status Register
63
`define EXTENDED_STATUS              1'b0
64
 
65
// Default status bits - see the specification, page 67, table 41
66
// Set bits 6 to 0 of Status Register
67
`define DEFAULT_STATUS               7'h09
68
 
69
// PHY ID 1 number - see the specification, page 68, table 42
70
// Set bits of Phy Id Register 1
71
`define PHY_ID1                      16'h0013
72
 
73
// PHY ID 2 number - see the specification, page 68, table 43
74
// Set bits 15 to 10 of Phy Id Register 2
75
`define PHY_ID2                      6'h1E
76
 
77
// Manufacturer MODEL number - see the specification, page 68, table 43
78
// Set bits 9 to 4 of Phy Id Register 2
79
`define MAN_MODEL_NUM                6'h0E
80
 
81
// Manufacturer REVISION number - see the specification, page 68, table 43
82
// Set bits 3 to 0 of Phy Id Register 2
83
`define MAN_REVISION_NUM             4'h2
84
 
85
 
86
 
87
 

powered by: WebSVN 2.1.0

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