281878b49850f301e98997462bb452d84efdbb83
[calu.git] / cpu / src / gpm_pkg.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.alu_pkg.all;
7
8 package gpm_pkg is
9         component gpm is
10
11                 generic (
12                                 -- active reset value
13                                 RESET_VALUE : std_logic
14                                 -- active logic value
15                                 --LOGIC_ACT : std_logic
16                                 
17                                 );
18                 port(
19                         --System inputs
20                         clk : in std_logic;
21                         reset : in std_logic;
22
23                         --exti : in extmod_rec;
24                         --alu outpus
25                         alu_nxt : in alu_result_rec;
26                         --input
27                         
28                         --output
29                         psw     : out status_rec
30                         --to memcnt
31                         --addr : out gp_register_t;
32                         --mem_en : out std_logic;
33                         --ldst : out std_logic;
34                         --, hw,byte: std_logic;
35                         --to output bus
36                         --exto : out data_ram_word_t
37                                 
38                 );
39                         
40         end component gpm;
41 end package gpm_pkg;