Light.fit.eqn
资源名称:LED8.rar [点击查看]
上传用户:sunkay99
上传日期:2022-08-09
资源大小:204k
文件大小:15k
源码类别:
VHDL/FPGA/Verilog
开发平台:
Others
- -- 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.
- --A1L75Q is light[0]~reg0 at LC_X6_Y7_N1
- --operation mode is normal
- A1L75Q_lut_out = !flag[0] & A1L77Q & (!flag[2] # !flag[1]);
- A1L75Q = DFFEAS(A1L75Q_lut_out, GLOBAL(A1L3), VCC, , A1L79, , , , );
- --A1L77Q is light[1]~reg0 at LC_X6_Y7_N0
- --operation mode is normal
- A1L77Q_lut_out = A1L95 & (A1L80Q) # !A1L95 & A1L75Q & (A1L94);
- A1L77Q = DFFEAS(A1L77Q_lut_out, GLOBAL(A1L3), VCC, , A1L79, , , , );
- --A1L80Q is light[2]~reg0 at LC_X5_Y7_N3
- --operation mode is normal
- A1L80Q_lut_out = A1L95 & (A1L82Q) # !A1L95 & A1L77Q & (A1L94);
- A1L80Q = DFFEAS(A1L80Q_lut_out, GLOBAL(A1L3), VCC, , A1L79, , , , );
- --A1L82Q is light[3]~reg0 at LC_X5_Y7_N2
- --operation mode is normal
- A1L82Q_lut_out = flag[0] & A1L80Q & !flag[2] # !flag[0] & (flag[2] $ A1L96);
- A1L82Q = DFFEAS(A1L82Q_lut_out, GLOBAL(A1L3), VCC, , A1L79, , , , );
- --A1L84Q is light[4]~reg0 at LC_X5_Y7_N1
- --operation mode is normal
- A1L84Q_lut_out = flag[1] & !A1L97 & (A1L86Q # !flag[0]) # !flag[1] & (flag[0] & (A1L97) # !flag[0] & A1L86Q);
- A1L84Q = DFFEAS(A1L84Q_lut_out, GLOBAL(A1L3), VCC, , A1L79, , , , );
- --A1L86Q is light[5]~reg0 at LC_X4_Y7_N2
- --operation mode is normal
- A1L86Q_lut_out = A1L88 & (A1L92 & A1L84Q # !A1L92 & (A1L89Q));
- A1L86Q = DFFEAS(A1L86Q_lut_out, GLOBAL(A1L3), VCC, , A1L79, , , , );
- --A1L89Q is light[6]~reg0 at LC_X4_Y7_N1
- --operation mode is normal
- A1L89Q_lut_out = A1L88 & (A1L92 & A1L86Q # !A1L92 & (A1L91Q));
- A1L89Q = DFFEAS(A1L89Q_lut_out, GLOBAL(A1L3), VCC, , A1L79, , , , );
- --A1L91Q is light[7]~reg0 at LC_X3_Y7_N3
- --operation mode is normal
- A1L91Q_lut_out = flag[1] & A1L89Q & !flag[2] & !flag[0] # !flag[1] & (A1L89Q & !flag[2] # !flag[0]);
- A1L91Q = DFFEAS(A1L91Q_lut_out, GLOBAL(A1L3), VCC, , A1L79, , , , );
- --flag[2] is flag[2] at LC_X4_Y7_N4
- --operation mode is normal
- flag[2]_lut_out = flag[1] & flag[0] & (flag[2] # !A1L80Q) # !flag[1] & flag[2];
- flag[2] = DFFEAS(flag[2]_lut_out, GLOBAL(A1L3), VCC, , , , , , );
- --flag[1] is flag[1] at LC_X4_Y7_N8
- --operation mode is normal
- flag[1]_lut_out = flag[2] & (flag[0]) # !flag[2] & (flag[1] $ (!A1L65 & flag[0]));
- flag[1] = DFFEAS(flag[1]_lut_out, GLOBAL(A1L3), VCC, , , , , , );
- --flag[0] is flag[0] at LC_X6_Y7_N6
- --operation mode is normal
- flag[0]_lut_out = flag[0] & (A1L62 # A1L77Q & A1L95) # !flag[0] & A1L77Q & (A1L95);
- flag[0] = DFFEAS(flag[0]_lut_out, GLOBAL(A1L3), VCC, , , , , , );
- --Count2[7] is Count2[7] at LC_X9_Y7_N7
- --operation mode is normal
- Count2[7]_carry_eqn = (!A1L47 & A1L54) # (A1L47 & A1L55);
- Count2[7]_lut_out = Count2[7] $ Count2[7]_carry_eqn;
- Count2[7] = DFFEAS(Count2[7]_lut_out, GLOBAL(Count1[9]), VCC, , , , , A1L69, );
- --clk2 is clk2 at LC_X10_Y7_N5
- --operation mode is normal
- clk2_lut_out = !clk2;
- clk2 = DFFEAS(clk2_lut_out, Count2[7], VCC, , , , , , );
- --banner is banner at LC_X5_Y7_N0
- --operation mode is normal
- banner_lut_out = banner $ (!flag[0] & flag[1] & flag[2]);
- banner = DFFEAS(banner_lut_out, GLOBAL(A1L3), VCC, , , , , , );
- --A1L3 is clk~10 at LC_X10_Y7_N3
- --operation mode is normal
- A1L3 = banner & (Count2[7]) # !banner & clk2;
- --A1L79 is light[2]~1016 at LC_X4_Y7_N6
- --operation mode is normal
- A1L79 = !flag[1] # !flag[2];
- --A1L94 is rtl~686 at LC_X6_Y7_N9
- --operation mode is normal
- A1L94 = flag[0] & !flag[2];
- --A1L95 is rtl~687 at LC_X6_Y7_N5
- --operation mode is normal
- A1L95 = !flag[0] & (!flag[2] # !flag[1]);
- --A1L96 is rtl~688 at LC_X5_Y7_N5
- --operation mode is normal
- A1L96 = flag[1] # A1L84Q & !flag[2];
- --A1L97 is rtl~690 at LC_X5_Y7_N8
- --operation mode is normal
- A1L97 = flag[1] & (flag[2]) # !flag[1] & A1L82Q & !flag[2];
- --A1L88 is light[6]~1019 at LC_X4_Y7_N7
- --operation mode is normal
- A1L88 = !flag[1] & !flag[0] # !flag[2];
- --A1L92 is light~1020 at LC_X4_Y7_N3
- --operation mode is normal
- A1L92 = flag[1] & (flag[2] # !flag[0]) # !flag[1] & (flag[0]);
- --A1L65 is flag~576 at LC_X4_Y7_N5
- --operation mode is normal
- A1L65 = flag[1] & (A1L80Q) # !flag[1] & (A1L89Q);
- --A1L62 is flag[0]~578 at LC_X5_Y7_N6
- --operation mode is normal
- A1L62 = flag[2] & (flag[1]) # !flag[2] & (flag[1] & (A1L80Q) # !flag[1] & A1L89Q);
- --Count1[9] is Count1[9] at LC_X10_Y4_N9
- --operation mode is normal
- Count1[9]_carry_eqn = (!A1L19 & A1L30) # (A1L19 & A1L31);
- Count1[9]_lut_out = Count1[9]_carry_eqn $ Count1[9];
- Count1[9] = DFFEAS(Count1[9]_lut_out, GLOBAL(Period1uS), VCC, , , , , A1L72, );
- --Count2[4] is Count2[4] at LC_X9_Y7_N4
- --operation mode is arithmetic
- Count2[4]_lut_out = Count2[4] $ (!A1L44);
- Count2[4] = DFFEAS(Count2[4]_lut_out, GLOBAL(Count1[9]), VCC, , , , , A1L69, );
- --A1L47 is Count2[4]~105 at LC_X9_Y7_N4
- --operation mode is arithmetic
- A1L47 = A1L48;
- --Count2[5] is Count2[5] at LC_X9_Y7_N5
- --operation mode is arithmetic
- Count2[5]_carry_eqn = (!A1L47 & GND) # (A1L47 & VCC);
- Count2[5]_lut_out = Count2[5] $ (Count2[5]_carry_eqn);
- Count2[5] = DFFEAS(Count2[5]_lut_out, GLOBAL(Count1[9]), VCC, , , , , A1L69, );
- --A1L51 is Count2[5]~109 at LC_X9_Y7_N5
- --operation mode is arithmetic
- A1L51_cout_0 = !A1L47 # !Count2[5];
- A1L51 = CARRY(A1L51_cout_0);
- --A1L52 is Count2[5]~109COUT1_146 at LC_X9_Y7_N5
- --operation mode is arithmetic
- A1L52_cout_1 = !A1L47 # !Count2[5];
- A1L52 = CARRY(A1L52_cout_1);
- --Count2[6] is Count2[6] at LC_X9_Y7_N6
- --operation mode is arithmetic
- Count2[6]_carry_eqn = (!A1L47 & A1L51) # (A1L47 & A1L52);
- Count2[6]_lut_out = Count2[6] $ (!Count2[6]_carry_eqn);
- Count2[6] = DFFEAS(Count2[6]_lut_out, GLOBAL(Count1[9]), VCC, , , , , A1L69, );
- --A1L54 is Count2[6]~113 at LC_X9_Y7_N6
- --operation mode is arithmetic
- A1L54_cout_0 = Count2[6] & (!A1L51);
- A1L54 = CARRY(A1L54_cout_0);
- --A1L55 is Count2[6]~113COUT1_148 at LC_X9_Y7_N6
- --operation mode is arithmetic
- A1L55_cout_1 = Count2[6] & (!A1L52);
- A1L55 = CARRY(A1L55_cout_1);
- --Count2[3] is Count2[3] at LC_X9_Y7_N3
- --operation mode is arithmetic
- Count2[3]_lut_out = Count2[3] $ (A1L41);
- Count2[3] = DFFEAS(Count2[3]_lut_out, GLOBAL(Count1[9]), VCC, , , , , A1L69, );
- --A1L44 is Count2[3]~117 at LC_X9_Y7_N3
- --operation mode is arithmetic
- A1L44_cout_0 = !A1L41 # !Count2[3];
- A1L44 = CARRY(A1L44_cout_0);
- --A1L45 is Count2[3]~117COUT1_144 at LC_X9_Y7_N3
- --operation mode is arithmetic
- A1L45_cout_1 = !A1L42 # !Count2[3];
- A1L45 = CARRY(A1L45_cout_1);
- --Count2[1] is Count2[1] at LC_X9_Y7_N1
- --operation mode is arithmetic
- Count2[1]_lut_out = Count2[1] $ A1L35;
- Count2[1] = DFFEAS(Count2[1]_lut_out, GLOBAL(Count1[9]), VCC, , , , , A1L69, );
- --A1L38 is Count2[1]~121 at LC_X9_Y7_N1
- --operation mode is arithmetic
- A1L38_cout_0 = !A1L35 # !Count2[1];
- A1L38 = CARRY(A1L38_cout_0);
- --A1L39 is Count2[1]~121COUT1_141 at LC_X9_Y7_N1
- --operation mode is arithmetic
- A1L39_cout_1 = !A1L36 # !Count2[1];
- A1L39 = CARRY(A1L39_cout_1);
- --Count2[2] is Count2[2] at LC_X9_Y7_N2
- --operation mode is arithmetic
- Count2[2]_lut_out = Count2[2] $ !A1L38;
- Count2[2] = DFFEAS(Count2[2]_lut_out, GLOBAL(Count1[9]), VCC, , , , , A1L69, );
- --A1L41 is Count2[2]~125 at LC_X9_Y7_N2
- --operation mode is arithmetic
- A1L41_cout_0 = Count2[2] & !A1L38;
- A1L41 = CARRY(A1L41_cout_0);
- --A1L42 is Count2[2]~125COUT1_143 at LC_X9_Y7_N2
- --operation mode is arithmetic
- A1L42_cout_1 = Count2[2] & !A1L39;
- A1L42 = CARRY(A1L42_cout_1);
- --A1L68 is LessThan~338 at LC_X9_Y7_N9
- --operation mode is normal
- A1L68 = Count2[3] & Count2[7] & (Count2[2] # Count2[1]);
- --A1L69 is LessThan~339 at LC_X9_Y7_N8
- --operation mode is normal
- A1L69 = Count2[4] & Count2[6] & Count2[5] & A1L68;
- --Period1uS is Period1uS at LC_X10_Y3_N4
- --operation mode is normal
- Period1uS_lut_out = Count[1] & Count[0] & !Period1uS & Count[2] # !Count[1] & !Count[0] & Period1uS & !Count[2];
- Period1uS = DFFEAS(Period1uS_lut_out, GLOBAL(GCLKP1), VCC, , , , , , );
- --Count1[8] is Count1[8] at LC_X10_Y4_N8
- --operation mode is arithmetic
- Count1[8]_carry_eqn = (!A1L19 & A1L27) # (A1L19 & A1L28);
- Count1[8]_lut_out = Count1[8] $ (!Count1[8]_carry_eqn);
- Count1[8] = DFFEAS(Count1[8]_lut_out, GLOBAL(Period1uS), VCC, , , , , A1L72, );
- --A1L30 is Count1[8]~131 at LC_X10_Y4_N8
- --operation mode is arithmetic
- A1L30_cout_0 = Count1[8] & (!A1L27);
- A1L30 = CARRY(A1L30_cout_0);
- --A1L31 is Count1[8]~131COUT1_190 at LC_X10_Y4_N8
- --operation mode is arithmetic
- A1L31_cout_1 = Count1[8] & (!A1L28);
- A1L31 = CARRY(A1L31_cout_1);
- --Count1[5] is Count1[5] at LC_X10_Y4_N5
- --operation mode is arithmetic
- Count1[5]_carry_eqn = A1L19;
- Count1[5]_lut_out = Count1[5] $ (Count1[5]_carry_eqn);
- Count1[5] = DFFEAS(Count1[5]_lut_out, GLOBAL(Period1uS), VCC, , , , , A1L72, );
- --A1L21 is Count1[5]~135 at LC_X10_Y4_N5
- --operation mode is arithmetic
- A1L21_cout_0 = !A1L19 # !Count1[5];
- A1L21 = CARRY(A1L21_cout_0);
- --A1L22 is Count1[5]~135COUT1_184 at LC_X10_Y4_N5
- --operation mode is arithmetic
- A1L22_cout_1 = !A1L19 # !Count1[5];
- A1L22 = CARRY(A1L22_cout_1);
- --Count1[6] is Count1[6] at LC_X10_Y4_N6
- --operation mode is arithmetic
- Count1[6]_carry_eqn = (!A1L19 & A1L21) # (A1L19 & A1L22);
- Count1[6]_lut_out = Count1[6] $ (!Count1[6]_carry_eqn);
- Count1[6] = DFFEAS(Count1[6]_lut_out, GLOBAL(Period1uS), VCC, , , , , A1L72, );
- --A1L24 is Count1[6]~139 at LC_X10_Y4_N6
- --operation mode is arithmetic
- A1L24_cout_0 = Count1[6] & (!A1L21);
- A1L24 = CARRY(A1L24_cout_0);
- --A1L25 is Count1[6]~139COUT1_186 at LC_X10_Y4_N6
- --operation mode is arithmetic
- A1L25_cout_1 = Count1[6] & (!A1L22);
- A1L25 = CARRY(A1L25_cout_1);
- --Count1[7] is Count1[7] at LC_X10_Y4_N7
- --operation mode is arithmetic
- Count1[7]_carry_eqn = (!A1L19 & A1L24) # (A1L19 & A1L25);
- Count1[7]_lut_out = Count1[7] $ Count1[7]_carry_eqn;
- Count1[7] = DFFEAS(Count1[7]_lut_out, GLOBAL(Period1uS), VCC, , , , , A1L72, );
- --A1L27 is Count1[7]~143 at LC_X10_Y4_N7
- --operation mode is arithmetic
- A1L27_cout_0 = !A1L24 # !Count1[7];
- A1L27 = CARRY(A1L27_cout_0);
- --A1L28 is Count1[7]~143COUT1_188 at LC_X10_Y4_N7
- --operation mode is arithmetic
- A1L28_cout_1 = !A1L25 # !Count1[7];
- A1L28 = CARRY(A1L28_cout_1);
- --A1L70 is LessThan~340 at LC_X11_Y4_N7
- --operation mode is normal
- A1L70 = Count1[9] & Count1[7] & Count1[6] & Count1[5];
- --Count1[4] is Count1[4] at LC_X10_Y4_N4
- --operation mode is arithmetic
- Count1[4]_lut_out = Count1[4] $ (!A1L16);
- Count1[4] = DFFEAS(Count1[4]_lut_out, GLOBAL(Period1uS), VCC, , , , , A1L72, );
- --A1L19 is Count1[4]~147 at LC_X10_Y4_N4
- --operation mode is arithmetic
- A1L19 = CARRY(Count1[4] & (!A1L17));
- --Count1[3] is Count1[3] at LC_X10_Y4_N3
- --operation mode is arithmetic
- Count1[3]_lut_out = Count1[3] $ (A1L13);
- Count1[3] = DFFEAS(Count1[3]_lut_out, GLOBAL(Period1uS), VCC, , , , , A1L72, );
- --A1L16 is Count1[3]~151 at LC_X10_Y4_N3
- --operation mode is arithmetic
- A1L16_cout_0 = !A1L13 # !Count1[3];
- A1L16 = CARRY(A1L16_cout_0);
- --A1L17 is Count1[3]~151COUT1_182 at LC_X10_Y4_N3
- --operation mode is arithmetic
- A1L17_cout_1 = !A1L14 # !Count1[3];
- A1L17 = CARRY(A1L17_cout_1);
- --Count1[0] is Count1[0] at LC_X10_Y4_N0
- --operation mode is arithmetic
- Count1[0]_lut_out = !Count1[0];
- Count1[0] = DFFEAS(Count1[0]_lut_out, GLOBAL(Period1uS), VCC, , , , , A1L72, );
- --A1L7 is Count1[0]~155 at LC_X10_Y4_N0
- --operation mode is arithmetic
- A1L7_cout_0 = Count1[0];
- A1L7 = CARRY(A1L7_cout_0);
- --A1L8 is Count1[0]~155COUT1_176 at LC_X10_Y4_N0
- --operation mode is arithmetic
- A1L8_cout_1 = Count1[0];
- A1L8 = CARRY(A1L8_cout_1);
- --Count1[1] is Count1[1] at LC_X10_Y4_N1
- --operation mode is arithmetic
- Count1[1]_lut_out = Count1[1] $ A1L7;
- Count1[1] = DFFEAS(Count1[1]_lut_out, GLOBAL(Period1uS), VCC, , , , , A1L72, );
- --A1L10 is Count1[1]~159 at LC_X10_Y4_N1
- --operation mode is arithmetic
- A1L10_cout_0 = !A1L7 # !Count1[1];
- A1L10 = CARRY(A1L10_cout_0);
- --A1L11 is Count1[1]~159COUT1_178 at LC_X10_Y4_N1
- --operation mode is arithmetic
- A1L11_cout_1 = !A1L8 # !Count1[1];
- A1L11 = CARRY(A1L11_cout_1);
- --Count1[2] is Count1[2] at LC_X10_Y4_N2
- --operation mode is arithmetic
- Count1[2]_lut_out = Count1[2] $ !A1L10;
- Count1[2] = DFFEAS(Count1[2]_lut_out, GLOBAL(Period1uS), VCC, , , , , A1L72, );
- --A1L13 is Count1[2]~163 at LC_X10_Y4_N2
- --operation mode is arithmetic
- A1L13_cout_0 = Count1[2] & !A1L10;
- A1L13 = CARRY(A1L13_cout_0);
- --A1L14 is Count1[2]~163COUT1_180 at LC_X10_Y4_N2
- --operation mode is arithmetic
- A1L14_cout_1 = Count1[2] & !A1L11;
- A1L14 = CARRY(A1L14_cout_1);
- --A1L71 is LessThan~341 at LC_X11_Y4_N3
- --operation mode is normal
- A1L71 = Count1[3] # Count1[0] & Count1[1] & Count1[2];
- --A1L72 is LessThan~342 at LC_X11_Y4_N4
- --operation mode is normal
- A1L72 = Count1[8] & A1L70 & (Count1[4] # A1L71);
- --Count2[0] is Count2[0] at LC_X9_Y7_N0
- --operation mode is arithmetic
- Count2[0]_lut_out = !Count2[0];
- Count2[0] = DFFEAS(Count2[0]_lut_out, GLOBAL(Count1[9]), VCC, , , , , A1L69, );
- --A1L35 is Count2[0]~129 at LC_X9_Y7_N0
- --operation mode is arithmetic
- A1L35_cout_0 = Count2[0];
- A1L35 = CARRY(A1L35_cout_0);
- --A1L36 is Count2[0]~129COUT1_139 at LC_X9_Y7_N0
- --operation mode is arithmetic
- A1L36_cout_1 = Count2[0];
- A1L36 = CARRY(A1L36_cout_1);
- --Count[2] is Count[2] at LC_X10_Y3_N3
- --operation mode is normal
- Count[2]_lut_out = !Period1uS & (Count[2] $ (Count[1] & Count[0]));
- Count[2] = DFFEAS(Count[2]_lut_out, GLOBAL(GCLKP1), VCC, , , , , , );
- --Count[1] is Count[1] at LC_X10_Y3_N6
- --operation mode is normal
- Count[1]_lut_out = !Period1uS & (Count[1] $ Count[0]);
- Count[1] = DFFEAS(Count[1]_lut_out, GLOBAL(GCLKP1), VCC, , , , , , );
- --Count[0] is Count[0] at LC_X10_Y3_N2
- --operation mode is normal
- Count[0]_lut_out = !Count[0] & (!Count[1] & !Count[2] # !Period1uS);
- Count[0] = DFFEAS(Count[0]_lut_out, GLOBAL(GCLKP1), VCC, , , , , , );
- --GCLKP2 is GCLKP2 at PIN_30
- --operation mode is input
- GCLKP2 = INPUT();
- --GCLKP1 is GCLKP1 at PIN_14
- --operation mode is input
- GCLKP1 = INPUT();
- --light[0] is light[0] at PIN_91
- --operation mode is output
- light[0] = OUTPUT(A1L75Q);
- --light[1] is light[1] at PIN_92
- --operation mode is output
- light[1] = OUTPUT(A1L77Q);
- --light[2] is light[2] at PIN_95
- --operation mode is output
- light[2] = OUTPUT(A1L80Q);
- --light[3] is light[3] at PIN_96
- --operation mode is output
- light[3] = OUTPUT(A1L82Q);
- --light[4] is light[4] at PIN_97
- --operation mode is output
- light[4] = OUTPUT(A1L84Q);
- --light[5] is light[5] at PIN_98
- --operation mode is output
- light[5] = OUTPUT(A1L86Q);
- --light[6] is light[6] at PIN_99
- --operation mode is output
- light[6] = OUTPUT(A1L89Q);
- --light[7] is light[7] at PIN_100
- --operation mode is output
- light[7] = OUTPUT(A1L91Q);