94094095dbc87b0f6bc14423226a20f7d78c6e49
[calu.git] / cpu / src / extension.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 is
9
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                 -- Input
19                         ext_reg : in extmod_rec;
20                         pointer : in pointer_count;
21                         dec_inc : in std_logic;
22                         p_en    : in std_logic;
23                 -- Ouput
24                         data_out    : out gp_register_t;
25                         pointer_val : out gp_register_t
26                         
27                 );
28                 
29 end extension;