extension : gpm extension
[calu.git] / cpu / src / extension_pkg.vhd
index cf50bafd69ba21ad1f8447432ac43d2d7a7f67e3..49d5cdbae5e214369faa08c6ef33130a6cca6f6d 100644 (file)
@@ -4,7 +4,8 @@ use IEEE.std_logic_1164.all;
 use IEEE.numeric_std.all;
 
 use work.common_pkg.all;
-
+use work.alu_pkg.all;
+use work.gpm_pkg.all;
 
 package extension_pkg is
 
@@ -35,7 +36,7 @@ constant EXT_AC97_ADDR:   ext_addrid_t := x"FFFFFFD";
 constant EXT_UART_ADDR:   ext_addrid_t := x"FFFFFFE";
 constant EXT_GPMP_ADDR:    ext_addrid_t := x"FFFFFFF";
 
- component extension is
+ component extension_gpm is
         --some modules won't need all inputs/outputs
        generic (
                        -- active reset value
@@ -45,17 +46,17 @@ constant EXT_GPMP_ADDR:    ext_addrid_t := x"FFFFFFF";
                --System inputs
                        clk :   in std_logic;
                        reset : in std_logic;
+               -- Standartinterface                    
+                       ext_reg  : in extmod_rec;
+                       data_out : out gp_register_t;
                -- Input
-                       ext_reg : in extmod_rec;
-                       pointer : in pointer_count;
-                       dec_inc : in std_logic;
-                       p_en    : in std_logic;
+                       alu_nxt : in alu_result_rec;
                -- Ouput
-                       data_out    : out gp_register_t;
-                       pointer_val : out gp_register_t
+                        psw     : out status_rec
+
                        
                );
- end component extension;
+ end component extension_gpm;