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

Subversion Repositories xucpu

[/] [xucpu/] [trunk/] [src/] [system/] [clock.vhdl] - Blame information for rev 9

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 lcdsgmtr
-- Copyright 2015, Jürgen Defurne
2
--
3
-- This file is part of the Experimental Unstable CPU System.
4
--
5
-- The Experimental Unstable CPU System Is free software: you can redistribute
6
-- it and/or modify it under the terms of the GNU Lesser General Public License
7
-- as published by the Free Software Foundation, either version 3 of the
8
-- License, or (at your option) any later version.
9
--
10
-- The Experimental Unstable CPU System is distributed in the hope that it will
11
-- be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
12
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser
13
-- General Public License for more details.
14
--
15
-- You should have received a copy of the GNU Lesser General Public License
16
-- along with Experimental Unstable CPU System. If not, see
17
-- http://www.gnu.org/licenses/lgpl.txt.
18
 
19
 
20
LIBRARY ieee;
21
USE ieee.std_logic_1164.ALL;
22
USE work.components.ALL;
23
 
24
ENTITY clock_gen IS
25
  PORT (
26
    CLK_IN    : IN  STD_LOGIC;
27
    RESET     : IN  STD_LOGIC;
28
    CLK_VALID : OUT STD_LOGIC;
29
    CLK_OUT   : OUT STD_LOGIC
30
    );
31
END ENTITY clock_gen;
32
 
33
ARCHITECTURE Behavioral OF clock_gen IS
34
 
35
  COMPONENT clock_core_gen IS
36
    PORT (
37
      CLK_IN1   : IN  STD_LOGIC;
38
      CLK_OUT1  : OUT STD_LOGIC;
39
      RESET     : IN  STD_LOGIC;
40
      CLK_VALID : OUT STD_LOGIC
41
      );
42
  END COMPONENT clock_core_gen;
43
 
44
BEGIN  -- Behavioral
45
 
46
  MC : clock_core_gen PORT MAP (
47
    CLK_IN1   => CLK_IN,
48
    CLK_OUT1  => CLK_OUT,
49
    RESET     => RESET,
50
    CLK_VALID => CLK_VALID);
51
 
52
END Behavioral;

powered by: WebSVN 2.1.0

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