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

📄 key_debounce.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.
--G1_safe_q[0] is counter:inst3|lpm_counter:lpm_counter_component|cntr_cs6:auto_generated|safe_q[0] at LC_X34_Y16_N0
--operation mode is arithmetic

G1_safe_q[0]_lut_out = !G1_safe_q[0];
G1_safe_q[0] = DFFEAS(G1_safe_q[0]_lut_out, GLOBAL(A1L11), VCC, , , , , , );

--G1L2 is counter:inst3|lpm_counter:lpm_counter_component|cntr_cs6:auto_generated|counter_cella0~COUT at LC_X34_Y16_N0
--operation mode is arithmetic

G1L2_cout_0 = G1_safe_q[0];
G1L2 = CARRY(G1L2_cout_0);

--G1L3 is counter:inst3|lpm_counter:lpm_counter_component|cntr_cs6:auto_generated|counter_cella0~COUTCOUT1_1 at LC_X34_Y16_N0
--operation mode is arithmetic

G1L3_cout_1 = G1_safe_q[0];
G1L3 = CARRY(G1L3_cout_1);


--G1_safe_q[1] is counter:inst3|lpm_counter:lpm_counter_component|cntr_cs6:auto_generated|safe_q[1] at LC_X34_Y16_N1
--operation mode is arithmetic

G1_safe_q[1]_lut_out = G1_safe_q[1] $ (G1L2);
G1_safe_q[1] = DFFEAS(G1_safe_q[1]_lut_out, GLOBAL(A1L11), VCC, , , , , , );

--G1L5 is counter:inst3|lpm_counter:lpm_counter_component|cntr_cs6:auto_generated|counter_cella1~COUT at LC_X34_Y16_N1
--operation mode is arithmetic

G1L5_cout_0 = !G1L2 # !G1_safe_q[1];
G1L5 = CARRY(G1L5_cout_0);

--G1L6 is counter:inst3|lpm_counter:lpm_counter_component|cntr_cs6:auto_generated|counter_cella1~COUTCOUT1 at LC_X34_Y16_N1
--operation mode is arithmetic

G1L6_cout_1 = !G1L3 # !G1_safe_q[1];
G1L6 = CARRY(G1L6_cout_1);


--G1_safe_q[2] is counter:inst3|lpm_counter:lpm_counter_component|cntr_cs6:auto_generated|safe_q[2] at LC_X34_Y16_N2
--operation mode is arithmetic

G1_safe_q[2]_lut_out = G1_safe_q[2] $ (!G1L5);
G1_safe_q[2] = DFFEAS(G1_safe_q[2]_lut_out, GLOBAL(A1L11), VCC, , , , , , );

--G1L8 is counter:inst3|lpm_counter:lpm_counter_component|cntr_cs6:auto_generated|counter_cella2~COUT at LC_X34_Y16_N2
--operation mode is arithmetic

G1L8_cout_0 = G1_safe_q[2] & (!G1L5);
G1L8 = CARRY(G1L8_cout_0);

--G1L9 is counter:inst3|lpm_counter:lpm_counter_component|cntr_cs6:auto_generated|counter_cella2~COUTCOUT1_1 at LC_X34_Y16_N2
--operation mode is arithmetic

G1L9_cout_1 = G1_safe_q[2] & (!G1L6);
G1L9 = CARRY(G1L9_cout_1);


--G1_safe_q[3] is counter:inst3|lpm_counter:lpm_counter_component|cntr_cs6:auto_generated|safe_q[3] at LC_X34_Y16_N3
--operation mode is normal

G1_safe_q[3]_lut_out = G1L8 $ G1_safe_q[3];
G1_safe_q[3] = DFFEAS(G1_safe_q[3]_lut_out, GLOBAL(A1L11), VCC, , , , , , );


--C1L7 is decl7s:inst1|seg[6]~103 at LC_X34_Y16_N8
--operation mode is normal

C1L7 = G1_safe_q[0] & (G1_safe_q[3] # G1_safe_q[1] $ G1_safe_q[2]) # !G1_safe_q[0] & (G1_safe_q[1] # G1_safe_q[3] $ G1_safe_q[2]);


--C1L6 is decl7s:inst1|seg[5]~104 at LC_X34_Y16_N5
--operation mode is normal

C1L6 = G1_safe_q[1] & !G1_safe_q[3] & (G1_safe_q[0] # !G1_safe_q[2]) # !G1_safe_q[1] & G1_safe_q[0] & (G1_safe_q[3] $ !G1_safe_q[2]);


--C1L5 is decl7s:inst1|seg[4]~105 at LC_X34_Y16_N6
--operation mode is normal

C1L5 = G1_safe_q[1] & !G1_safe_q[3] & (G1_safe_q[0]) # !G1_safe_q[1] & (G1_safe_q[2] & !G1_safe_q[3] # !G1_safe_q[2] & (G1_safe_q[0]));


--C1L4 is decl7s:inst1|seg[3]~106 at LC_X34_Y16_N4
--operation mode is normal

C1L4 = G1_safe_q[1] & (G1_safe_q[2] & (G1_safe_q[0]) # !G1_safe_q[2] & G1_safe_q[3] & !G1_safe_q[0]) # !G1_safe_q[1] & !G1_safe_q[3] & (G1_safe_q[2] $ G1_safe_q[0]);


--C1L3 is decl7s:inst1|seg[2]~107 at LC_X34_Y16_N9
--operation mode is normal

C1L3 = G1_safe_q[3] & G1_safe_q[2] & (G1_safe_q[1] # !G1_safe_q[0]) # !G1_safe_q[3] & G1_safe_q[1] & !G1_safe_q[2] & !G1_safe_q[0];


--C1L2 is decl7s:inst1|seg[1]~108 at LC_X34_Y16_N7
--operation mode is normal

C1L2 = G1_safe_q[1] & (G1_safe_q[0] & G1_safe_q[3] # !G1_safe_q[0] & (G1_safe_q[2])) # !G1_safe_q[1] & G1_safe_q[2] & (G1_safe_q[3] $ G1_safe_q[0]);


--C1L1 is decl7s:inst1|seg[0]~109 at LC_X34_Y17_N2
--operation mode is normal

C1L1 = G1_safe_q[3] & G1_safe_q[0] & (G1_safe_q[1] $ G1_safe_q[2]) # !G1_safe_q[3] & !G1_safe_q[1] & (G1_safe_q[2] $ G1_safe_q[0]);


--B1_dout2[0] is debounce:inst|dout2[0] at LC_X7_Y7_N6
--operation mode is normal

B1_dout2[0]_lut_out = B1_dout1[0];
B1_dout2[0] = DFFEAS(B1_dout2[0]_lut_out, GLOBAL(D1_ClockOut), VCC, , , , , , );


--B1_dout1[0] is debounce:inst|dout1[0] at LC_X7_Y7_N5
--operation mode is normal

B1_dout1[0]_lut_out = GND;
B1_dout1[0] = DFFEAS(B1_dout1[0]_lut_out, GLOBAL(D1_ClockOut), VCC, , , key1, , , VCC);


--A1L11 is inst5~29 at LC_X7_Y7_N2
--operation mode is normal

B1_dout3[0]_qfbk = B1_dout3[0];
A1L11 = key2 & (B1_dout1[0] # B1_dout3[0]_qfbk # B1_dout2[0]);

--B1_dout3[0] is debounce:inst|dout3[0] at LC_X7_Y7_N2
--operation mode is normal

B1_dout3[0] = DFFEAS(A1L11, GLOBAL(D1_ClockOut), VCC, , , B1_dout2[0], , , VCC);


--D1_Temp1 is int_div:inst2|Temp1 at LC_X8_Y11_N5
--operation mode is normal

D1_Temp1_lut_out = !D1_Temp1;
D1_Temp1 = DFFEAS(D1_Temp1_lut_out, GLOBAL(clock_48M), VCC, , D1L07, , , , );


--D1_Temp2 is int_div:inst2|Temp2 at LC_X10_Y11_N2
--operation mode is normal

D1_Temp2_lut_out = !D1_Temp2;
D1_Temp2 = DFFEAS(D1_Temp2_lut_out, !GLOBAL(clock_48M), VCC, , D1L17, , , , );


--D1_ClockOut is int_div:inst2|ClockOut at LC_X8_Y11_N4
--operation mode is normal

D1_ClockOut = D1_Temp2 $ D1_Temp1;


--D1_Counter[13] is int_div:inst2|Counter[13] at LC_X8_Y10_N1
--operation mode is normal

D1_Counter[13]_lut_out = D1L7 & (D1L67 # !D1_Counter[17] # !D1_Counter[0]);
D1_Counter[13] = DFFEAS(D1_Counter[13]_lut_out, GLOBAL(clock_48M), VCC, , , , , , );


--D1_Counter[11] is int_div:inst2|Counter[11] at LC_X8_Y10_N6
--operation mode is normal

D1_Counter[11]_lut_out = D1L9 & (D1L67 # !D1_Counter[17] # !D1_Counter[0]);
D1_Counter[11] = DFFEAS(D1_Counter[11]_lut_out, GLOBAL(clock_48M), VCC, , , , , , );


--D1L27 is int_div:inst2|reduce_nor~237 at LC_X8_Y10_N5
--operation mode is normal

D1_Counter[14]_qfbk = D1_Counter[14];
D1L27 = D1_Counter[12] # D1_Counter[14]_qfbk # !D1_Counter[13] # !D1_Counter[11];

--D1_Counter[14] is int_div:inst2|Counter[14] at LC_X8_Y10_N5
--operation mode is normal

D1_Counter[14] = DFFEAS(D1L27, GLOBAL(clock_48M), VCC, , , D1L1, , , VCC);


--D1_Counter[7] is int_div:inst2|Counter[7] at LC_X8_Y10_N4
--operation mode is normal

D1_Counter[7]_lut_out = D1L51 & (D1L67 # !D1_Counter[17] # !D1_Counter[0]);
D1_Counter[7] = DFFEAS(D1_Counter[7]_lut_out, GLOBAL(clock_48M), VCC, , , , , , );


--D1_Counter[8] is int_div:inst2|Counter[8] at LC_X8_Y10_N8
--operation mode is normal

D1_Counter[8]_lut_out = D1L81 & (D1L67 # !D1_Counter[17] # !D1_Counter[0]);
D1_Counter[8] = DFFEAS(D1_Counter[8]_lut_out, GLOBAL(clock_48M), VCC, , , , , , );


--D1L37 is int_div:inst2|reduce_nor~238 at LC_X8_Y10_N0
--operation mode is normal

D1_Counter[10]_qfbk = D1_Counter[10];
D1L37 = D1_Counter[7] # D1_Counter[10]_qfbk # !D1_Counter[5] # !D1_Counter[8];

--D1_Counter[10] is int_div:inst2|Counter[10] at LC_X8_Y10_N0
--operation mode is normal

D1_Counter[10] = DFFEAS(D1L37, GLOBAL(clock_48M), VCC, , , D1L21, , , VCC);


--D1_Counter[2] is int_div:inst2|Counter[2] at LC_X9_Y11_N0
--operation mode is normal

D1_Counter[2]_lut_out = D1L82;
D1_Counter[2] = DFFEAS(D1_Counter[2]_lut_out, GLOBAL(clock_48M), VCC, , , , , , );


--D1_Counter[1] is int_div:inst2|Counter[1] at LC_X8_Y11_N6
--operation mode is normal

D1_Counter[1]_lut_out = GND;
D1_Counter[1] = DFFEAS(D1_Counter[1]_lut_out, GLOBAL(clock_48M), VCC, , , D1L13, , , VCC);


--D1L47 is int_div:inst2|reduce_nor~239 at LC_X8_Y10_N9
--operation mode is normal

D1_Counter[4]_qfbk = D1_Counter[4];
D1L47 = !D1_Counter[2] # !D1_Counter[4]_qfbk # !D1_Counter[1] # !D1_Counter[3];

--D1_Counter[4] is int_div:inst2|Counter[4] at LC_X8_Y10_N9
--operation mode is normal

D1_Counter[4] = DFFEAS(D1L47, GLOBAL(clock_48M), VCC, , , D1L32, , , VCC);


--D1_Counter[16] is int_div:inst2|Counter[16] at LC_X9_Y10_N9
--operation mode is normal

D1_Counter[16]_lut_out = D1L43 & (D1L67 # !D1_Counter[17] # !D1_Counter[0]);
D1_Counter[16] = DFFEAS(D1_Counter[16]_lut_out, GLOBAL(clock_48M), VCC, , , , , , );


--D1_Counter[15] is int_div:inst2|Counter[15] at LC_X8_Y10_N7
--operation mode is normal

D1_Counter[15]_lut_out = D1L73 & (D1L67 # !D1_Counter[17] # !D1_Counter[0]);
D1_Counter[15] = DFFEAS(D1_Counter[15]_lut_out, GLOBAL(clock_48M), VCC, , , , , , );


--D1_Counter[9] is int_div:inst2|Counter[9] at LC_X10_Y10_N2
--operation mode is normal

D1_Counter[9]_lut_out = GND;
D1_Counter[9] = DFFEAS(D1_Counter[9]_lut_out, GLOBAL(clock_48M), VCC, , , D1L34, , , VCC);


--D1L57 is int_div:inst2|reduce_nor~240 at LC_X8_Y10_N2
--operation mode is normal

D1_Counter[6]_qfbk = D1_Counter[6];
D1L57 = D1_Counter[15] & !D1_Counter[9] & D1_Counter[6]_qfbk & D1_Counter[16];

--D1_Counter[6] is int_div:inst2|Counter[6] at LC_X8_Y10_N2
--operation mode is normal

D1_Counter[6] = DFFEAS(D1L57, GLOBAL(clock_48M), VCC, , , D1L04, , , VCC);


--D1L67 is int_div:inst2|reduce_nor~241 at LC_X8_Y10_N3
--operation mode is normal

D1L67 = D1L37 # D1L47 # D1L27 # !D1L57;


--D1_Counter[17] is int_div:inst2|Counter[17] at LC_X8_Y11_N2
--operation mode is normal

D1_Counter[17]_lut_out = D1L94 & (D1L67 # !D1_Counter[17] # !D1_Counter[0]);
D1_Counter[17] = DFFEAS(D1_Counter[17]_lut_out, GLOBAL(clock_48M), VCC, , , , , , );


--D1L07 is int_div:inst2|reduce_nor~0 at LC_X8_Y11_N7
--operation mode is normal

D1_Counter[0]_qfbk = D1_Counter[0];
D1L07 = D1_Counter[17] & (D1_Counter[0]_qfbk & !D1L67);

--D1_Counter[0] is int_div:inst2|Counter[0] at LC_X8_Y11_N7
--operation mode is normal

D1_Counter[0] = DFFEAS(D1L07, GLOBAL(clock_48M), VCC, , , D1L64, , , VCC);


--D1L77 is int_div:inst2|reduce_nor~242 at LC_X8_Y11_N0
--operation mode is normal

D1_Counter[12]_qfbk = D1_Counter[12];
D1L77 = D1_Counter[11] # D1_Counter[13] # !D1_Counter[14] # !D1_Counter[12]_qfbk;

--D1_Counter[12] is int_div:inst2|Counter[12] at LC_X8_Y11_N0
--operation mode is normal

D1_Counter[12] = DFFEAS(D1L77, GLOBAL(clock_48M), VCC, , , D1L4, , , VCC);


--D1L87 is int_div:inst2|reduce_nor~243 at LC_X8_Y11_N8
--operation mode is normal

D1_Counter[5]_qfbk = D1_Counter[5];
D1L87 = D1_Counter[8] # D1_Counter[5]_qfbk # !D1_Counter[10] # !D1_Counter[7];

--D1_Counter[5] is int_div:inst2|Counter[5] at LC_X8_Y11_N8
--operation mode is normal

D1_Counter[5] = DFFEAS(D1L87, GLOBAL(clock_48M), VCC, , , D1L02, , , VCC);


--D1L97 is int_div:inst2|reduce_nor~244 at LC_X8_Y11_N9
--operation mode is normal

D1_Counter[3]_qfbk = D1_Counter[3];
D1L97 = D1_Counter[1] # D1_Counter[2] # D1_Counter[3]_qfbk # D1_Counter[4];

--D1_Counter[3] is int_div:inst2|Counter[3] at LC_X8_Y11_N9
--operation mode is normal

D1_Counter[3] = DFFEAS(D1L97, GLOBAL(clock_48M), VCC, , , D1L62, , , VCC);


--D1L08 is int_div:inst2|reduce_nor~245 at LC_X8_Y11_N3
--operation mode is normal

D1L08 = D1L87 # D1L97 # D1L77 # !D1L57;


--D1L17 is int_div:inst2|reduce_nor~1 at LC_X8_Y11_N1
--operation mode is normal

D1L17 = !D1_Counter[0] & !D1_Counter[17] & !D1L08;


--D1L1 is int_div:inst2|add~271 at LC_X9_Y10_N5
--operation mode is arithmetic

D1L1_carry_eqn = D1L8;
D1L1 = D1_Counter[14] $ !D1L1_carry_eqn;

--D1L2 is int_div:inst2|add~273 at LC_X9_Y10_N5
--operation mode is arithmetic

D1L2_cout_0 = D1_Counter[14] & !D1L8;
D1L2 = CARRY(D1L2_cout_0);

--D1L3 is int_div:inst2|add~273COUT1_373 at LC_X9_Y10_N5
--operation mode is arithmetic

D1L3_cout_1 = D1_Counter[14] & !D1L8;
D1L3 = CARRY(D1L3_cout_1);


--D1L4 is int_div:inst2|add~276 at LC_X9_Y10_N3
--operation mode is arithmetic

D1L4_carry_eqn = (!D1L91 & D1L01) # (D1L91 & D1L11);
D1L4 = D1_Counter[12] $ (!D1L4_carry_eqn);

--D1L5 is int_div:inst2|add~278 at LC_X9_Y10_N3
--operation mode is arithmetic

D1L5_cout_0 = D1_Counter[12] & (!D1L01);
D1L5 = CARRY(D1L5_cout_0);

--D1L6 is int_div:inst2|add~278COUT1_372 at LC_X9_Y10_N3
--operation mode is arithmetic

D1L6_cout_1 = D1_Counter[12] & (!D1L11);
D1L6 = CARRY(D1L6_cout_1);

⌨️ 快捷键说明

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