URL
https://opencores.org/ocsvn/noekeoncore/noekeoncore/trunk
[/] [noekeoncore/] [trunk/] [rtl/] [g_m_5.vhd] - Blame information for rev 2
Details |
Compare with Previous |
View Log
Line No. |
Rev |
Author |
Line |
1 |
2 |
entactogen |
|
2 |
|
|
-- Copyright (c) 2013 Antonio de la Piedra
|
3 |
|
|
|
4 |
|
|
-- This program is free software: you can redistribute it and/or modify
|
5 |
|
|
-- it under the terms of the GNU General Public License as published by
|
6 |
|
|
-- the Free Software Foundation, either version 3 of the License, or
|
7 |
|
|
-- (at your option) any later version.
|
8 |
|
|
|
9 |
|
|
-- This program is distributed in the hope that it will be useful,
|
10 |
|
|
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
11 |
|
|
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
12 |
|
|
-- GNU General Public License for more details.
|
13 |
|
|
|
14 |
|
|
-- You should have received a copy of the GNU General Public License
|
15 |
|
|
-- along with this program. If not, see <http://www.gnu.org/licenses/>.
|
16 |
|
|
|
17 |
|
|
library IEEE;
|
18 |
|
|
use IEEE.STD_LOGIC_1164.ALL;
|
19 |
|
|
|
20 |
|
|
-- Uncomment the following library declaration if using
|
21 |
|
|
-- arithmetic functions with Signed or Unsigned values
|
22 |
|
|
--use IEEE.NUMERIC_STD.ALL;
|
23 |
|
|
|
24 |
|
|
-- Uncomment the following library declaration if instantiating
|
25 |
|
|
-- any Xilinx primitives in this code.
|
26 |
|
|
--library UNISIM;
|
27 |
|
|
--use UNISIM.VComponents.all;
|
28 |
|
|
|
29 |
|
|
entity g_m_5 is
|
30 |
|
|
port(clk : in std_logic;
|
31 |
|
|
a_1_in : in std_logic_vector(31 downto 0);
|
32 |
|
|
a_2_in : in std_logic_vector(31 downto 0);
|
33 |
|
|
a_3_in : in std_logic_vector(31 downto 0);
|
34 |
|
|
a_1_out : out std_logic_vector(31 downto 0));
|
35 |
|
|
end g_m_5;
|
36 |
|
|
|
37 |
|
|
architecture Behavioral of g_m_5 is
|
38 |
|
|
|
39 |
|
|
begin
|
40 |
|
|
|
41 |
|
|
a_1_out <= a_1_in xor (not(a_3_in) and not(a_2_in));
|
42 |
|
|
|
43 |
|
|
end Behavioral;
|
44 |
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.