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

📄 key.map.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
--operation mode is normal

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

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

A1L4Q = A1L6Q;


--flag is flag
--operation mode is normal

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

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

A1L62Q = flag;


--temp_data_in_h[1] is temp_data_in_h[1]
--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, clk_in, , , A1L28, , );

--A1L76Q is temp_data_in_h[1]~16
--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]
--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, clk_in, , , , , );

--C2L12Q is lpm_counter:temp_couter_rtl_1|alt_counter_f10ke:wysi_counter|q[1]~0
--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
--operation mode is clrb_cntr

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


--temp_data_in_h[7] is temp_data_in_h[7]
--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, clk_in, , , A1L28, , );

--A1L97Q is temp_data_in_h[7]~17
--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]
--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, clk_in, , , , , );

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

C2L33Q = C2_q[7];


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

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

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

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


--temp_data_in_h[0] is temp_data_in_h[0]
--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, clk_in, , , A1L28, , );

--A1L56Q is temp_data_in_h[0]~18
--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]
--operation mode is clrb_cntr

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

--C2L91Q is lpm_counter:temp_couter_rtl_1|alt_counter_f10ke:wysi_counter|q[0]~2
--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
--operation mode is clrb_cntr

C2L3 = CARRY(C2_q[0]);


--temp_data_in_h[5] is temp_data_in_h[5]
--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, clk_in, , , A1L28, , );

--A1L57Q is temp_data_in_h[5]~19
--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]
--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, clk_in, , , , , );

--C2L92Q is lpm_counter:temp_couter_rtl_1|alt_counter_f10ke:wysi_counter|q[5]~3
--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
--operation mode is clrb_cntr

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


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

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

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

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


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

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

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

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


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

A1L3 = start & A1L55;

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

A1L5 = start & A1L55;


--temp_data_in_l[1] is temp_data_in_l[1]
--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, clk_in, , , A1L28, , );

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

A1L68Q = temp_data_in_l[1];


--temp_data_in_l[7] is temp_data_in_l[7]
--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, clk_in, , , A1L28, , );

--A1L89Q is temp_data_in_l[7]~24
--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]
--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, clk_in, , , , , );

--C1L33Q is lpm_counter:temp_couter1_rtl_0|alt_counter_f10ke:wysi_counter|q[7]~0
--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]
--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, clk_in, , , , , );

--C1L12Q is lpm_counter:temp_couter1_rtl_0|alt_counter_f10ke:wysi_counter|q[1]~1
--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
--operation mode is clrb_cntr

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


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

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

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

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


--temp_data_in_l[0] is temp_data_in_l[0]
--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, clk_in, , , A1L28, , );

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

A1L38Q = temp_data_in_l[0];


--temp_data_in_l[5] is temp_data_in_l[5]
--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, clk_in, , , A1L28, , );

--A1L49Q is temp_data_in_l[5]~26
--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]
--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, clk_in, , , , , );

--C1L92Q is lpm_counter:temp_couter1_rtl_0|alt_counter_f10ke:wysi_counter|q[5]~2
--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
--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]
--operation mode is clrb_cntr

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

--C1L91Q is lpm_counter:temp_couter1_rtl_0|alt_counter_f10ke:wysi_counter|q[0]~3
--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
--operation mode is clrb_cntr

C1L3 = CARRY(C1_q[0]);


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

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

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

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


--temp_data_in_l[3] is temp_data_in_l[3]
--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, clk_in, , , A1L28, , );

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

A1L09Q = temp_data_in_l[3];


--temp_data_in_l[4] is temp_data_in_l[4]
--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, clk_in, , , A1L28, , );

--A1L29Q is temp_data_in_l[4]~28
--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]
--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, clk_in, , , , , );

--C1L72Q is lpm_counter:temp_couter1_rtl_0|alt_counter_f10ke:wysi_counter|q[4]~4
--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
--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]
--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, clk_in, , , , , );

--C1L52Q is lpm_counter:temp_couter1_rtl_0|alt_counter_f10ke:wysi_counter|q[3]~5
--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
--operation mode is clrb_cntr

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


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

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

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

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


--temp_data_in_l[6] is temp_data_in_l[6]
--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, clk_in, , , A1L28, , );

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

A1L69Q = temp_data_in_l[6];


--temp_data_in_l[2] is temp_data_in_l[2]
--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, clk_in, , , A1L28, , );

⌨️ 快捷键说明

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