1
0
mirror of https://github.com/antonblanchard/microwatt.git synced 2026-05-02 06:36:01 +00:00
Files
antonblanchard.microwatt/fpga/clk_gen_bypass.vhd
Anton Blanchard d89a9929fd Fix clk_gen_bypass
I broke clk_gen_bypass when updating the SOC reset code.

Fixes 03fd06deaf ("Rework SOC reset")
Signed-off-by: Anton Blanchard <anton@linux.ibm.com>
2019-09-12 12:25:18 +10:00

21 lines
387 B
VHDL

library ieee;
use ieee.std_logic_1164.all;
entity clock_generator is
port (
ext_clk : in std_logic;
pll_rst_in : in std_logic;
pll_clk_out : out std_logic;
pll_locked_out : out std_logic);
end entity clock_generator;
architecture bypass of clock_generator is
begin
pll_locked_out <= not pll_rst_in;
pll_clk_out <= ext_clk;
end architecture bypass;