-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSYSTEM_PLL.vhd
69 lines (56 loc) · 1.37 KB
/
SYSTEM_PLL.vhd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
----------------------------------------------------------------------------------
-- Company:
-- Engineer:
--
-- Create Date: 10:25:47 02/14/2015
-- Design Name:
-- Module Name: SYSTEM_PLL - Behavioral
-- Project Name:
-- Target Devices:
-- Tool versions:
-- Description:
--
-- Dependencies:
--
-- Revision:
-- Revision 0.01 - File Created
-- Additional Comments:
--
----------------------------------------------------------------------------------
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
use IEEE.STD_LOGIC_UNSIGNED.ALL;
-- Uncomment the following library declaration if using
-- arithmetic functions with Signed or Unsigned values
--use IEEE.NUMERIC_STD.ALL;
-- Uncomment the following library declaration if instantiating
-- any Xilinx primitives in this code.
library UNISIM;
use UNISIM.VComponents.all;
entity SYSTEM_PLL is
Port (inclk0 : in STD_LOGIC;
c0 : out STD_LOGIC );
end SYSTEM_PLL;
architecture Behavioral of SYSTEM_PLL is
signal clk_fast : STD_LOGIC;
--signal cnt_r : STD_LOGIC_VECTOR(22 downto 0) := (others => '0');
begin
DCM_SP_inst : DCM_SP
generic map (
CLKFX_DIVIDE => 1,
CLKFX_MULTIPLY => 4
)
port map (
CLKFX => clk_fast,
CLKIN => inclk0,
RST => '0'
);
--process(clk_fast) is
--begin
-- if rising_edge(clk_fast) then
-- cnt_r <= cnt_r + 1;
-- end if;
--end process;
--c0 <= cnt_r(22);
c0 <= clk_fast;
end Behavioral;