0c2b8bd352d689d7e43ff8756ae15921f3a85b10
[calu.git] / cpu / src / exec_op.vhd
1 library IEEE;\r
2 use IEEE.std_logic_1164.all;\r
3 use IEEE.numeric_std.all;\r
4 \r
5 use work.common_pkg.all;\r
6 use work.alu_pkg.all;\r
7 \r
8 entity exec_op is\r
9         --some modules won't need all inputs\r
10         port(\r
11         --System inputs\r
12         \r
13                         clk : in std_logic;\r
14                         reset : in std_logic;\r
15         --operation inputs\r
16                         left_operand : in gp_register_t;\r
17                         right_operand : in gp_register_t;\r
18                         op_detail  : in op_opt_t;\r
19                         alu_state  : in alu_result_rec;\r
20                         alu_result : out alu_result_rec\r
21                 );\r
22                 \r
23 end exec_op;\r