summaryrefslogtreecommitdiff
path: root/FPGA/commande/lpm_compare_00.vhd
diff options
context:
space:
mode:
Diffstat (limited to 'FPGA/commande/lpm_compare_00.vhd')
-rw-r--r--FPGA/commande/lpm_compare_00.vhd131
1 files changed, 131 insertions, 0 deletions
diff --git a/FPGA/commande/lpm_compare_00.vhd b/FPGA/commande/lpm_compare_00.vhd
new file mode 100644
index 0000000..39b7dff
--- /dev/null
+++ b/FPGA/commande/lpm_compare_00.vhd
@@ -0,0 +1,131 @@
1-- megafunction wizard: %LPM_COMPARE%
2-- GENERATION: STANDARD
3-- VERSION: WM1.0
4-- MODULE: LPM_COMPARE
5
6-- ============================================================
7-- File Name: lpm_compare_00.vhd
8-- Megafunction Name(s):
9-- LPM_COMPARE
10--
11-- Simulation Library Files(s):
12-- lpm
13-- ============================================================
14-- ************************************************************
15-- THIS IS A WIZARD-GENERATED FILE. DO NOT EDIT THIS FILE!
16--
17-- 13.0.1 Build 232 06/12/2013 SP 1 SJ Web Edition
18-- ************************************************************
19
20
21--Copyright (C) 1991-2013 Altera Corporation
22--Your use of Altera Corporation's design tools, logic functions
23--and other software and tools, and its AMPP partner logic
24--functions, and any output files from any of the foregoing
25--(including device programming or simulation files), and any
26--associated documentation or information are expressly subject
27--to the terms and conditions of the Altera Program License
28--Subscription Agreement, Altera MegaCore Function License
29--Agreement, or other applicable license agreement, including,
30--without limitation, that your use is for the sole purpose of
31--programming logic devices manufactured by Altera and sold by
32--Altera or its authorized distributors. Please refer to the
33--applicable agreement for further details.
34
35
36LIBRARY ieee;
37USE ieee.std_logic_1164.all;
38
39LIBRARY lpm;
40USE lpm.all;
41
42ENTITY lpm_compare_00 IS
43 PORT
44 (
45 dataa : IN STD_LOGIC_VECTOR (1 DOWNTO 0);
46 aeb : OUT STD_LOGIC
47 );
48END lpm_compare_00;
49
50
51ARCHITECTURE SYN OF lpm_compare_00 IS
52
53 SIGNAL sub_wire0 : STD_LOGIC ;
54 SIGNAL sub_wire1_bv : BIT_VECTOR (1 DOWNTO 0);
55 SIGNAL sub_wire1 : STD_LOGIC_VECTOR (1 DOWNTO 0);
56
57
58
59 COMPONENT lpm_compare
60 GENERIC (
61 lpm_hint : STRING;
62 lpm_representation : STRING;
63 lpm_type : STRING;
64 lpm_width : NATURAL
65 );
66 PORT (
67 aeb : OUT STD_LOGIC ;
68 dataa : IN STD_LOGIC_VECTOR (1 DOWNTO 0);
69 datab : IN STD_LOGIC_VECTOR (1 DOWNTO 0)
70 );
71 END COMPONENT;
72
73BEGIN
74 sub_wire1_bv(1 DOWNTO 0) <= "00";
75 sub_wire1 <= To_stdlogicvector(sub_wire1_bv);
76 aeb <= sub_wire0;
77
78 LPM_COMPARE_component : LPM_COMPARE
79 GENERIC MAP (
80 lpm_hint => "ONE_INPUT_IS_CONSTANT=YES",
81 lpm_representation => "UNSIGNED",
82 lpm_type => "LPM_COMPARE",
83 lpm_width => 2
84 )
85 PORT MAP (
86 dataa => dataa,
87 datab => sub_wire1,
88 aeb => sub_wire0
89 );
90
91
92
93END SYN;
94
95-- ============================================================
96-- CNX file retrieval info
97-- ============================================================
98-- Retrieval info: PRIVATE: AeqB NUMERIC "1"
99-- Retrieval info: PRIVATE: AgeB NUMERIC "0"
100-- Retrieval info: PRIVATE: AgtB NUMERIC "0"
101-- Retrieval info: PRIVATE: AleB NUMERIC "0"
102-- Retrieval info: PRIVATE: AltB NUMERIC "0"
103-- Retrieval info: PRIVATE: AneB NUMERIC "0"
104-- Retrieval info: PRIVATE: INTENDED_DEVICE_FAMILY STRING "Cyclone II"
105-- Retrieval info: PRIVATE: LPM_PIPELINE NUMERIC "0"
106-- Retrieval info: PRIVATE: Latency NUMERIC "0"
107-- Retrieval info: PRIVATE: PortBValue NUMERIC "0"
108-- Retrieval info: PRIVATE: Radix NUMERIC "2"
109-- Retrieval info: PRIVATE: SYNTH_WRAPPER_GEN_POSTFIX STRING "0"
110-- Retrieval info: PRIVATE: SignedCompare NUMERIC "0"
111-- Retrieval info: PRIVATE: aclr NUMERIC "0"
112-- Retrieval info: PRIVATE: clken NUMERIC "0"
113-- Retrieval info: PRIVATE: isPortBConstant NUMERIC "1"
114-- Retrieval info: PRIVATE: nBit NUMERIC "2"
115-- Retrieval info: PRIVATE: new_diagram STRING "1"
116-- Retrieval info: LIBRARY: lpm lpm.lpm_components.all
117-- Retrieval info: CONSTANT: LPM_HINT STRING "ONE_INPUT_IS_CONSTANT=YES"
118-- Retrieval info: CONSTANT: LPM_REPRESENTATION STRING "UNSIGNED"
119-- Retrieval info: CONSTANT: LPM_TYPE STRING "LPM_COMPARE"
120-- Retrieval info: CONSTANT: LPM_WIDTH NUMERIC "2"
121-- Retrieval info: USED_PORT: aeb 0 0 0 0 OUTPUT NODEFVAL "aeb"
122-- Retrieval info: USED_PORT: dataa 0 0 2 0 INPUT NODEFVAL "dataa[1..0]"
123-- Retrieval info: CONNECT: @dataa 0 0 2 0 dataa 0 0 2 0
124-- Retrieval info: CONNECT: @datab 0 0 2 0 0 0 0 2 0
125-- Retrieval info: CONNECT: aeb 0 0 0 0 @aeb 0 0 0 0
126-- Retrieval info: GEN_FILE: TYPE_NORMAL lpm_compare_00.vhd TRUE
127-- Retrieval info: GEN_FILE: TYPE_NORMAL lpm_compare_00.inc FALSE
128-- Retrieval info: GEN_FILE: TYPE_NORMAL lpm_compare_00.cmp TRUE
129-- Retrieval info: GEN_FILE: TYPE_NORMAL lpm_compare_00.bsf TRUE FALSE
130-- Retrieval info: GEN_FILE: TYPE_NORMAL lpm_compare_00_inst.vhd FALSE
131-- Retrieval info: LIB_FILE: lpm