modified: interfaces according to SP operation
[calu.git] / cpu / src / extension.vhd
index aa19e9d95f3fd5cc6df443d2c603039c31d7797a..27513590cefebcef231f05f9ed76f8b7be7ea898 100644 (file)
@@ -4,7 +4,7 @@ use IEEE.numeric_std.all;
 
 use work.common_pkg.all;
 use work.extension_pkg.all;
-use work.alu_pkg.all;
+--use work.alu_pkg.all;
 --use work.gpm_pkg.all;
 
 entity extension_gpm is
@@ -19,16 +19,15 @@ entity extension_gpm is
                        reset : in std_logic;
                -- general extension interface                  
                        ext_reg  : in extmod_rec;
-                       data_out : out gp_register_t;
+                        data_out : out gp_register_t;
                -- Input
-                       alu_nxt : in alu_result_rec;
+                       psw_nxt : in status_rec;
                        paddr   : in paddr_t;
                        pinc    : in std_logic;
                        pwr_en  : in std_logic;
                -- Ouput
                         psw     : out status_rec;
                         pval    : out gp_register_t
-                       
                );
                
 end extension_gpm;