source: FPGA/FAD/FACT_FAD_lib/hdl/clock_generator_struct.vhd@ 228

Last change on this file since 228 was 215, checked in by dneise, 14 years ago
initial commit (2nd part): only VHDL and UCF files were commited.
  • Property svn:executable set to *
File size: 2.2 KB
Line 
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--
9LIBRARY ieee;
10USE ieee.std_logic_1164.all;
11USE ieee.std_logic_arith.all;
12
13ENTITY 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
23END 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--
34LIBRARY ieee;
35USE ieee.std_logic_1164.all;
36USE ieee.std_logic_arith.all;
37USE ieee.numeric_std.all;
38LIBRARY UNISIM;
39USE UNISIM.Vcomponents.all;
40
41LIBRARY FACT_FAD_lib;
42
43ARCHITECTURE 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
76BEGIN
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
95END struct;
Note: See TracBrowser for help on using the repository browser.