added io_register.vhd

This commit is contained in:
Markus Fröschle
2014-12-22 22:14:33 +00:00
parent 1612d52010
commit 85ec4c726c
3 changed files with 49 additions and 1 deletions

View File

@@ -0,0 +1,47 @@
LIBRARY IEEE;
USE IEEE.std_logic_1164.ALL;
USE IEEE.numeric_std.ALL;
PACKAGE io_register_pkg IS
TYPE access_width_t IS (LONGWORD, WORD, BYTE);
COMPONENT io_register IS
/*
GENERIC
(
NULL
);
*/
PORT
(
adress : IN UNSIGNED (31 DOWNTO 0);
address_mask : IN UNSIGNED (31 DOWNTO 0);
access_type : IN access_width_t
);
END COMPONENT;
END PACKAGE;
----------------------------------------------------------------------------------------------------------------------------------------
LIBRARY IEEE;
USE IEEE.std_logic_1164.ALL;
USE IEEE.numeric_std.ALL;
ENTITY io_register IS
/*
GENERIC
(
NULL
);
*/
PORT
(
adress : IN UNSIGNED (31 DOWNTO 0);
address_mask : IN UNSIGNED (31 DOWNTO 0);
access_type : IN access_width_t
);
END ENTITY io_register;
ARCHITECTURE rtl OF io_register IS
BEGIN
END rtl;