clkscan2.fit.eqn
来自「采用Quartus2编写的数码管扫描显示电路 共有三个电路 电路1:当按下启」· EQN 代码 · 共 1,693 行 · 第 1/3 页
EQN
1,693 行
C2L72 = C2L32 & C2L63;
--C2L23Q is button:inst4|cnt[3]~reg0 at LC_X7_Y11_N5
--operation mode is normal
C2L23Q = DFFEAS(C2L72, GLOBAL(D1_clkout), VCC, , , , , , );
--D1_clkout is clkdiv1ms:inst3|clkout at LC_X7_Y12_N2
--operation mode is normal
D1_clkout_lut_out = !D1L26;
D1_clkout = DFFEAS(D1_clkout_lut_out, GLOBAL(clk), VCC, , , , , , );
--C1_signal is button:inst2|signal at LC_X37_Y10_N9
--operation mode is normal
C1_signal_lut_out = !C1L22 & !C1L02 & !C1L83 & !C1L72;
C1_signal = DFFEAS(C1_signal_lut_out, GLOBAL(D1_clkout), VCC, , , , , , );
--B1L1 is clkdiv:inst|add~346 at LC_X9_Y13_N5
--operation mode is arithmetic
B1L1_carry_eqn = B1L6;
B1L1 = B1_count[21] $ (B1L1_carry_eqn);
--B1L2 is clkdiv:inst|add~348 at LC_X9_Y13_N5
--operation mode is arithmetic
B1L2_cout_0 = !B1L6 # !B1_count[21];
B1L2 = CARRY(B1L2_cout_0);
--B1L3 is clkdiv:inst|add~348COUT1_478 at LC_X9_Y13_N5
--operation mode is arithmetic
B1L3_cout_1 = !B1L6 # !B1_count[21];
B1L3 = CARRY(B1L3_cout_1);
--B1L4 is clkdiv:inst|add~351 at LC_X9_Y13_N6
--operation mode is normal
B1L4_carry_eqn = (!B1L6 & B1L2) # (B1L6 & B1L3);
B1L4 = B1_count[22] $ !B1L4_carry_eqn;
--B1L5 is clkdiv:inst|add~356 at LC_X9_Y13_N4
--operation mode is arithmetic
B1L5_carry_eqn = (!B1L41 & B1L91) # (B1L41 & B1L02);
B1L5 = B1_count[20] $ (!B1L5_carry_eqn);
--B1L6 is clkdiv:inst|add~358 at LC_X9_Y13_N4
--operation mode is arithmetic
B1L6 = CARRY(B1_count[20] & (!B1L02));
--B1L7 is clkdiv:inst|add~361 at LC_X9_Y13_N1
--operation mode is arithmetic
B1L7_carry_eqn = (!B1L41 & B1L11) # (B1L41 & B1L21);
B1L7 = B1_count[17] $ (B1L7_carry_eqn);
--B1L8 is clkdiv:inst|add~363 at LC_X9_Y13_N1
--operation mode is arithmetic
B1L8_cout_0 = !B1L11 # !B1_count[17];
B1L8 = CARRY(B1L8_cout_0);
--B1L9 is clkdiv:inst|add~363COUT1_475 at LC_X9_Y13_N1
--operation mode is arithmetic
B1L9_cout_1 = !B1L21 # !B1_count[17];
B1L9 = CARRY(B1L9_cout_1);
--B1L01 is clkdiv:inst|add~366 at LC_X9_Y13_N0
--operation mode is arithmetic
B1L01_carry_eqn = B1L41;
B1L01 = B1_count[16] $ !B1L01_carry_eqn;
--B1L11 is clkdiv:inst|add~368 at LC_X9_Y13_N0
--operation mode is arithmetic
B1L11_cout_0 = B1_count[16] & !B1L41;
B1L11 = CARRY(B1L11_cout_0);
--B1L21 is clkdiv:inst|add~368COUT1_474 at LC_X9_Y13_N0
--operation mode is arithmetic
B1L21_cout_1 = B1_count[16] & !B1L41;
B1L21 = CARRY(B1L21_cout_1);
--B1L31 is clkdiv:inst|add~371 at LC_X9_Y14_N9
--operation mode is arithmetic
B1L31_carry_eqn = (!B1L43 & B1L82) # (B1L43 & B1L92);
B1L31 = B1_count[15] $ B1L31_carry_eqn;
--B1L41 is clkdiv:inst|add~373 at LC_X9_Y14_N9
--operation mode is arithmetic
B1L41 = CARRY(!B1L92 # !B1_count[15]);
--B1L51 is clkdiv:inst|add~376 at LC_X9_Y13_N2
--operation mode is arithmetic
B1L51_carry_eqn = (!B1L41 & B1L8) # (B1L41 & B1L9);
B1L51 = B1_count[18] $ !B1L51_carry_eqn;
--B1L61 is clkdiv:inst|add~378 at LC_X9_Y13_N2
--operation mode is arithmetic
B1L61_cout_0 = B1_count[18] & !B1L8;
B1L61 = CARRY(B1L61_cout_0);
--B1L71 is clkdiv:inst|add~378COUT1_476 at LC_X9_Y13_N2
--operation mode is arithmetic
B1L71_cout_1 = B1_count[18] & !B1L9;
B1L71 = CARRY(B1L71_cout_1);
--B1L81 is clkdiv:inst|add~381 at LC_X9_Y13_N3
--operation mode is arithmetic
B1L81_carry_eqn = (!B1L41 & B1L61) # (B1L41 & B1L71);
B1L81 = B1_count[19] $ B1L81_carry_eqn;
--B1L91 is clkdiv:inst|add~383 at LC_X9_Y13_N3
--operation mode is arithmetic
B1L91_cout_0 = !B1L61 # !B1_count[19];
B1L91 = CARRY(B1L91_cout_0);
--B1L02 is clkdiv:inst|add~383COUT1_477 at LC_X9_Y13_N3
--operation mode is arithmetic
B1L02_cout_1 = !B1L71 # !B1_count[19];
B1L02 = CARRY(B1L02_cout_1);
--B1L12 is clkdiv:inst|add~386 at LC_X9_Y14_N7
--operation mode is arithmetic
B1L12_carry_eqn = (!B1L43 & B1L52) # (B1L43 & B1L62);
B1L12 = B1_count[13] $ (B1L12_carry_eqn);
--B1L22 is clkdiv:inst|add~388 at LC_X9_Y14_N7
--operation mode is arithmetic
B1L22_cout_0 = !B1L52 # !B1_count[13];
B1L22 = CARRY(B1L22_cout_0);
--B1L32 is clkdiv:inst|add~388COUT1_472 at LC_X9_Y14_N7
--operation mode is arithmetic
B1L32_cout_1 = !B1L62 # !B1_count[13];
B1L32 = CARRY(B1L32_cout_1);
--B1L42 is clkdiv:inst|add~391 at LC_X9_Y14_N6
--operation mode is arithmetic
B1L42_carry_eqn = (!B1L43 & B1L13) # (B1L43 & B1L23);
B1L42 = B1_count[12] $ !B1L42_carry_eqn;
--B1L52 is clkdiv:inst|add~393 at LC_X9_Y14_N6
--operation mode is arithmetic
B1L52_cout_0 = B1_count[12] & !B1L13;
B1L52 = CARRY(B1L52_cout_0);
--B1L62 is clkdiv:inst|add~393COUT1_471 at LC_X9_Y14_N6
--operation mode is arithmetic
B1L62_cout_1 = B1_count[12] & !B1L23;
B1L62 = CARRY(B1L62_cout_1);
--B1L72 is clkdiv:inst|add~396 at LC_X9_Y14_N8
--operation mode is arithmetic
B1L72_carry_eqn = (!B1L43 & B1L22) # (B1L43 & B1L32);
B1L72 = B1_count[14] $ !B1L72_carry_eqn;
--B1L82 is clkdiv:inst|add~398 at LC_X9_Y14_N8
--operation mode is arithmetic
B1L82_cout_0 = B1_count[14] & !B1L22;
B1L82 = CARRY(B1L82_cout_0);
--B1L92 is clkdiv:inst|add~398COUT1_473 at LC_X9_Y14_N8
--operation mode is arithmetic
B1L92_cout_1 = B1_count[14] & !B1L32;
B1L92 = CARRY(B1L92_cout_1);
--B1L03 is clkdiv:inst|add~401 at LC_X9_Y14_N5
--operation mode is arithmetic
B1L03_carry_eqn = B1L43;
B1L03 = B1_count[11] $ (B1L03_carry_eqn);
--B1L13 is clkdiv:inst|add~403 at LC_X9_Y14_N5
--operation mode is arithmetic
B1L13_cout_0 = !B1L43 # !B1_count[11];
B1L13 = CARRY(B1L13_cout_0);
--B1L23 is clkdiv:inst|add~403COUT1_470 at LC_X9_Y14_N5
--operation mode is arithmetic
B1L23_cout_1 = !B1L43 # !B1_count[11];
B1L23 = CARRY(B1L23_cout_1);
--B1L33 is clkdiv:inst|add~406 at LC_X9_Y14_N4
--operation mode is arithmetic
B1L33_carry_eqn = (!B1L54 & B1L93) # (B1L54 & B1L04);
B1L33 = B1_count[10] $ (!B1L33_carry_eqn);
--B1L43 is clkdiv:inst|add~408 at LC_X9_Y14_N4
--operation mode is arithmetic
B1L43 = CARRY(B1_count[10] & (!B1L04));
--B1L53 is clkdiv:inst|add~411 at LC_X9_Y14_N1
--operation mode is arithmetic
B1L53_carry_eqn = (!B1L54 & B1L35) # (B1L54 & B1L45);
B1L53 = B1_count[7] $ (B1L53_carry_eqn);
--B1L63 is clkdiv:inst|add~413 at LC_X9_Y14_N1
--operation mode is arithmetic
B1L63_cout_0 = !B1L35 # !B1_count[7];
B1L63 = CARRY(B1L63_cout_0);
--B1L73 is clkdiv:inst|add~413COUT1_467 at LC_X9_Y14_N1
--operation mode is arithmetic
B1L73_cout_1 = !B1L45 # !B1_count[7];
B1L73 = CARRY(B1L73_cout_1);
--B1L83 is clkdiv:inst|add~416 at LC_X9_Y14_N3
--operation mode is arithmetic
B1L83_carry_eqn = (!B1L54 & B1L24) # (B1L54 & B1L34);
B1L83 = B1_count[9] $ B1L83_carry_eqn;
--B1L93 is clkdiv:inst|add~418 at LC_X9_Y14_N3
--operation mode is arithmetic
B1L93_cout_0 = !B1L24 # !B1_count[9];
B1L93 = CARRY(B1L93_cout_0);
--B1L04 is clkdiv:inst|add~418COUT1_469 at LC_X9_Y14_N3
--operation mode is arithmetic
B1L04_cout_1 = !B1L34 # !B1_count[9];
B1L04 = CARRY(B1L04_cout_1);
--B1L14 is clkdiv:inst|add~421 at LC_X9_Y14_N2
--operation mode is arithmetic
B1L14_carry_eqn = (!B1L54 & B1L63) # (B1L54 & B1L73);
B1L14 = B1_count[8] $ (!B1L14_carry_eqn);
--B1L24 is clkdiv:inst|add~423 at LC_X9_Y14_N2
--operation mode is arithmetic
B1L24_cout_0 = B1_count[8] & (!B1L63);
B1L24 = CARRY(B1L24_cout_0);
--B1L34 is clkdiv:inst|add~423COUT1_468 at LC_X9_Y14_N2
--operation mode is arithmetic
B1L34_cout_1 = B1_count[8] & (!B1L73);
B1L34 = CARRY(B1L34_cout_1);
--B1L44 is clkdiv:inst|add~426 at LC_X9_Y15_N9
--operation mode is arithmetic
B1L44_carry_eqn = (!B1L26 & B1L74) # (B1L26 & B1L84);
B1L44 = B1_count[5] $ B1L44_carry_eqn;
--B1L54 is clkdiv:inst|add~428 at LC_X9_Y15_N9
--operation mode is arithmetic
B1L54 = CARRY(!B1L84 # !B1_count[5]);
--B1L64 is clkdiv:inst|add~431 at LC_X9_Y15_N8
--operation mode is arithmetic
B1L64_carry_eqn = (!B1L26 & B1L05) # (B1L26 & B1L15);
B1L64 = B1_count[4] $ (!B1L64_carry_eqn);
--B1L74 is clkdiv:inst|add~433 at LC_X9_Y15_N8
--operation mode is arithmetic
B1L74_cout_0 = B1_count[4] & (!B1L05);
B1L74 = CARRY(B1L74_cout_0);
--B1L84 is clkdiv:inst|add~433COUT1_465 at LC_X9_Y15_N8
--operation mode is arithmetic
B1L84_cout_1 = B1_count[4] & (!B1L15);
B1L84 = CARRY(B1L84_cout_1);
--B1L94 is clkdiv:inst|add~436 at LC_X9_Y15_N7
--operation mode is arithmetic
B1L94_carry_eqn = (!B1L26 & B1L65) # (B1L26 & B1L75);
B1L94 = B1_count[3] $ (B1L94_carry_eqn);
--B1L05 is clkdiv:inst|add~438 at LC_X9_Y15_N7
--operation mode is arithmetic
B1L05_cout_0 = !B1L65 # !B1_count[3];
B1L05 = CARRY(B1L05_cout_0);
--B1L15 is clkdiv:inst|add~438COUT1_464 at LC_X9_Y15_N7
--operation mode is arithmetic
B1L15_cout_1 = !B1L75 # !B1_count[3];
B1L15 = CARRY(B1L15_cout_1);
--B1L25 is clkdiv:inst|add~441 at LC_X9_Y14_N0
--operation mode is arithmetic
B1L25_carry_eqn = B1L54;
B1L25 = B1_count[6] $ (!B1L25_carry_eqn);
--B1L35 is clkdiv:inst|add~443 at LC_X9_Y14_N0
--operation mode is arithmetic
B1L35_cout_0 = B1_count[6] & (!B1L54);
B1L35 = CARRY(B1L35_cout_0);
--B1L45 is clkdiv:inst|add~443COUT1_466 at LC_X9_Y14_N0
--operation mode is arithmetic
B1L45_cout_1 = B1_count[6] & (!B1L54);
B1L45 = CARRY(B1L45_cout_1);
--B1L55 is clkdiv:inst|add~446 at LC_X9_Y15_N6
--operation mode is arithmetic
B1L55_carry_eqn = (!B1L26 & B1L95) # (B1L26 & B1L06);
B1L55 = B1_count[2] $ !B1L55_carry_eqn;
--B1L65 is clkdiv:inst|add~448 at LC_X9_Y15_N6
--operation mode is arithmetic
B1L65_cout_0 = B1_count[2] & !B1L95;
B1L65 = CARRY(B1L65_cout_0);
--B1L75 is clkdiv:inst|add~448COUT1_463 at LC_X9_Y15_N6
--operation mode is arithmetic
B1L75_cout_1 = B1_count[2] & !B1L06;
B1L75 = CARRY(B1L75_cout_1);
--B1L85 is clkdiv:inst|add~451 at LC_X9_Y15_N5
--operation mode is arithmetic
B1L85_carry_eqn = B1L26;
B1L85 = B1_count[1] $ (B1L85_carry_eqn);
--B1L95 is clkdiv:inst|add~453 at LC_X9_Y15_N5
--operation mode is arithmetic
B1L95_cout_0 = !B1L26 # !B1_count[1];
B1L95 = CARRY(B1L95_cout_0);
--B1L06 is clkdiv:inst|add~453COUT1_462 at LC_X9_Y15_N5
--operation mode is arithmetic
B1L06_cout_1 = !B1L26 # !B1_count[1];
B1L06 = CARRY(B1L06_cout_1);
--B1L16 is clkdiv:inst|add~456 at LC_X9_Y15_N4
--operation mode is arithmetic
B1L16 = !B1_count[0];
--B1L26 is clkdiv:inst|add~458 at LC_X9_Y15_N4
--operation mode is arithmetic
B1L26 = CARRY(B1_count[0]);
--C2L82 is button:inst4|always0~0 at LC_X9_Y11_N9
--operation mode is normal
C2L82 = !reset # !C2_signal;
--D1_count[12] is clkdiv1ms:inst3|count[12] at LC_X8_Y9_N8
--operation mode is normal
D1_count[12]_lut_out = D1L4;
D1_count[12] = DFFEAS(D1_count[12]_lut_out, GLOBAL(clk), VCC, , , , , , );
--D1_count[14] is clkdiv1ms:inst3|count[14] at LC_X7_Y10_N9
--operation mode is normal
D1_count[14]_lut_out = D1L7 & D1L26;
D1_count[14] = DFFEAS(D1_count[14]_lut_out, GLOBAL(clk), VCC, , , , , , );
--D1_count[11] is clkdiv1ms:inst3|count[11] at LC_X7_Y10_N6
--operation mode is normal
D1_count[11]_lut_out = D1L26 & D1L8;
D1_count[11] = DFFEAS(D1_count[11]_lut_out, GLOBAL(clk), VCC, , , , , , );
--D1L85 is clkdiv1ms:inst3|reduce_nor~99 at LC_X8_Y9_N9
--operation mode is normal
D1_count[13]_qfbk = D1_count[13];
D1L85 = D1_count[12] # D1_count[13]_qfbk # !D1_count[14] # !D1_count[11];
--D1_count[13] is clkdiv1ms:inst3|count[13] at LC_X8_Y9_N9
--operation mode is normal
D1_count[13] = DFFEAS(D1L85, GLOBAL(clk), VCC, , , D1L1, , , VCC);
--D1_count[7] is clkdiv1ms:inst3|count[7] at LC_X7_Y9_N2
--operation mode is normal
D1_count[7]_lut_out = GND;
D1_count[7] = DFFEAS(D1_count[7]_lut_out, GLOBAL(clk), VCC, , , D1L31, , , VCC);
--D1_count[10] is clkdiv1ms:inst3|count[10] at LC_X7_Y10_N3
--operation mode is normal
D1_count[10]_lut_out = D1L61 & (D1L26);
D1_count[10] = DFFEAS(D1_count[10]_lut_out, GLOBAL(clk), VCC, , , , , , );
--D1_count[9] is clkdiv1ms:inst3|count[9] at LC_X7_Y10_N1
--operation mode is normal
D1_count[9]_lut_out = D1L91 & (D1L26);
D1_count[9] = DFFEAS(D1_count[9]_lut_out, GLOBAL(clk), VCC, , , , , , );
--D1L95 is clkdiv1ms:inst3|reduce_nor~100 at LC_X7_Y10_N2
--operation mode is normal
D1_count[8]_qfbk = D1_count[8];
D1L95 = D1_count[7] # D1_count[8]_qfbk # !D1_count[10] # !D1_count[9];
--D1_count[8] is clkdiv1ms:inst3|count[8] at LC_X7_Y10_N2
--operation mode is normal
D1_count[8] = DFFEAS(D1L95, GLOBAL(clk), VCC, , , D1L01, , , VCC);
--D1_count[4] is clkdiv1ms:inst3|count[4] at LC_X8_Y10_N0
--operation mode is normal
D1_count[4]_lut_out = GND;
D1_count[4] = DFFEAS(D1_count[4]_lut_out, GLOBAL(clk), VCC, , , D1L42, , , VCC);
--D1_count[3] is clkdiv1ms:inst3|count[3] at LC_X8_Y10_N2
--operation mode is normal
D1_count[3]_lut_out = D1L72;
D1_count[3] = DFFEAS(D1_count[3]_lut_out, GLOBAL(clk), VCC, , , , , , );
--D1_count[5] is clkdiv1ms:inst3|count[5] at LC_X7_Y10_N0
--operation mode is normal
D1_count[5]_lut_out = D1L26 & D1L03;
D1_count[5] = DFFEAS(D1_count[5]_lut_out, GLOBAL(clk), VCC, , , , , , );
--D1L06 is clkdiv1ms:inst3|reduce_nor~101 at LC_X7_Y10_N4
--operation mode is normal
D1_count[6]_qfbk = D1_count[6];
D1L06 = D1_count[3] # D1_count[6]_qfbk # D1_count[4] # !D1_count[5];
--D1_count[6] is clkdiv1ms:inst3|count[6] at LC_X7_Y10_N4
--operation mode is normal
D1_count[6] = DFFEAS(D1L06, GLOBAL(clk), VCC, , , D1L22, , , VCC);
--D1_count[1] is clkdiv1ms:inst3|count[1] at LC_X8_Y10_N1
--operation mode is normal
D1_count[1]_lut_out = GND;
D1_count[1] = DFFEAS(D1_count[1]_lut_out, GLOBAL(clk), VCC, , , D1L63, , , VCC);
--D1_count[0] is clkdiv1ms:inst3|count[0] at LC_X7_Y10_N5
--operation mode is normal
D1_count[0]_lut_out = D1L83 & D1L26;
D1_count[0] = DFFEAS(D1_count[0]_lut_out, GLOBAL(clk), VCC, , , , , , );
--D1L16 is clkdiv1ms:inst3|reduce_nor~102 at LC_X7_Y10_N7
--operation mode is normal
D1_count[2]_qfbk = D1_count[2];
D1L16 = D1_count[0] # D1_count[2]_qfbk # D1_count[1];
--D1_count[2] is clkdiv1ms:inst3|count[2] at LC_X7_Y10_N7
--operation mode is normal
D1_count[2] = DFFEAS(D1L16, GLOBAL(clk), VCC, , , D1L33, , , VCC);
--D1L26 is clkdiv1ms:inst3|reduce_nor~103 at LC_X7_Y10_N8
--operation mode is normal
D1L26 = D1L85 # D1L06 # D1L95 # D1L16;
--C1L1 is button:inst2|add~421 at LC_X37_Y10_N2
--operation mode is arithmetic
C1L1 = C1L03Q $ (C1L01);
--C1L2 is button:inst2|add~423 at LC_X37_Y10_N2
--operation mode is arithmetic
C1L2_cout_0 = !C1L01 # !C1L03Q;
C1L2 = CARRY(C1L2_cout_0);
--C1L3 is button:inst2|add~423COUT1_465 at LC_X37_Y10_N2
--operation mode is arithmetic
C1L3_cout_1 = !C1L11 # !C1L03Q;
C1L3 = CARRY(C1L3_cout_1);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?