-library IEEE;\r
-use IEEE.std_logic_1164.all;\r
-use IEEE.numeric_std.all;\r
-\r
-use work.common_pkg.all;\r
-use work.alu_pkg.all;\r
-\r
-architecture xor_op of exec_op is\r
-begin\r
-\r
-calc: process(left_operand, right_operand, alu_state)\r
- variable alu_result_v : alu_result_rec;\r
- \r
-begin\r
- alu_result_v := alu_state;\r
- \r
- alu_result_v.result := left_operand xor right_operand;\r
- \r
- alu_result <= alu_result_v;\r
-end process; \r
-\r
-end architecture xor_op;\r
+-- `Deep Thought', a softcore CPU implemented on a FPGA
+--
+-- Copyright (C) 2010 Markus Hofstaetter <markus.manrow@gmx.at>
+-- Copyright (C) 2010 Martin Perner <e0725782@student.tuwien.ac.at>
+-- Copyright (C) 2010 Stefan Rebernig <stefan.rebernig@gmail.com>
+-- Copyright (C) 2010 Manfred Schwarz <e0725898@student.tuwien.ac.at>
+-- Copyright (C) 2010 Bernhard Urban <lewurm@gmail.com>
+--
+-- This program is free software: you can redistribute it and/or modify
+-- it under the terms of the GNU General Public License as published by
+-- the Free Software Foundation, either version 3 of the License, or
+-- (at your option) any later version.
+--
+-- This program is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+-- GNU General Public License for more details.
+--
+-- You should have received a copy of the GNU General Public License
+-- along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+library IEEE;
+use IEEE.std_logic_1164.all;
+use IEEE.numeric_std.all;
+
+use work.common_pkg.all;
+use work.alu_pkg.all;
+
+architecture xor_op of exec_op is
+begin
+
+calc: process(left_operand, right_operand, alu_state)
+ variable alu_result_v : alu_result_rec;
+
+begin
+ alu_result_v := alu_state;
+
+ alu_result_v.result := left_operand xor right_operand;
+
+ alu_result <= alu_result_v;
+end process;
+
+end architecture xor_op;