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

Subversion Repositories ethmac10g

[/] [ethmac10g/] [trunk/] [rtl/] [verilog/] [rx_engine/] [rxClkgen.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: rx clk generator                                ////
4
////                                                              ////
5 39 fisher5090
//// DESCRIPTION: Clk generator for Receive engine of 10 Gigabit  ////
6 69 fisher5090
////     Ethernet MAC.                                            ////
7
////                                                              ////
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:41  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
module rxClkgen(rxclk_in, reset, rxclk, rxclk_180, locked);
60
    input rxclk_in;
61
    input reset;
62 69 fisher5090
    output rxclk;
63
    output rxclk_180;
64
    output locked;
65 71 fisher5090
    // 2x clock should be provided with dcm
66
    wire rxclk;
67
    wire rxclk_180;
68
  //  wire rxclk_2x;
69
    /*dcm0 rx_dcm(.CLKIN_IN(rxclk_in),
70 39 fisher5090
                .RST_IN(reset),
71
                .CLKIN_IBUFG_OUT(),
72
                .CLK0_OUT(rxclk),
73 69 fisher5090
                .CLK180_OUT(rxclk_180),
74 39 fisher5090
                .LOCKED_OUT(locked)
75 71 fisher5090
               );*/
76
    assign rxclk = rxclk_in;
77
    assign rxclk_180 = ~rxclk;
78
    assign locked = ~reset;
79 39 fisher5090
 
80
endmodule

powered by: WebSVN 2.1.0

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