⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 key.fit.eqn

📁 用VHDL实现的键盘扫描程序 可以稍微修改就可使用
💻 EQN
📖 第 1 页 / 共 2 页
字号:
-- Copyright (C) 1991-2005 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 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.
--A1L6Q is clk_out~reg0 at LC8_C19
--operation mode is normal

A1L6Q_lut_out = A1L3 # !stop & !A1L94 & A1L6Q;
A1L6Q = DFFEA(A1L6Q_lut_out, GLOBAL(clk_in), , , , , );

--A1L4Q is clk_out~150 at LC8_C19
--operation mode is normal

A1L4Q = A1L6Q;


--flag is flag at LC8_C13
--operation mode is normal

flag_lut_out = A1L55 # !flag & A1L43;
flag = DFFEA(flag_lut_out, GLOBAL(clk_in), , , start, , );

--A1L62Q is flag~14 at LC8_C13
--operation mode is normal

A1L62Q = flag;


--temp_data_in_h[1] is temp_data_in_h[1] at LC6_C16
--operation mode is normal

temp_data_in_h[1]_lut_out = data_in_h[1];
temp_data_in_h[1] = DFFEA(temp_data_in_h[1]_lut_out, GLOBAL(clk_in), , , A1L28, , );

--A1L76Q is temp_data_in_h[1]~16 at LC6_C16
--operation mode is normal

A1L76Q = temp_data_in_h[1];


--C2_q[1] is lpm_counter:temp_couter_rtl_1|alt_counter_f10ke:wysi_counter|q[1] at LC2_C15
--operation mode is clrb_cntr

C2_q[1]_lut_out = (C2_q[1] $ (A1L65 & C2L3)) & A1L85;
C2_q[1] = DFFEA(C2_q[1]_lut_out, GLOBAL(clk_in), , , , , );

--C2L12Q is lpm_counter:temp_couter_rtl_1|alt_counter_f10ke:wysi_counter|q[1]~0 at LC2_C15
--operation mode is clrb_cntr

C2L12Q = C2_q[1];

--C2L5 is lpm_counter:temp_couter_rtl_1|alt_counter_f10ke:wysi_counter|counter_cell[1]~COUT at LC2_C15
--operation mode is clrb_cntr

C2L5 = CARRY(C2_q[1] & (C2L3));


--temp_data_in_h[7] is temp_data_in_h[7] at LC3_C14
--operation mode is normal

temp_data_in_h[7]_lut_out = data_in_h[7];
temp_data_in_h[7] = DFFEA(temp_data_in_h[7]_lut_out, GLOBAL(clk_in), , , A1L28, , );

--A1L97Q is temp_data_in_h[7]~17 at LC3_C14
--operation mode is normal

A1L97Q = temp_data_in_h[7];


--C2_q[7] is lpm_counter:temp_couter_rtl_1|alt_counter_f10ke:wysi_counter|q[7] at LC8_C15
--operation mode is clrb_cntr

C2_q[7]_lut_out = (C2_q[7] $ (A1L65 & C2L51)) & A1L85;
C2_q[7] = DFFEA(C2_q[7]_lut_out, GLOBAL(clk_in), , , , , );

--C2L33Q is lpm_counter:temp_couter_rtl_1|alt_counter_f10ke:wysi_counter|q[7]~1 at LC8_C15
--operation mode is clrb_cntr

C2L33Q = C2_q[7];


--A1L82 is reduce_or~94 at LC4_C14
--operation mode is normal

A1L82 = C2_q[7] & (C2_q[1] $ temp_data_in_h[1] # !temp_data_in_h[7]) # !C2_q[7] & (temp_data_in_h[7] # C2_q[1] $ temp_data_in_h[1]);

--A1L73 is reduce_or~109 at LC4_C14
--operation mode is normal

A1L73 = C2_q[7] & (C2_q[1] $ temp_data_in_h[1] # !temp_data_in_h[7]) # !C2_q[7] & (temp_data_in_h[7] # C2_q[1] $ temp_data_in_h[1]);


--temp_data_in_h[0] is temp_data_in_h[0] at LC2_C18
--operation mode is normal

temp_data_in_h[0]_lut_out = data_in_h[0];
temp_data_in_h[0] = DFFEA(temp_data_in_h[0]_lut_out, GLOBAL(clk_in), , , A1L28, , );

--A1L56Q is temp_data_in_h[0]~18 at LC2_C18
--operation mode is normal

A1L56Q = temp_data_in_h[0];


--C2_q[0] is lpm_counter:temp_couter_rtl_1|alt_counter_f10ke:wysi_counter|q[0] at LC1_C15
--operation mode is clrb_cntr

C2_q[0]_lut_out = (A1L65 $ C2_q[0]) & A1L85;
C2_q[0] = DFFEA(C2_q[0]_lut_out, GLOBAL(clk_in), , , , , );

--C2L91Q is lpm_counter:temp_couter_rtl_1|alt_counter_f10ke:wysi_counter|q[0]~2 at LC1_C15
--operation mode is clrb_cntr

C2L91Q = C2_q[0];

--C2L3 is lpm_counter:temp_couter_rtl_1|alt_counter_f10ke:wysi_counter|counter_cell[0]~COUT at LC1_C15
--operation mode is clrb_cntr

C2L3 = CARRY(C2_q[0]);


--temp_data_in_h[5] is temp_data_in_h[5] at LC5_C14
--operation mode is normal

temp_data_in_h[5]_lut_out = data_in_h[5];
temp_data_in_h[5] = DFFEA(temp_data_in_h[5]_lut_out, GLOBAL(clk_in), , , A1L28, , );

--A1L57Q is temp_data_in_h[5]~19 at LC5_C14
--operation mode is normal

A1L57Q = temp_data_in_h[5];


--C2_q[5] is lpm_counter:temp_couter_rtl_1|alt_counter_f10ke:wysi_counter|q[5] at LC6_C15
--operation mode is clrb_cntr

C2_q[5]_lut_out = (C2_q[5] $ (A1L65 & C2L11)) & A1L85;
C2_q[5] = DFFEA(C2_q[5]_lut_out, GLOBAL(clk_in), , , , , );

--C2L92Q is lpm_counter:temp_couter_rtl_1|alt_counter_f10ke:wysi_counter|q[5]~3 at LC6_C15
--operation mode is clrb_cntr

C2L92Q = C2_q[5];

--C2L31 is lpm_counter:temp_couter_rtl_1|alt_counter_f10ke:wysi_counter|counter_cell[5]~COUT at LC6_C15
--operation mode is clrb_cntr

C2L31 = CARRY(C2_q[5] & (C2L11));


--A1L92 is reduce_or~95 at LC6_C14
--operation mode is normal

A1L92 = C2_q[5] & (C2_q[0] $ temp_data_in_h[0] # !temp_data_in_h[5]) # !C2_q[5] & (temp_data_in_h[5] # C2_q[0] $ temp_data_in_h[0]);

--A1L83 is reduce_or~110 at LC6_C14
--operation mode is normal

A1L83 = C2_q[5] & (C2_q[0] $ temp_data_in_h[0] # !temp_data_in_h[5]) # !C2_q[5] & (temp_data_in_h[5] # C2_q[0] $ temp_data_in_h[0]);


--A1L55 is temp_couter~258 at LC1_C14
--operation mode is normal

A1L55 = flag & (A1L92 # A1L82 # !A1L63);

--A1L95 is temp_couter~262 at LC1_C14
--operation mode is normal

A1L95 = flag & (A1L92 # A1L82 # !A1L63);


--A1L3 is clk_out~148 at LC2_C19
--operation mode is normal

A1L3 = A1L55 & start;

--A1L5 is clk_out~151 at LC2_C19
--operation mode is normal

A1L5 = A1L55 & start;


--temp_data_in_l[1] is temp_data_in_l[1] at LC1_C16
--operation mode is normal

temp_data_in_l[1]_lut_out = data_in_l[1];
temp_data_in_l[1] = DFFEA(temp_data_in_l[1]_lut_out, GLOBAL(clk_in), , , A1L28, , );

--A1L68Q is temp_data_in_l[1]~23 at LC1_C16
--operation mode is normal

A1L68Q = temp_data_in_l[1];


--temp_data_in_l[7] is temp_data_in_l[7] at LC2_C13
--operation mode is normal

temp_data_in_l[7]_lut_out = data_in_l[7];
temp_data_in_l[7] = DFFEA(temp_data_in_l[7]_lut_out, GLOBAL(clk_in), , , A1L28, , );

--A1L89Q is temp_data_in_l[7]~24 at LC2_C13
--operation mode is normal

A1L89Q = temp_data_in_l[7];


--C1_q[7] is lpm_counter:temp_couter1_rtl_0|alt_counter_f10ke:wysi_counter|q[7] at LC8_C17
--operation mode is clrb_cntr

C1_q[7]_lut_out = (C1_q[7] $ (A1L05 & C1L51)) & A1L15;
C1_q[7] = DFFEA(C1_q[7]_lut_out, GLOBAL(clk_in), , , , , );

--C1L33Q is lpm_counter:temp_couter1_rtl_0|alt_counter_f10ke:wysi_counter|q[7]~0 at LC8_C17
--operation mode is clrb_cntr

C1L33Q = C1_q[7];


--C1_q[1] is lpm_counter:temp_couter1_rtl_0|alt_counter_f10ke:wysi_counter|q[1] at LC2_C17
--operation mode is clrb_cntr

C1_q[1]_lut_out = (C1_q[1] $ (A1L05 & C1L3)) & A1L15;
C1_q[1] = DFFEA(C1_q[1]_lut_out, GLOBAL(clk_in), , , , , );

--C1L12Q is lpm_counter:temp_couter1_rtl_0|alt_counter_f10ke:wysi_counter|q[1]~1 at LC2_C17
--operation mode is clrb_cntr

C1L12Q = C1_q[1];

--C1L5 is lpm_counter:temp_couter1_rtl_0|alt_counter_f10ke:wysi_counter|counter_cell[1]~COUT at LC2_C17
--operation mode is clrb_cntr

C1L5 = CARRY(C1_q[1] & (C1L3));


--A1L03 is reduce_or~97 at LC3_C13
--operation mode is normal

A1L03 = C1_q[1] & temp_data_in_l[1] & (C1_q[7] $ !temp_data_in_l[7]) # !C1_q[1] & !temp_data_in_l[1] & (C1_q[7] $ !temp_data_in_l[7]);

--A1L93 is reduce_or~111 at LC3_C13
--operation mode is normal

A1L93 = C1_q[1] & temp_data_in_l[1] & (C1_q[7] $ !temp_data_in_l[7]) # !C1_q[1] & !temp_data_in_l[1] & (C1_q[7] $ !temp_data_in_l[7]);


--temp_data_in_l[0] is temp_data_in_l[0] at LC7_C14
--operation mode is normal

temp_data_in_l[0]_lut_out = data_in_l[0];
temp_data_in_l[0] = DFFEA(temp_data_in_l[0]_lut_out, GLOBAL(clk_in), , , A1L28, , );

--A1L38Q is temp_data_in_l[0]~25 at LC7_C14
--operation mode is normal

A1L38Q = temp_data_in_l[0];


--temp_data_in_l[5] is temp_data_in_l[5] at LC8_C14
--operation mode is normal

temp_data_in_l[5]_lut_out = data_in_l[5];
temp_data_in_l[5] = DFFEA(temp_data_in_l[5]_lut_out, GLOBAL(clk_in), , , A1L28, , );

--A1L49Q is temp_data_in_l[5]~26 at LC8_C14
--operation mode is normal

A1L49Q = temp_data_in_l[5];


--C1_q[5] is lpm_counter:temp_couter1_rtl_0|alt_counter_f10ke:wysi_counter|q[5] at LC6_C17
--operation mode is clrb_cntr

C1_q[5]_lut_out = (C1_q[5] $ (A1L05 & C1L11)) & A1L15;
C1_q[5] = DFFEA(C1_q[5]_lut_out, GLOBAL(clk_in), , , , , );

--C1L92Q is lpm_counter:temp_couter1_rtl_0|alt_counter_f10ke:wysi_counter|q[5]~2 at LC6_C17
--operation mode is clrb_cntr

C1L92Q = C1_q[5];

--C1L31 is lpm_counter:temp_couter1_rtl_0|alt_counter_f10ke:wysi_counter|counter_cell[5]~COUT at LC6_C17
--operation mode is clrb_cntr

C1L31 = CARRY(C1_q[5] & (C1L11));


--C1_q[0] is lpm_counter:temp_couter1_rtl_0|alt_counter_f10ke:wysi_counter|q[0] at LC1_C17
--operation mode is clrb_cntr

C1_q[0]_lut_out = (A1L05 $ C1_q[0]) & A1L15;
C1_q[0] = DFFEA(C1_q[0]_lut_out, GLOBAL(clk_in), , , , , );

--C1L91Q is lpm_counter:temp_couter1_rtl_0|alt_counter_f10ke:wysi_counter|q[0]~3 at LC1_C17
--operation mode is clrb_cntr

C1L91Q = C1_q[0];

--C1L3 is lpm_counter:temp_couter1_rtl_0|alt_counter_f10ke:wysi_counter|counter_cell[0]~COUT at LC1_C17
--operation mode is clrb_cntr

C1L3 = CARRY(C1_q[0]);


--A1L13 is reduce_or~98 at LC2_C14
--operation mode is normal

A1L13 = C1_q[0] & temp_data_in_l[0] & (C1_q[5] $ !temp_data_in_l[5]) # !C1_q[0] & !temp_data_in_l[0] & (C1_q[5] $ !temp_data_in_l[5]);

--A1L04 is reduce_or~112 at LC2_C14
--operation mode is normal

A1L04 = C1_q[0] & temp_data_in_l[0] & (C1_q[5] $ !temp_data_in_l[5]) # !C1_q[0] & !temp_data_in_l[0] & (C1_q[5] $ !temp_data_in_l[5]);


--temp_data_in_l[3] is temp_data_in_l[3] at LC3_C18
--operation mode is normal

temp_data_in_l[3]_lut_out = data_in_l[3];
temp_data_in_l[3] = DFFEA(temp_data_in_l[3]_lut_out, GLOBAL(clk_in), , , A1L28, , );

--A1L09Q is temp_data_in_l[3]~27 at LC3_C18
--operation mode is normal

A1L09Q = temp_data_in_l[3];


--temp_data_in_l[4] is temp_data_in_l[4] at LC4_C18
--operation mode is normal

temp_data_in_l[4]_lut_out = data_in_l[4];
temp_data_in_l[4] = DFFEA(temp_data_in_l[4]_lut_out, GLOBAL(clk_in), , , A1L28, , );

--A1L29Q is temp_data_in_l[4]~28 at LC4_C18
--operation mode is normal

A1L29Q = temp_data_in_l[4];


--C1_q[4] is lpm_counter:temp_couter1_rtl_0|alt_counter_f10ke:wysi_counter|q[4] at LC5_C17
--operation mode is clrb_cntr

C1_q[4]_lut_out = (C1_q[4] $ (A1L05 & C1L9)) & A1L15;
C1_q[4] = DFFEA(C1_q[4]_lut_out, GLOBAL(clk_in), , , , , );

--C1L72Q is lpm_counter:temp_couter1_rtl_0|alt_counter_f10ke:wysi_counter|q[4]~4 at LC5_C17
--operation mode is clrb_cntr

C1L72Q = C1_q[4];

--C1L11 is lpm_counter:temp_couter1_rtl_0|alt_counter_f10ke:wysi_counter|counter_cell[4]~COUT at LC5_C17
--operation mode is clrb_cntr

C1L11 = CARRY(C1_q[4] & (C1L9));


--C1_q[3] is lpm_counter:temp_couter1_rtl_0|alt_counter_f10ke:wysi_counter|q[3] at LC4_C17
--operation mode is clrb_cntr

C1_q[3]_lut_out = (C1_q[3] $ (A1L05 & C1L7)) & A1L15;
C1_q[3] = DFFEA(C1_q[3]_lut_out, GLOBAL(clk_in), , , , , );

--C1L52Q is lpm_counter:temp_couter1_rtl_0|alt_counter_f10ke:wysi_counter|q[3]~5 at LC4_C17
--operation mode is clrb_cntr

C1L52Q = C1_q[3];

--C1L9 is lpm_counter:temp_couter1_rtl_0|alt_counter_f10ke:wysi_counter|counter_cell[3]~COUT at LC4_C17
--operation mode is clrb_cntr

C1L9 = CARRY(C1_q[3] & (C1L7));


--A1L23 is reduce_or~99 at LC1_C18
--operation mode is normal

A1L23 = C1_q[3] & temp_data_in_l[3] & (C1_q[4] $ !temp_data_in_l[4]) # !C1_q[3] & !temp_data_in_l[3] & (C1_q[4] $ !temp_data_in_l[4]);

--A1L14 is reduce_or~113 at LC1_C18
--operation mode is normal

A1L14 = C1_q[3] & temp_data_in_l[3] & (C1_q[4] $ !temp_data_in_l[4]) # !C1_q[3] & !temp_data_in_l[3] & (C1_q[4] $ !temp_data_in_l[4]);


--temp_data_in_l[6] is temp_data_in_l[6] at LC5_C19
--operation mode is normal

temp_data_in_l[6]_lut_out = data_in_l[6];
temp_data_in_l[6] = DFFEA(temp_data_in_l[6]_lut_out, GLOBAL(clk_in), , , A1L28, , );

--A1L69Q is temp_data_in_l[6]~29 at LC5_C19
--operation mode is normal

A1L69Q = temp_data_in_l[6];


--temp_data_in_l[2] is temp_data_in_l[2] at LC7_C19
--operation mode is normal

temp_data_in_l[2]_lut_out = data_in_l[2];
temp_data_in_l[2] = DFFEA(temp_data_in_l[2]_lut_out, GLOBAL(clk_in), , , A1L28, , );

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -