1 | -- VHDL Entity FACT_FAD_lib.clock_generator.symbol
|
---|
2 | --
|
---|
3 | -- Created:
|
---|
4 | -- by - kai.UNKNOWN (E5PCXX)
|
---|
5 | -- at - 12:09:56 04.05.2010
|
---|
6 | --
|
---|
7 | -- Generated by Mentor Graphics' HDL Designer(TM) 2009.1 (Build 12)
|
---|
8 | --
|
---|
9 | LIBRARY ieee;
|
---|
10 | USE ieee.std_logic_1164.all;
|
---|
11 | USE ieee.std_logic_arith.all;
|
---|
12 |
|
---|
13 | ENTITY clock_generator IS
|
---|
14 | PORT(
|
---|
15 | CLK : IN std_logic;
|
---|
16 | CLK_25 : OUT std_logic;
|
---|
17 | CLK_25_PS : OUT std_logic;
|
---|
18 | CLK_50 : OUT std_logic
|
---|
19 | );
|
---|
20 |
|
---|
21 | -- Declarations
|
---|
22 |
|
---|
23 | END clock_generator ;
|
---|
24 |
|
---|
25 | --
|
---|
26 | -- VHDL Architecture FACT_FAD_lib.clock_generator.struct
|
---|
27 | --
|
---|
28 | -- Created:
|
---|
29 | -- by - kai.UNKNOWN (E5PCXX)
|
---|
30 | -- at - 12:09:56 04.05.2010
|
---|
31 | --
|
---|
32 | -- Generated by Mentor Graphics' HDL Designer(TM) 2009.1 (Build 12)
|
---|
33 | --
|
---|
34 | LIBRARY ieee;
|
---|
35 | USE ieee.std_logic_1164.all;
|
---|
36 | USE ieee.std_logic_arith.all;
|
---|
37 | USE ieee.numeric_std.all;
|
---|
38 | LIBRARY UNISIM;
|
---|
39 | USE UNISIM.Vcomponents.all;
|
---|
40 |
|
---|
41 | LIBRARY FACT_FAD_lib;
|
---|
42 |
|
---|
43 | ARCHITECTURE struct OF clock_generator IS
|
---|
44 |
|
---|
45 | -- Architecture declarations
|
---|
46 |
|
---|
47 | -- Internal signal declarations
|
---|
48 |
|
---|
49 | -- Implicit buffer signal declarations
|
---|
50 | SIGNAL CLK_25_internal : std_logic;
|
---|
51 |
|
---|
52 |
|
---|
53 | -- Component Declarations
|
---|
54 | COMPONENT dcm_50_to_25
|
---|
55 | PORT (
|
---|
56 | CLKIN_IN : IN std_logic;
|
---|
57 | CLK0_OUT : OUT std_logic;
|
---|
58 | CLKFX_OUT : OUT std_logic;
|
---|
59 | CLKIN_IBUFG_OUT : OUT std_logic
|
---|
60 | );
|
---|
61 | END COMPONENT;
|
---|
62 | COMPONENT dcm_ps_38ns
|
---|
63 | PORT (
|
---|
64 | CLKIN_IN : IN std_logic;
|
---|
65 | CLK0_OUT : OUT std_logic
|
---|
66 | );
|
---|
67 | END COMPONENT;
|
---|
68 |
|
---|
69 | -- Optional embedded configurations
|
---|
70 | -- pragma synthesis_off
|
---|
71 | FOR ALL : dcm_50_to_25 USE ENTITY FACT_FAD_lib.dcm_50_to_25;
|
---|
72 | FOR ALL : dcm_ps_38ns USE ENTITY FACT_FAD_lib.dcm_ps_38ns;
|
---|
73 | -- pragma synthesis_on
|
---|
74 |
|
---|
75 |
|
---|
76 | BEGIN
|
---|
77 |
|
---|
78 | -- Instance port mappings.
|
---|
79 | U_0 : dcm_50_to_25
|
---|
80 | PORT MAP (
|
---|
81 | CLKIN_IN => CLK,
|
---|
82 | CLKFX_OUT => CLK_25_internal,
|
---|
83 | CLKIN_IBUFG_OUT => OPEN,
|
---|
84 | CLK0_OUT => CLK_50
|
---|
85 | );
|
---|
86 | U_1 : dcm_ps_38ns
|
---|
87 | PORT MAP (
|
---|
88 | CLKIN_IN => CLK_25_internal,
|
---|
89 | CLK0_OUT => CLK_25_PS
|
---|
90 | );
|
---|
91 |
|
---|
92 | -- Implicit buffered output assignments
|
---|
93 | CLK_25 <= CLK_25_internal;
|
---|
94 |
|
---|
95 | END struct;
|
---|