From 2f4337f027ec97dd93642ea2db70873e9192fb3b Mon Sep 17 00:00:00 2001
From: Tristan Gingold <tgingold@free.fr>
Date: Sun, 7 Dec 2014 11:40:58 +0100
Subject: Add perf02 (performance issue).

---
 testsuite/gna/perf02/cmp_662.vhd | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 testsuite/gna/perf02/cmp_662.vhd

(limited to 'testsuite/gna/perf02/cmp_662.vhd')

diff --git a/testsuite/gna/perf02/cmp_662.vhd b/testsuite/gna/perf02/cmp_662.vhd
new file mode 100644
index 000000000..13f373eb4
--- /dev/null
+++ b/testsuite/gna/perf02/cmp_662.vhd
@@ -0,0 +1,26 @@
+library ieee;
+use ieee.std_logic_1164.all;
+
+entity cmp_662 is
+	port (
+		in1 : in  std_logic_vector(31 downto 0);
+		in0 : in  std_logic_vector(31 downto 0);
+		eq : out std_logic
+	);
+end cmp_662;
+
+architecture augh of cmp_662 is
+
+	signal tmp : std_logic;
+
+begin
+
+	-- Compute the result
+	tmp <=
+		'0' when in1 /= in0 else
+		'1';
+
+	-- Set the outputs
+	eq <= tmp;
+
+end architecture;
-- 
cgit v1.2.3