From 2f858a67640193f9f4cc45c07839f055fbe63ea7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Klemens=20Sch=C3=B6lhorn?= Date: Wed, 25 Apr 2018 23:47:50 +0200 Subject: [PATCH] Make terminal genericity opt-in for easier interfacing --- main.vhd | 4 +--- terminal.vhd | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/main.vhd b/main.vhd index e8fd82a..61aaeaf 100644 --- a/main.vhd +++ b/main.vhd @@ -45,9 +45,7 @@ begin CLKFX_OUT => clk_vga ); - terminal: entity work.terminal generic map ( - clk_f => clk_vga_f - ) port map ( + terminal: entity work.terminal port map ( clk => clk_vga, reset => reset, diff --git a/terminal.vhd b/terminal.vhd index ad1bde9..ffc8bba 100644 --- a/terminal.vhd +++ b/terminal.vhd @@ -9,7 +9,7 @@ use unisim.VComponents.all; entity terminal is generic ( - clk_f: integer + clk_f: integer := 48_000_000 ); port ( clk: in std_logic;