Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

lustrec-tests / vhdl_json / vhdl_files / 2-exportOK / ghdl / ghdl / testsuite / gna / bug040 / cmp_979.vhd @ 2051e520

History | View | Annotate | Download (383 Bytes)

1 2051e520 Arnaud Dieumegard
library ieee;
2
use ieee.std_logic_1164.all;
3
4
entity cmp_979 is
5
	port (
6
		ne : out std_logic;
7
		in1 : in  std_logic_vector(31 downto 0);
8
		in0 : in  std_logic_vector(31 downto 0)
9
	);
10
end cmp_979;
11
12
architecture augh of cmp_979 is
13
14
	signal tmp : std_logic;
15
16
begin
17
18
	-- Compute the result
19
	tmp <=
20
		'0' when in1 /= in0 else
21
		'1';
22
23
	-- Set the outputs
24
	ne <= not(tmp);
25
26
end architecture;