vga/ps/2: ip-core hinzugefuegt
[hwmod.git] / src / textmode_vga / textmode_vga_v_sm.vhd
diff --git a/src/textmode_vga/textmode_vga_v_sm.vhd b/src/textmode_vga/textmode_vga_v_sm.vhd
new file mode 100644 (file)
index 0000000..694d95f
--- /dev/null
@@ -0,0 +1,30 @@
+-------------------------------------------------------------------------\r
+--\r
+-- Filename: textmode_vga_v_sm.vhd\r
+-- =========\r
+--\r
+-- Short Description:\r
+-- ==================\r
+--   Entity declaration of the vertical VGA timing finite state machine\r
+--\r
+-------------------------------------------------------------------------\r
+\r
+library ieee;
+use ieee.std_logic_1164.all;
+use work.math_pkg.all;
+use work.textmode_vga_pkg.all;\r
+use work.font_pkg.all;
+
+entity textmode_vga_v_sm is
+  port
+  (
+    sys_clk, sys_res_n : in std_logic;
+       
+    is_data_line : out std_logic;
+    char_line_cnt : out std_logic_vector(log2c(LINE_COUNT) - 1 downto 0);
+    char_height_pixel : out std_logic_vector(log2c(CHAR_HEIGHT) - 1 downto 0);
+    is_eol : in std_logic;
+    
+    vsync_n : out std_logic
+  );
+end entity textmode_vga_v_sm;