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

📄 key.fit.eqn

📁 用VHDL实现的键盘扫描程序 可以稍微修改就可使用
💻 EQN
📖 第 1 页 / 共 2 页
字号:

--A1L88Q is temp_data_in_l[2]~30 at LC7_C19
--operation mode is normal

A1L88Q = temp_data_in_l[2];


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

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

--C1L32Q is lpm_counter:temp_couter1_rtl_0|alt_counter_f10ke:wysi_counter|q[2]~6 at LC3_C17
--operation mode is clrb_cntr

C1L32Q = C1_q[2];

--C1L7 is lpm_counter:temp_couter1_rtl_0|alt_counter_f10ke:wysi_counter|counter_cell[2]~COUT at LC3_C17
--operation mode is clrb_cntr

C1L7 = CARRY(C1_q[2] & (C1L5));


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

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

--C1L13Q is lpm_counter:temp_couter1_rtl_0|alt_counter_f10ke:wysi_counter|q[6]~7 at LC7_C17
--operation mode is clrb_cntr

C1L13Q = C1_q[6];

--C1L51 is lpm_counter:temp_couter1_rtl_0|alt_counter_f10ke:wysi_counter|counter_cell[6]~COUT at LC7_C17
--operation mode is clrb_cntr

C1L51 = CARRY(C1_q[6] & (C1L31));


--A1L33 is reduce_or~100 at LC4_C19
--operation mode is normal

A1L33 = C1_q[6] & temp_data_in_l[6] & (C1_q[2] $ !temp_data_in_l[2]) # !C1_q[6] & !temp_data_in_l[6] & (C1_q[2] $ !temp_data_in_l[2]);

--A1L24 is reduce_or~114 at LC4_C19
--operation mode is normal

A1L24 = C1_q[6] & temp_data_in_l[6] & (C1_q[2] $ !temp_data_in_l[2]) # !C1_q[6] & !temp_data_in_l[6] & (C1_q[2] $ !temp_data_in_l[2]);


--A1L43 is reduce_or~101 at LC6_C13
--operation mode is normal

A1L43 = A1L33 & A1L23 & A1L13 & A1L03;

--A1L34 is reduce_or~115 at LC6_C13
--operation mode is normal

A1L34 = A1L33 & A1L23 & A1L13 & A1L03;


--A1L94 is temp_couter1~238 at LC5_C13
--operation mode is normal

A1L94 = !flag & !A1L43 & start;

--A1L25 is temp_couter1~241 at LC5_C13
--operation mode is normal

A1L25 = !flag & !A1L43 & start;


--A1L28 is temp_data_in_l[0]~7 at LC1_C19
--operation mode is normal

A1L28 = !stop & load;

--A1L48 is temp_data_in_l[0]~31 at LC1_C19
--operation mode is normal

A1L48 = !stop & load;


--A1L65 is temp_couter~259 at LC6_C19
--operation mode is normal

A1L65 = flag & start;

--A1L06 is temp_couter~263 at LC6_C19
--operation mode is normal

A1L06 = flag & start;


--A1L75 is temp_couter~260 at LC7_C13
--operation mode is normal

A1L75 = !flag & !A1L43 & (stop # !load);

--A1L16 is temp_couter~264 at LC7_C13
--operation mode is normal

A1L16 = !flag & !A1L43 & (stop # !load);


--A1L85 is temp_couter~261 at LC4_C13
--operation mode is normal

A1L85 = A1L75 # start & (A1L55) # !start & !A1L28;

--A1L26 is temp_couter~265 at LC4_C13
--operation mode is normal

A1L26 = A1L75 # start & (A1L55) # !start & !A1L28;


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

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

--C2L13Q is lpm_counter:temp_couter_rtl_1|alt_counter_f10ke:wysi_counter|q[6]~4 at LC7_C15
--operation mode is clrb_cntr

C2L13Q = C2_q[6];

--C2L51 is lpm_counter:temp_couter_rtl_1|alt_counter_f10ke:wysi_counter|counter_cell[6]~COUT at LC7_C15
--operation mode is clrb_cntr

C2L51 = CARRY(C2_q[6] & (C2L31));


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

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

--C2L72Q is lpm_counter:temp_couter_rtl_1|alt_counter_f10ke:wysi_counter|q[4]~5 at LC5_C15
--operation mode is clrb_cntr

C2L72Q = C2_q[4];

--C2L11 is lpm_counter:temp_couter_rtl_1|alt_counter_f10ke:wysi_counter|counter_cell[4]~COUT at LC5_C15
--operation mode is clrb_cntr

C2L11 = CARRY(C2_q[4] & (C2L9));


--A1L05 is temp_couter1~239 at LC3_C19
--operation mode is normal

A1L05 = !flag & start;

--A1L35 is temp_couter1~242 at LC3_C19
--operation mode is normal

A1L35 = !flag & start;


--A1L15 is temp_couter1~240 at LC1_C13
--operation mode is normal

A1L15 = A1L94 # !A1L28 & (A1L55 # !start);

--A1L45 is temp_couter1~243 at LC1_C13
--operation mode is normal

A1L45 = A1L94 # !A1L28 & (A1L55 # !start);


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

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

--C2L52Q is lpm_counter:temp_couter_rtl_1|alt_counter_f10ke:wysi_counter|q[3]~6 at LC4_C15
--operation mode is clrb_cntr

C2L52Q = C2_q[3];

--C2L9 is lpm_counter:temp_couter_rtl_1|alt_counter_f10ke:wysi_counter|counter_cell[3]~COUT at LC4_C15
--operation mode is clrb_cntr

C2L9 = CARRY(C2_q[3] & (C2L7));


--temp_data_in_h[6] is temp_data_in_h[6] at LC2_C16
--operation mode is normal

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

--A1L77Q is temp_data_in_h[6]~20 at LC2_C16
--operation mode is normal

A1L77Q = temp_data_in_h[6];


--temp_data_in_h[2] is temp_data_in_h[2] at LC5_C16
--operation mode is normal

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

--A1L96Q is temp_data_in_h[2]~21 at LC5_C16
--operation mode is normal

A1L96Q = temp_data_in_h[2];


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

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

--C2L32Q is lpm_counter:temp_couter_rtl_1|alt_counter_f10ke:wysi_counter|q[2]~7 at LC3_C15
--operation mode is clrb_cntr

C2L32Q = C2_q[2];

--C2L7 is lpm_counter:temp_couter_rtl_1|alt_counter_f10ke:wysi_counter|counter_cell[2]~COUT at LC3_C15
--operation mode is clrb_cntr

C2L7 = CARRY(C2_q[2] & (C2L5));


--A1L53 is reduce_or~105 at LC3_C16
--operation mode is normal

A1L53 = C2_q[6] & temp_data_in_h[6] & (C2_q[2] $ !temp_data_in_h[2]) # !C2_q[6] & !temp_data_in_h[6] & (C2_q[2] $ !temp_data_in_h[2]);

--A1L44 is reduce_or~116 at LC3_C16
--operation mode is normal

A1L44 = C2_q[6] & temp_data_in_h[6] & (C2_q[2] $ !temp_data_in_h[2]) # !C2_q[6] & !temp_data_in_h[6] & (C2_q[2] $ !temp_data_in_h[2]);

--A1L54 is reduce_or~117 at LC3_C16
--operation mode is normal

A1L54 = C2_q[6] & temp_data_in_h[6] & (C2_q[2] $ !temp_data_in_h[2]) # !C2_q[6] & !temp_data_in_h[6] & (C2_q[2] $ !temp_data_in_h[2]);


--temp_data_in_h[3] is temp_data_in_h[3] at LC7_C16
--operation mode is normal

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

--A1L17Q is temp_data_in_h[3]~22 at LC7_C16
--operation mode is normal

A1L17Q = temp_data_in_h[3];


--temp_data_in_h[4] is temp_data_in_h[4] at LC8_C16
--operation mode is normal

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

--A1L37Q is temp_data_in_h[4]~23 at LC8_C16
--operation mode is normal

A1L37Q = temp_data_in_h[4];


--A1L63 is reduce_or~107 at LC4_C16
--operation mode is normal

A1L63 = (C2_q[3] & temp_data_in_h[3] & (C2_q[4] $ !temp_data_in_h[4]) # !C2_q[3] & !temp_data_in_h[3] & (C2_q[4] $ !temp_data_in_h[4])) & CASCADE(A1L54);

--A1L64 is reduce_or~118 at LC4_C16
--operation mode is normal

A1L64 = (C2_q[3] & temp_data_in_h[3] & (C2_q[4] $ !temp_data_in_h[4]) # !C2_q[3] & !temp_data_in_h[3] & (C2_q[4] $ !temp_data_in_h[4])) & CASCADE(A1L54);


--stop is stop at PIN_182
--operation mode is input

stop = INPUT();


--clk_in is clk_in at PIN_79
--operation mode is input

clk_in = INPUT();


--start is start at PIN_184
--operation mode is input

start = INPUT();


--data_in_h[1] is data_in_h[1] at PIN_80
--operation mode is input

data_in_h[1] = INPUT();


--load is load at PIN_78
--operation mode is input

load = INPUT();


--data_in_h[7] is data_in_h[7] at PIN_183
--operation mode is input

data_in_h[7] = INPUT();


--data_in_h[0] is data_in_h[0] at PIN_189
--operation mode is input

data_in_h[0] = INPUT();


--data_in_h[5] is data_in_h[5] at PIN_131
--operation mode is input

data_in_h[5] = INPUT();


--data_in_l[1] is data_in_l[1] at PIN_19
--operation mode is input

data_in_l[1] = INPUT();


--data_in_l[7] is data_in_l[7] at PIN_133
--operation mode is input

data_in_l[7] = INPUT();


--data_in_l[0] is data_in_l[0] at PIN_17
--operation mode is input

data_in_l[0] = INPUT();


--data_in_l[5] is data_in_l[5] at PIN_136
--operation mode is input

data_in_l[5] = INPUT();


--data_in_l[3] is data_in_l[3] at PIN_64
--operation mode is input

data_in_l[3] = INPUT();


--data_in_l[4] is data_in_l[4] at PIN_16
--operation mode is input

data_in_l[4] = INPUT();


--data_in_l[6] is data_in_l[6] at PIN_135
--operation mode is input

data_in_l[6] = INPUT();


--data_in_l[2] is data_in_l[2] at PIN_61
--operation mode is input

data_in_l[2] = INPUT();


--data_in_h[6] is data_in_h[6] at PIN_18
--operation mode is input

data_in_h[6] = INPUT();


--data_in_h[2] is data_in_h[2] at PIN_199
--operation mode is input

data_in_h[2] = INPUT();


--data_in_h[3] is data_in_h[3] at PIN_132
--operation mode is input

data_in_h[3] = INPUT();


--data_in_h[4] is data_in_h[4] at PIN_134
--operation mode is input

data_in_h[4] = INPUT();


--clk_out is clk_out at PIN_198
--operation mode is output

clk_out = OUTPUT(A1L6Q);


⌨️ 快捷键说明

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