-- megafunction wizard: %LPM_DECODE%
-- GENERATION: STANDARD
-- VERSION: WM1.0
-- MODULE: lpm_decode 

-- ============================================================
-- File Name: lpm_decode8.vhd
-- Megafunction Name(s):
-- 			lpm_decode
--
-- Simulation Library Files(s):
-- 			lpm
-- ============================================================
-- ************************************************************
-- THIS IS A WIZARD-GENERATED FILE. DO NOT EDIT THIS FILE!
--
-- 9.1 Build 222 10/21/2009 SJ Web Edition
-- ************************************************************


--Copyright (C) 1991-2009 Altera Corporation
--Your use of Altera Corporation's design tools, logic functions 
--and other software and tools, and its AMPP partner logic 
--functions, and any output files from any of the foregoing 
--(including device programming or simulation files), and any 
--associated documentation or information are expressly subject 
--to the terms and conditions of the Altera Program License 
--Subscription Agreement, Altera MegaCore Function License 
--Agreement, or other applicable license agreement, including, 
--without limitation, that your use is for the sole purpose of 
--programming logic devices manufactured by Altera and sold by 
--Altera or its authorized distributors.  Please refer to the 
--applicable agreement for further details.


LIBRARY ieee;
USE ieee.std_logic_1164.all;

LIBRARY lpm;
USE lpm.all;

ENTITY lpm_decode8 IS
	PORT
	(
		data		: IN STD_LOGIC_VECTOR (3 DOWNTO 0);
		eq00		: OUT STD_LOGIC ;
		eq01		: OUT STD_LOGIC ;
		eq02		: OUT STD_LOGIC ;
		eq03		: OUT STD_LOGIC ;
		eq04		: OUT STD_LOGIC ;
		eq05		: OUT STD_LOGIC ;
		eq06		: OUT STD_LOGIC ;
		eq07		: OUT STD_LOGIC ;
		eq08		: OUT STD_LOGIC ;
		eq09		: OUT STD_LOGIC ;
		eq0A		: OUT STD_LOGIC ;
		eq0B		: OUT STD_LOGIC ;
		eq0C		: OUT STD_LOGIC ;
		eq0D		: OUT STD_LOGIC ;
		eq0E		: OUT STD_LOGIC ;
		eq0F		: OUT STD_LOGIC 
	);
END lpm_decode8;


ARCHITECTURE SYN OF lpm_decode8 IS

	SIGNAL sub_wire0	: STD_LOGIC_VECTOR (15 DOWNTO 0);
	SIGNAL sub_wire1	: STD_LOGIC ;
	SIGNAL sub_wire2	: STD_LOGIC ;
	SIGNAL sub_wire3	: STD_LOGIC ;
	SIGNAL sub_wire4	: STD_LOGIC ;
	SIGNAL sub_wire5	: STD_LOGIC ;
	SIGNAL sub_wire6	: STD_LOGIC ;
	SIGNAL sub_wire7	: STD_LOGIC ;
	SIGNAL sub_wire8	: STD_LOGIC ;
	SIGNAL sub_wire9	: STD_LOGIC ;
	SIGNAL sub_wire10	: STD_LOGIC ;
	SIGNAL sub_wire11	: STD_LOGIC ;
	SIGNAL sub_wire12	: STD_LOGIC ;
	SIGNAL sub_wire13	: STD_LOGIC ;
	SIGNAL sub_wire14	: STD_LOGIC ;
	SIGNAL sub_wire15	: STD_LOGIC ;
	SIGNAL sub_wire16	: STD_LOGIC ;



	COMPONENT lpm_decode
	GENERIC (
		lpm_decodes		: NATURAL;
		lpm_type		: STRING;
		lpm_width		: NATURAL
	);
	PORT (
			eq	: OUT STD_LOGIC_VECTOR (lpm_decodes-1 DOWNTO 0);
			data	: IN STD_LOGIC_VECTOR (3 DOWNTO 0)
	);
	END COMPONENT;

BEGIN
	sub_wire16    <= sub_wire0(4);
	sub_wire15    <= sub_wire0(14);
	sub_wire14    <= sub_wire0(3);
	sub_wire13    <= sub_wire0(13);
	sub_wire12    <= sub_wire0(2);
	sub_wire11    <= sub_wire0(12);
	sub_wire10    <= sub_wire0(1);
	sub_wire9    <= sub_wire0(11);
	sub_wire8    <= sub_wire0(0);
	sub_wire7    <= sub_wire0(10);
	sub_wire6    <= sub_wire0(9);
	sub_wire5    <= sub_wire0(8);
	sub_wire4    <= sub_wire0(7);
	sub_wire3    <= sub_wire0(6);
	sub_wire2    <= sub_wire0(5);
	sub_wire1    <= sub_wire0(15);
	eq0F    <= sub_wire1;
	eq05    <= sub_wire2;
	eq06    <= sub_wire3;
	eq07    <= sub_wire4;
	eq08    <= sub_wire5;
	eq09    <= sub_wire6;
	eq0A    <= sub_wire7;
	eq00    <= sub_wire8;
	eq0B    <= sub_wire9;
	eq01    <= sub_wire10;
	eq0C    <= sub_wire11;
	eq02    <= sub_wire12;
	eq0D    <= sub_wire13;
	eq03    <= sub_wire14;
	eq0E    <= sub_wire15;
	eq04    <= sub_wire16;

	lpm_decode_component : lpm_decode
	GENERIC MAP (
		lpm_decodes => 16,
		lpm_type => "LPM_DECODE",
		lpm_width => 4
	)
	PORT MAP (
		data => data,
		eq => sub_wire0
	);



END SYN;

-- ============================================================
-- CNX file retrieval info
-- ============================================================
-- Retrieval info: PRIVATE: BaseDec NUMERIC "0"
-- Retrieval info: PRIVATE: EnableInput NUMERIC "0"
-- Retrieval info: PRIVATE: INTENDED_DEVICE_FAMILY STRING "Stratix II"
-- Retrieval info: PRIVATE: LPM_PIPELINE NUMERIC "1"
-- Retrieval info: PRIVATE: Latency NUMERIC "0"
-- Retrieval info: PRIVATE: SYNTH_WRAPPER_GEN_POSTFIX STRING "0"
-- Retrieval info: PRIVATE: aclr NUMERIC "0"
-- Retrieval info: PRIVATE: clken NUMERIC "0"
-- Retrieval info: PRIVATE: eq0 NUMERIC "1"
-- Retrieval info: PRIVATE: eq1 NUMERIC "1"
-- Retrieval info: PRIVATE: eq10 NUMERIC "1"
-- Retrieval info: PRIVATE: eq11 NUMERIC "1"
-- Retrieval info: PRIVATE: eq12 NUMERIC "1"
-- Retrieval info: PRIVATE: eq13 NUMERIC "1"
-- Retrieval info: PRIVATE: eq14 NUMERIC "1"
-- Retrieval info: PRIVATE: eq15 NUMERIC "1"
-- Retrieval info: PRIVATE: eq2 NUMERIC "1"
-- Retrieval info: PRIVATE: eq3 NUMERIC "1"
-- Retrieval info: PRIVATE: eq4 NUMERIC "1"
-- Retrieval info: PRIVATE: eq5 NUMERIC "1"
-- Retrieval info: PRIVATE: eq6 NUMERIC "1"
-- Retrieval info: PRIVATE: eq7 NUMERIC "1"
-- Retrieval info: PRIVATE: eq8 NUMERIC "1"
-- Retrieval info: PRIVATE: eq9 NUMERIC "1"
-- Retrieval info: PRIVATE: nBit NUMERIC "4"
-- Retrieval info: CONSTANT: LPM_DECODES NUMERIC "16"
-- Retrieval info: CONSTANT: LPM_TYPE STRING "LPM_DECODE"
-- Retrieval info: CONSTANT: LPM_WIDTH NUMERIC "4"
-- Retrieval info: USED_PORT: @eq 0 0 LPM_DECODES 0 OUTPUT NODEFVAL @eq[LPM_DECODES-1..0]
-- Retrieval info: USED_PORT: data 0 0 4 0 INPUT NODEFVAL data[3..0]
-- Retrieval info: USED_PORT: eq00 0 0 0 0 OUTPUT NODEFVAL eq00
-- Retrieval info: USED_PORT: eq01 0 0 0 0 OUTPUT NODEFVAL eq01
-- Retrieval info: USED_PORT: eq02 0 0 0 0 OUTPUT NODEFVAL eq02
-- Retrieval info: USED_PORT: eq03 0 0 0 0 OUTPUT NODEFVAL eq03
-- Retrieval info: USED_PORT: eq04 0 0 0 0 OUTPUT NODEFVAL eq04
-- Retrieval info: USED_PORT: eq05 0 0 0 0 OUTPUT NODEFVAL eq05
-- Retrieval info: USED_PORT: eq06 0 0 0 0 OUTPUT NODEFVAL eq06
-- Retrieval info: USED_PORT: eq07 0 0 0 0 OUTPUT NODEFVAL eq07
-- Retrieval info: USED_PORT: eq08 0 0 0 0 OUTPUT NODEFVAL eq08
-- Retrieval info: USED_PORT: eq09 0 0 0 0 OUTPUT NODEFVAL eq09
-- Retrieval info: USED_PORT: eq0A 0 0 0 0 OUTPUT NODEFVAL eq0A
-- Retrieval info: USED_PORT: eq0B 0 0 0 0 OUTPUT NODEFVAL eq0B
-- Retrieval info: USED_PORT: eq0C 0 0 0 0 OUTPUT NODEFVAL eq0C
-- Retrieval info: USED_PORT: eq0D 0 0 0 0 OUTPUT NODEFVAL eq0D
-- Retrieval info: USED_PORT: eq0E 0 0 0 0 OUTPUT NODEFVAL eq0E
-- Retrieval info: USED_PORT: eq0F 0 0 0 0 OUTPUT NODEFVAL eq0F
-- Retrieval info: CONNECT: @data 0 0 4 0 data 0 0 4 0
-- Retrieval info: CONNECT: eq00 0 0 0 0 @eq 0 0 1 0
-- Retrieval info: CONNECT: eq01 0 0 0 0 @eq 0 0 1 1
-- Retrieval info: CONNECT: eq02 0 0 0 0 @eq 0 0 1 2
-- Retrieval info: CONNECT: eq03 0 0 0 0 @eq 0 0 1 3
-- Retrieval info: CONNECT: eq04 0 0 0 0 @eq 0 0 1 4
-- Retrieval info: CONNECT: eq05 0 0 0 0 @eq 0 0 1 5
-- Retrieval info: CONNECT: eq06 0 0 0 0 @eq 0 0 1 6
-- Retrieval info: CONNECT: eq07 0 0 0 0 @eq 0 0 1 7
-- Retrieval info: CONNECT: eq08 0 0 0 0 @eq 0 0 1 8
-- Retrieval info: CONNECT: eq09 0 0 0 0 @eq 0 0 1 9
-- Retrieval info: CONNECT: eq0A 0 0 0 0 @eq 0 0 1 10
-- Retrieval info: CONNECT: eq0B 0 0 0 0 @eq 0 0 1 11
-- Retrieval info: CONNECT: eq0C 0 0 0 0 @eq 0 0 1 12
-- Retrieval info: CONNECT: eq0D 0 0 0 0 @eq 0 0 1 13
-- Retrieval info: CONNECT: eq0E 0 0 0 0 @eq 0 0 1 14
-- Retrieval info: CONNECT: eq0F 0 0 0 0 @eq 0 0 1 15
-- Retrieval info: LIBRARY: lpm lpm.lpm_components.all
-- Retrieval info: GEN_FILE: TYPE_NORMAL lpm_decode8.vhd TRUE
-- Retrieval info: GEN_FILE: TYPE_NORMAL lpm_decode8.inc FALSE
-- Retrieval info: GEN_FILE: TYPE_NORMAL lpm_decode8.cmp TRUE
-- Retrieval info: GEN_FILE: TYPE_NORMAL lpm_decode8.bsf TRUE FALSE
-- Retrieval info: GEN_FILE: TYPE_NORMAL lpm_decode8_inst.vhd FALSE
-- Retrieval info: LIB_FILE: lpm
