84bac6f5a2753f22290c94b2e0223b05c337cac6
[calu.git] / cpu / src / extension_interrupt.vhd
1 library IEEE;
2 use IEEE.std_logic_1164.all;
3 use IEEE.numeric_std.all;
4
5 use work.common_pkg.all;
6 use work.extension_pkg.all;
7
8 entity extension_interrupt is
9         --some modules won't need all inputs/outputs
10         generic (
11                         -- active reset value
12                         RESET_VALUE : std_logic
13                         );
14         port(
15                 --System inputs
16                         clk :   in std_logic;
17                         reset : in std_logic;
18                 -- general extension interface                  
19                         ext_reg  : in extmod_rec;
20                         data_out : out gp_register_t;
21                 -- Input
22                         uart_int : in std_logic;
23                 -- Ouput
24                         int_req : out interrupt_t
25                 );
26  end extension_interrupt;
27