copyleft: gplv3 added and set repo to public
[calu.git] / cpu / src / exec_op.vhd
1 --   `Deep Thought', a softcore CPU implemented on a FPGA\r
2 --\r
3 --  Copyright (C) 2010 Markus Hofstaetter <markus.manrow@gmx.at>\r
4 --  Copyright (C) 2010 Martin Perner <e0725782@student.tuwien.ac.at>\r
5 --  Copyright (C) 2010 Stefan Rebernig <stefan.rebernig@gmail.com>\r
6 --  Copyright (C) 2010 Manfred Schwarz <e0725898@student.tuwien.ac.at>\r
7 --  Copyright (C) 2010 Bernhard Urban <lewurm@gmail.com>\r
8 --\r
9 --  This program is free software: you can redistribute it and/or modify\r
10 --  it under the terms of the GNU General Public License as published by\r
11 --  the Free Software Foundation, either version 3 of the License, or\r
12 --  (at your option) any later version.\r
13 --\r
14 --  This program is distributed in the hope that it will be useful,\r
15 --  but WITHOUT ANY WARRANTY; without even the implied warranty of\r
16 --  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
17 --  GNU General Public License for more details.\r
18 --\r
19 --  You should have received a copy of the GNU General Public License\r
20 --  along with this program.  If not, see <http://www.gnu.org/licenses/>.\r
21 \r
22 library IEEE;\r
23 use IEEE.std_logic_1164.all;\r
24 use IEEE.numeric_std.all;\r
25 \r
26 use work.common_pkg.all;\r
27 use work.alu_pkg.all;\r
28 \r
29 entity exec_op is\r
30         --some modules won't need all inputs\r
31         port(\r
32         --System inputs\r
33         \r
34                         clk : in std_logic;\r
35                         reset : in std_logic;\r
36         --operation inputs\r
37                         left_operand : in gp_register_t;\r
38                         right_operand : in gp_register_t;\r
39                         op_detail  : in op_opt_t;\r
40                         alu_state  : in alu_result_rec;\r
41                         alu_result : out alu_result_rec\r
42                 );\r
43                 \r
44 end exec_op;\r