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

Subversion Repositories ethmac10g

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 39 fisher5090
//////////////////////////////////////////////////////////////////////
2 69 fisher5090
////                                                              ////
3
//// MODULE NAME: rxRSLayer                                       ////
4
////                                                              ////
5 39 fisher5090
//// DESCRIPTION: Reconciliation SubLayer of 10 Gigabit Ethernet. ////
6
////                                                              ////
7 69 fisher5090
////                                                              ////
8 39 fisher5090
//// This file is part of the 10 Gigabit Ethernet IP core project ////
9 69 fisher5090
////  http://www.opencores.org/projects/ethmac10g/                ////
10
////                                                              ////
11
//// AUTHOR(S):                                                   ////
12
//// Zheng Cao                                                    ////
13
////                                                              ////
14 39 fisher5090
//////////////////////////////////////////////////////////////////////
15 69 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 69 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 69 fisher5090
// Revision 1.1.1.1  2006/05/31 05:59:43  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
`include "timescale.v"
57
`include "xgiga_define.v"
58
 
59 71 fisher5090
module rxRSLayer(rxclk, rxclk_180, rxclk_2x, reset, link_fault, rxd64, rxc8, rxd_in, rxc_in);
60 39 fisher5090
    input rxclk;
61 69 fisher5090
    input rxclk_180;
62 71 fisher5090
    input rxclk_2x;
63 39 fisher5090
    input reset;
64 69 fisher5090
    input [31:0] rxd_in;
65 39 fisher5090
    input [3:0] rxc_in;
66
    output [1:0] link_fault;
67
    output [63:0] rxd64;
68
    output [7:0] rxc8;
69
 
70 69 fisher5090
    wire  local_fault;
71
    wire  remote_fault;
72
    wire[1:0]  link_fault;
73 39 fisher5090
 
74 69 fisher5090
    rxRSIO datapath(.rxclk(rxclk),
75
                    .rxclk_180(rxclk_180),
76 71 fisher5090
                    .rxclk_2x(rxclk_2x),
77 69 fisher5090
                    .reset(reset),
78
                    .rxd_in(rxd_in),
79
                    .rxc_in(rxc_in),
80
                    .rxd64(rxd64),
81
                    .rxc8(rxc8),
82
                    .local_fault(local_fault),
83
                    .remote_fault(remote_fault)
84
                   );
85
 
86
    rxLinkFaultState statemachine(.rxclk(rxclk_180),
87
                                  .reset(reset),
88
                                  .local_fault(local_fault),
89
                                  .remote_fault(remote_fault),
90
                                  .link_fault(link_fault)
91
                   );
92 39 fisher5090
 
93
endmodule

powered by: WebSVN 2.1.0

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