1 |
39 |
fisher5090 |
//////////////////////////////////////////////////////////////////////
|
2 |
|
|
//// ////
|
3 |
|
|
//// MODULE NAME: rx clk generator ////
|
4 |
|
|
//// ////
|
5 |
|
|
//// DESCRIPTION: Clk generator for Receive engine of 10 Gigabit ////
|
6 |
|
|
//// Ethernet MAC. ////
|
7 |
|
|
//// ////
|
8 |
|
|
//// This file is part of the 10 Gigabit Ethernet IP core project ////
|
9 |
|
|
//// http://www.opencores.org/projects/ethmac10g/ ////
|
10 |
|
|
//// ////
|
11 |
|
|
//// AUTHOR(S): ////
|
12 |
|
|
//// Zheng Cao ////
|
13 |
|
|
//// ////
|
14 |
|
|
//////////////////////////////////////////////////////////////////////
|
15 |
|
|
//// ////
|
16 |
|
|
//// Copyright (c) 2005 AUTHORS. All rights reserved. ////
|
17 |
|
|
//// ////
|
18 |
|
|
//// 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 |
|
|
//// from http://www.opencores.org/lgpl.shtml ////
|
38 |
|
|
//// ////
|
39 |
|
|
//////////////////////////////////////////////////////////////////////
|
40 |
|
|
//
|
41 |
|
|
// CVS REVISION HISTORY:
|
42 |
|
|
//
|
43 |
|
|
// $Log: not supported by cvs2svn $
|
44 |
|
|
// Revision 1.1 2005/12/25 16:43:10 Zheng Cao
|
45 |
|
|
//
|
46 |
|
|
//
|
47 |
|
|
//
|
48 |
|
|
//////////////////////////////////////////////////////////////////////
|
49 |
|
|
|
50 |
|
|
`include "timescale.v"
|
51 |
|
|
`include "xgiga_define.v"
|
52 |
|
|
|
53 |
|
|
module rxClkgen(rxclk_in, reset, rxclk, rxclk_180, locked);
|
54 |
|
|
input rxclk_in;
|
55 |
|
|
input reset;
|
56 |
|
|
output rxclk;
|
57 |
|
|
output rxclk_180;
|
58 |
|
|
output locked;
|
59 |
|
|
|
60 |
|
|
dcm0 rx_dcm(.CLKIN_IN(rxclk_in),
|
61 |
|
|
.RST_IN(reset),
|
62 |
|
|
.CLKIN_IBUFG_OUT(),
|
63 |
|
|
.CLK0_OUT(rxclk),
|
64 |
|
|
.CLK180_OUT(rxclk_180),
|
65 |
|
|
.LOCKED_OUT(locked)
|
66 |
|
|
);
|
67 |
|
|
|
68 |
|
|
endmodule
|