ab53a3c6ef02e778ec5f04e690b60b6739833352
[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 use work.alu_pkg.all;
8 --use work.gpm_pkg.all;
9
10 entity extension_gpm is
11
12         generic (
13                         -- active reset value
14                         RESET_VALUE : std_logic
15                         );
16         port(
17                 --System inputs
18                         clk :   in std_logic;
19                         reset : in std_logic;
20                 -- Standartinterface                    
21                         ext_reg  : in extmod_rec;
22                         data_out : out gp_register_t;
23                 -- Input
24                         alu_nxt : in alu_result_rec;
25                 -- Ouput
26                          psw     : out status_rec
27
28                         
29                 );
30                 
31 end extension_gpm;