summaryrefslogtreecommitdiff
path: root/FPGA/pwm/lpm_compare0.vhd
diff options
context:
space:
mode:
authorPacien TRAN-GIRARD2014-06-13 16:06:19 +0200
committerPacien TRAN-GIRARD2014-06-13 16:06:19 +0200
commit70318492f3472ff2ec3b1735cf69a4eef1f6a51d (patch)
tree0f4243099ea9379bc164dc37a9fee3ab255f0f7e /FPGA/pwm/lpm_compare0.vhd
parentd091bb2cb82f66d187df8f3aba6afcf4041b72ce (diff)
downloadfpga-home-automation-70318492f3472ff2ec3b1735cf69a4eef1f6a51d.tar.gz
Update project
Diffstat (limited to 'FPGA/pwm/lpm_compare0.vhd')
-rw-r--r--FPGA/pwm/lpm_compare0.vhd126
1 files changed, 126 insertions, 0 deletions
diff --git a/FPGA/pwm/lpm_compare0.vhd b/FPGA/pwm/lpm_compare0.vhd
new file mode 100644
index 0000000..cf52a6d
--- /dev/null
+++ b/FPGA/pwm/lpm_compare0.vhd
@@ -0,0 +1,126 @@
1-- megafunction wizard: %LPM_COMPARE%
2-- GENERATION: STANDARD
3-- VERSION: WM1.0
4-- MODULE: LPM_COMPARE
5
6-- ============================================================
7-- File Name: lpm_compare0.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_compare0 IS
43 PORT
44 (
45 dataa : IN STD_LOGIC_VECTOR (22 DOWNTO 0);
46 datab : IN STD_LOGIC_VECTOR (22 DOWNTO 0);
47 aleb : OUT STD_LOGIC
48 );
49END lpm_compare0;
50
51
52ARCHITECTURE SYN OF lpm_compare0 IS
53
54 SIGNAL sub_wire0 : STD_LOGIC ;
55
56
57
58 COMPONENT lpm_compare
59 GENERIC (
60 lpm_representation : STRING;
61 lpm_type : STRING;
62 lpm_width : NATURAL
63 );
64 PORT (
65 aleb : OUT STD_LOGIC ;
66 dataa : IN STD_LOGIC_VECTOR (22 DOWNTO 0);
67 datab : IN STD_LOGIC_VECTOR (22 DOWNTO 0)
68 );
69 END COMPONENT;
70
71BEGIN
72 aleb <= sub_wire0;
73
74 LPM_COMPARE_component : LPM_COMPARE
75 GENERIC MAP (
76 lpm_representation => "UNSIGNED",
77 lpm_type => "LPM_COMPARE",
78 lpm_width => 23
79 )
80 PORT MAP (
81 dataa => dataa,
82 datab => datab,
83 aleb => sub_wire0
84 );
85
86
87
88END SYN;
89
90-- ============================================================
91-- CNX file retrieval info
92-- ============================================================
93-- Retrieval info: PRIVATE: AeqB NUMERIC "0"
94-- Retrieval info: PRIVATE: AgeB NUMERIC "0"
95-- Retrieval info: PRIVATE: AgtB NUMERIC "0"
96-- Retrieval info: PRIVATE: AleB NUMERIC "1"
97-- Retrieval info: PRIVATE: AltB NUMERIC "0"
98-- Retrieval info: PRIVATE: AneB NUMERIC "0"
99-- Retrieval info: PRIVATE: INTENDED_DEVICE_FAMILY STRING "Cyclone II"
100-- Retrieval info: PRIVATE: LPM_PIPELINE NUMERIC "0"
101-- Retrieval info: PRIVATE: Latency NUMERIC "0"
102-- Retrieval info: PRIVATE: PortBValue NUMERIC "0"
103-- Retrieval info: PRIVATE: Radix NUMERIC "10"
104-- Retrieval info: PRIVATE: SYNTH_WRAPPER_GEN_POSTFIX STRING "0"
105-- Retrieval info: PRIVATE: SignedCompare NUMERIC "0"
106-- Retrieval info: PRIVATE: aclr NUMERIC "0"
107-- Retrieval info: PRIVATE: clken NUMERIC "0"
108-- Retrieval info: PRIVATE: isPortBConstant NUMERIC "0"
109-- Retrieval info: PRIVATE: nBit NUMERIC "23"
110-- Retrieval info: PRIVATE: new_diagram STRING "1"
111-- Retrieval info: LIBRARY: lpm lpm.lpm_components.all
112-- Retrieval info: CONSTANT: LPM_REPRESENTATION STRING "UNSIGNED"
113-- Retrieval info: CONSTANT: LPM_TYPE STRING "LPM_COMPARE"
114-- Retrieval info: CONSTANT: LPM_WIDTH NUMERIC "23"
115-- Retrieval info: USED_PORT: aleb 0 0 0 0 OUTPUT NODEFVAL "aleb"
116-- Retrieval info: USED_PORT: dataa 0 0 23 0 INPUT NODEFVAL "dataa[22..0]"
117-- Retrieval info: USED_PORT: datab 0 0 23 0 INPUT NODEFVAL "datab[22..0]"
118-- Retrieval info: CONNECT: @dataa 0 0 23 0 dataa 0 0 23 0
119-- Retrieval info: CONNECT: @datab 0 0 23 0 datab 0 0 23 0
120-- Retrieval info: CONNECT: aleb 0 0 0 0 @aleb 0 0 0 0
121-- Retrieval info: GEN_FILE: TYPE_NORMAL lpm_compare0.vhd TRUE
122-- Retrieval info: GEN_FILE: TYPE_NORMAL lpm_compare0.inc FALSE
123-- Retrieval info: GEN_FILE: TYPE_NORMAL lpm_compare0.cmp TRUE
124-- Retrieval info: GEN_FILE: TYPE_NORMAL lpm_compare0.bsf TRUE
125-- Retrieval info: GEN_FILE: TYPE_NORMAL lpm_compare0_inst.vhd FALSE
126-- Retrieval info: LIB_FILE: lpm