use IEEE.std_logic_1164.all;\r
use IEEE.numeric_std.all;\r
\r
-entity exec_op is\r
+use work.common_pkg.all;\r
+use work.alu_pkg.all;\r
\r
- generic (\r
- -- active reset value\r
- RESET_VALUE : std_logic;\r
- -- active logic value\r
- LOGIC_ACT : std_logic\r
- \r
- );\r
+entity exec_op is\r
+ --some modules won't need all inputs\r
port(\r
- --System inputs\r
+ --System inputs\r
+ \r
clk : in std_logic;\r
reset : in std_logic;\r
- --\r
- \r
- \r
- alu_state : in alu_result_rec;\r
- alu_state_out : out alu_result_rec\r
+ --operation inputs\r
+ left_operand : in gp_register_t;\r
+ right_operand : in gp_register_t;\r
+ op_detail : in op_opt_t;\r
+ alu_state : in alu_result_rec;\r
+ alu_result : out alu_result_rec\r
);\r
\r
-end execute_stage;\r
+end exec_op;\r