Seperation to differen execute operations.
[calu.git] / cpu / src / exec_op / or_op_b.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 architecture or_op of exec_op is\r
9 begin\r
10 \r
11 calc: process(left_operand, right_operand, alu_state)\r
12         variable alu_result_v : alu_result_rec;\r
13         \r
14 begin\r
15                 alu_result_v := alu_state;\r
16                 \r
17                 alu_result_v.result := left_operand or right_operand;\r
18                 \r
19                 alu_result <= alu_result_v;\r
20 end process; \r
21 \r
22 end architecture or_op;\r