mirror of
https://github.com/antonblanchard/microwatt.git
synced 2026-05-02 06:36:01 +00:00
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>
21 lines
387 B
VHDL
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;
|