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

Subversion Repositories sgmii

[/] [sgmii/] [trunk/] [src/] [SGMIIDefs.v] - Blame information for rev 15

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

Line No. Rev Author Line
1 15 jefflieu
/*
2
        Copyright © 2012 JeffLieu-lieumychuong@gmail.com
3
 
4
        This file is part of SGMII-IP-Core.
5
    SGMII-IP-Core is free software: you can redistribute it and/or modify
6
    it under the terms of the GNU General Public License as published by
7
    the Free Software Foundation, either version 3 of the License, or
8
    (at your option) any later version.
9
 
10
    SGMII-IP-Core is distributed in the hope that it will be useful,
11
    but WITHOUT ANY WARRANTY; without even the implied warranty of
12
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
    GNU General Public License for more details.
14
 
15
    You should have received a copy of the GNU General Public License
16
    along with SGMII-IP-Core.  If not, see <http://www.gnu.org/licenses/>.
17
 
18
 
19
File            :
20
Description     :
21
 
22
Remarks         :
23
 
24
Revision        :
25
        Date    Author  Description
26
 
27
*/
28
 
29
 
30 2 jefflieu
`define cSystemClkPeriod        8
31
 
32
`define cXmitCONFIG             3'b010
33
`define cXmitIDLE               3'b001
34
`define cXmitDATA               3'b100
35
 
36
`define D0_0    8'h00
37
`define D21_5   8'hB5
38
`define D2_2    8'h42
39
`define D5_6    8'hC5
40
`define D16_2   8'h50
41
`define K28_5   8'hBC
42
`define K23_7   8'hF7   //R/
43
`define K27_7   8'hFB   //S/
44
`define K29_7   8'hFD   //T/
45
`define K30_7   8'hFE   //V/
46
 
47
`define cReg4Default    16'h0000
48
`define cReg0Default    16'h0000
49
`define cRegXDefault    16'h0000
50 3 jefflieu
`define cRegLinkTimerDefault    (10_000_000/8)
51
 
52
`define cLcAbility_FD   16'h0020
53
`define cLcAbility_HD   16'h0040
54
`define cLcAbility_PS1  16'h0080
55
`define cLcAbility_PS2  16'h0100
56
`define cLcAbility_RF1  16'h1000
57
`define cLcAbility_RF2  16'h2000
58
 
59
 
60
 

powered by: WebSVN 2.1.0

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