fetch und decode kompilierbar, generelle tb, änderung in pkgs, eigene decoder entity
[calu.git] / cpu / src / decode_stage.vhd
index 63caa7efc405be286734742406b9d8d0aa473ecc..2b0cf49a62513e8c4060c39d4afca6ba2011977f 100644 (file)
@@ -5,13 +5,14 @@ use IEEE.numeric_std.all;
 use work.core_pkg.all;
 use work.common_pkg.all;
 
+
 entity decode_stage is
 
        generic (
                        -- active reset value
                        RESET_VALUE : std_logic;
                        -- active logic value
-                       LOGIC_ACT : std_logic;
+                       LOGIC_ACT : std_logic
                        
                        );
        port(
@@ -26,11 +27,13 @@ entity decode_stage is
                        reg_we : in std_logic;
 
                --Data outputs
-                       reg1_rd_data : gp_register_t;
-                       reg2_rd_data : gp_register_t;
-                       branch_prediction_res : instruction_word_t;
-                       branch_prediction_bit : std_logic
+                       reg1_rd_data : out gp_register_t;
+                       reg2_rd_data : out gp_register_t;
+                       branch_prediction_res : out instruction_word_t;
+                       branch_prediction_bit : out std_logic
                        
                );
                
 end decode_stage;
+
+