gpm module and exec first buggy version.
[calu.git] / cpu / src / execute_stage.vhd
1 library IEEE;
2 use IEEE.std_logic_1164.all;
3 use IEEE.numeric_std.all;
4
5 entity execute_stage is
6
7         generic (
8                         -- active reset value
9                         RESET_VALUE : std_logic;
10                         -- active logic value
11                         --LOGIC_ACT : std_logic;
12                         
13                         );
14         port(
15                 --System inputs
16                         clk : in std_logic;
17                         reset : in std_logic;
18                         dec_instr : in dec_op;
19
20                 --System output
21                         result : out gp_register_t;--reg
22                         result_addr : out gp_addr_t;--reg
23                         addr : out word_t; --memaddr
24                         data : out gp_register_t; --mem data --ureg
25                         alu_jump : out std_logic;--reg
26                         brpr  : out std_logic;  --reg
27                         wr_en : out std_logic;--regop --reg
28                         dmem  : out std_logic;--memop
29                         dmem_wr_en : out std_logic;
30                         hword  : out std_logic;
31                         byte_s : out std_logic
32                 );
33                 
34 end execute_stage;