Make terminal genericity opt-in for easier interfacing

This commit is contained in:
Klemens Schölhorn 2018-04-25 23:47:50 +02:00
parent 7cf0aa33c0
commit 2f858a6764
2 changed files with 2 additions and 4 deletions

View File

@ -45,9 +45,7 @@ begin
CLKFX_OUT => clk_vga CLKFX_OUT => clk_vga
); );
terminal: entity work.terminal generic map ( terminal: entity work.terminal port map (
clk_f => clk_vga_f
) port map (
clk => clk_vga, clk => clk_vga,
reset => reset, reset => reset,

View File

@ -9,7 +9,7 @@ use unisim.VComponents.all;
entity terminal is entity terminal is
generic ( generic (
clk_f: integer clk_f: integer := 48_000_000
); );
port ( port (
clk: in std_logic; clk: in std_logic;