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

Subversion Repositories ethmac10g

[/] [ethmac10g/] [trunk/] [rtl/] [verilog/] [rx_engine/] [xgiga_define.v] - Blame information for rev 72

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 39 fisher5090
//////////////////////////////////////////////////////////////////////
2 70 fisher5090
////                                                              ////
3
//// MODULE NAME: definition of parameters                        ////
4
////                                                              ////
5 39 fisher5090
//// DESCRIPTION:                                                 ////
6
////                                                              ////
7 70 fisher5090
////                                                              ////
8 39 fisher5090
//// This file is part of the 10 Gigabit Ethernet IP core project ////
9 70 fisher5090
////  http://www.opencores.org/projects/ethmac10g/                ////
10
////                                                              ////
11
//// AUTHOR(S):                                                   ////
12
//// Zheng Cao                                                    ////
13
////                                                              ////
14 39 fisher5090
//////////////////////////////////////////////////////////////////////
15 70 fisher5090
////                                                              ////
16
//// Copyright (c) 2005 AUTHORS.  All rights reserved.            ////
17
////                                                              ////
18 39 fisher5090
//// 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 70 fisher5090
//// from http://www.opencores.org/lgpl.shtml                     ////
38
////                                                              ////
39 39 fisher5090
//////////////////////////////////////////////////////////////////////
40
//
41
// CVS REVISION HISTORY:
42
//
43
// $Log: not supported by cvs2svn $
44 71 fisher5090
// Revision 1.2  2006/06/16 06:36:28  fisher5090
45
// no message
46
//
47 70 fisher5090
// Revision 1.1.1.1  2006/05/31 05:59:44  Zheng Cao
48
// first version
49
//
50 39 fisher5090
// Revision 1.1  2005/12/25 16:43:10  Zheng Cao
51
// 
52
// 
53
//
54
//////////////////////////////////////////////////////////////////////
55
 
56
`define ALLONES 64'hffffffffffffffff
57
`define ALLONES8 8'hff
58
`define ALLZEROS   8'h00
59
 
60
///////////////////////////////////////////////
61
// Length parameters
62
///////////////////////////////////////////////
63
`define MAX_VALID_LENGTH 12'h0be
64
`define MAX_VALID_BITS_MORE 3'h6
65
`define MAX_TAG_LENGTH 12'h0bf
66
`define MAX_TAG_BITS_MORE 3'h2
67
`define MAX_JUMBO_LENGTH 12'h466
68
`define MIN_VALID_LENGTH 8'h08
69
///////////////////////////////////////////////
70
// Frame field parameters
71
///////////////////////////////////////////////
72
`define PREAMBLE 8'h55
73
`define START      8'hfb
74
`define TERMINATE  8'hfd
75
`define SFD        8'hd5
76
`define SEQUENCE   8'h9a
77
`define ERROR      8'hfe
78 71 fisher5090
`define IDLE       8'h07
79 39 fisher5090
`define TAG_SIGN   16'h0081//8100
80
`define PAUSE_SIGN 32'h01000888//8808
81
 
82
`define MULTICAST  48'h0180C2000001
83
`define BROADCAST  48'hffffffffffff
84
////////////////////////////////////////////////
85
// Frame bytes counter parameter
86
//////////////////////////////////////////////// 
87
`define COUNTER_WIDTH 12

powered by: WebSVN 2.1.0

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