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

📄 clock.fit.eqn

📁 电子课程设计数字钟的源代码
💻 EQN
📖 第 1 页 / 共 3 页
字号:
--operation mode is arithmetic

L1L7_cout_0 = !L1L4 # !L1_qn[1];
L1L7 = CARRY(L1L7_cout_0);

--L1L8 is wushifp:inst3|qn[1]~168COUT1_182 at LC_X10_Y10_N2
--operation mode is arithmetic

L1L8_cout_1 = !L1L5 # !L1_qn[1];
L1L8 = CARRY(L1L8_cout_1);


--L1_qn[2] is wushifp:inst3|qn[2] at LC_X10_Y10_N3
--operation mode is arithmetic

L1_qn[2]_lut_out = L1_qn[2] $ !L1L7;
L1_qn[2] = DFFEAS(L1_qn[2]_lut_out, GLOBAL(K2L33), GLOBAL(reset), , , , , L1L1, );

--L1L01 is wushifp:inst3|qn[2]~172 at LC_X10_Y10_N3
--operation mode is arithmetic

L1L01_cout_0 = L1_qn[2] & !L1L7;
L1L01 = CARRY(L1L01_cout_0);

--L1L11 is wushifp:inst3|qn[2]~172COUT1 at LC_X10_Y10_N3
--operation mode is arithmetic

L1L11_cout_1 = L1_qn[2] & !L1L8;
L1L11 = CARRY(L1L11_cout_1);


--L1_qn[3] is wushifp:inst3|qn[3] at LC_X10_Y10_N4
--operation mode is arithmetic

L1_qn[3]_lut_out = L1_qn[3] $ L1L01;
L1_qn[3] = DFFEAS(L1_qn[3]_lut_out, GLOBAL(K2L33), GLOBAL(reset), , , , , L1L1, );

--L1L31 is wushifp:inst3|qn[3]~176 at LC_X10_Y10_N4
--operation mode is arithmetic

L1L31 = L1L41;


--L1L61 is wushifp:inst3|qn[3]~179 at LC_X10_Y10_N9
--operation mode is normal

L1L61 = !L1_qn[3] & !L1_qn[1] & !L1_qn[2];


--L1L12 is wushifp:inst3|reduce_nor~0 at LC_X10_Y10_N7
--operation mode is normal

L1L12 = L1_qn[5] & L1_qn[4] & L1L61 & L1_qn[0];


--C1L31 is SECOND:17|LessThan~122 at LC_X27_Y10_N1
--operation mode is normal

C1L31 = C1_cnt0[3] & (C1_cnt0[2] # C1_cnt0[1] # C1_cnt0[0]);


--K1_qn[9] is yiqianfp:inst1|qn[9] at LC_X9_Y10_N9
--operation mode is normal

K1_qn[9]_carry_eqn = (!K1L71 & K1L82) # (K1L71 & K1L92);
K1_qn[9]_lut_out = K1_qn[9] $ (K1_qn[9]_carry_eqn);
K1_qn[9] = DFFEAS(K1_qn[9]_lut_out, GLOBAL(CLK_50), GLOBAL(reset), , , , , K1L2, );


--K1_qn[5] is yiqianfp:inst1|qn[5] at LC_X9_Y10_N5
--operation mode is arithmetic

K1_qn[5]_carry_eqn = K1L71;
K1_qn[5]_lut_out = K1_qn[5] $ K1_qn[5]_carry_eqn;
K1_qn[5] = DFFEAS(K1_qn[5]_lut_out, GLOBAL(CLK_50), GLOBAL(reset), , , , , K1L2, );

--K1L91 is yiqianfp:inst1|qn[5]~226 at LC_X9_Y10_N5
--operation mode is arithmetic

K1L91_cout_0 = !K1L71 # !K1_qn[5];
K1L91 = CARRY(K1L91_cout_0);

--K1L02 is yiqianfp:inst1|qn[5]~226COUT1_266 at LC_X9_Y10_N5
--operation mode is arithmetic

K1L02_cout_1 = !K1L71 # !K1_qn[5];
K1L02 = CARRY(K1L02_cout_1);


--K1_qn[6] is yiqianfp:inst1|qn[6] at LC_X9_Y10_N6
--operation mode is arithmetic

K1_qn[6]_carry_eqn = (!K1L71 & K1L91) # (K1L71 & K1L02);
K1_qn[6]_lut_out = K1_qn[6] $ (!K1_qn[6]_carry_eqn);
K1_qn[6] = DFFEAS(K1_qn[6]_lut_out, GLOBAL(CLK_50), GLOBAL(reset), , , , , K1L2, );

--K1L22 is yiqianfp:inst1|qn[6]~230 at LC_X9_Y10_N6
--operation mode is arithmetic

K1L22_cout_0 = K1_qn[6] & (!K1L91);
K1L22 = CARRY(K1L22_cout_0);

--K1L32 is yiqianfp:inst1|qn[6]~230COUT1_267 at LC_X9_Y10_N6
--operation mode is arithmetic

K1L32_cout_1 = K1_qn[6] & (!K1L02);
K1L32 = CARRY(K1L32_cout_1);


--K1_qn[7] is yiqianfp:inst1|qn[7] at LC_X9_Y10_N7
--operation mode is arithmetic

K1_qn[7]_carry_eqn = (!K1L71 & K1L22) # (K1L71 & K1L32);
K1_qn[7]_lut_out = K1_qn[7] $ (K1_qn[7]_carry_eqn);
K1_qn[7] = DFFEAS(K1_qn[7]_lut_out, GLOBAL(CLK_50), GLOBAL(reset), , , , , K1L2, );

--K1L52 is yiqianfp:inst1|qn[7]~234 at LC_X9_Y10_N7
--operation mode is arithmetic

K1L52_cout_0 = !K1L22 # !K1_qn[7];
K1L52 = CARRY(K1L52_cout_0);

--K1L62 is yiqianfp:inst1|qn[7]~234COUT1_268 at LC_X9_Y10_N7
--operation mode is arithmetic

K1L62_cout_1 = !K1L32 # !K1_qn[7];
K1L62 = CARRY(K1L62_cout_1);


--K1_qn[8] is yiqianfp:inst1|qn[8] at LC_X9_Y10_N8
--operation mode is arithmetic

K1_qn[8]_carry_eqn = (!K1L71 & K1L52) # (K1L71 & K1L62);
K1_qn[8]_lut_out = K1_qn[8] $ !K1_qn[8]_carry_eqn;
K1_qn[8] = DFFEAS(K1_qn[8]_lut_out, GLOBAL(CLK_50), GLOBAL(reset), , , , , K1L2, );

--K1L82 is yiqianfp:inst1|qn[8]~238 at LC_X9_Y10_N8
--operation mode is arithmetic

K1L82_cout_0 = K1_qn[8] & !K1L52;
K1L82 = CARRY(K1L82_cout_0);

--K1L92 is yiqianfp:inst1|qn[8]~238COUT1_269 at LC_X9_Y10_N8
--operation mode is arithmetic

K1L92_cout_1 = K1_qn[8] & !K1L62;
K1L92 = CARRY(K1L92_cout_1);


--K1L13 is yiqianfp:inst1|reduce_nor~54 at LC_X8_Y10_N7
--operation mode is normal

K1L13 = K1_qn[6] & K1_qn[5] & K1_qn[7] & K1_qn[8];


--K1_qn[0] is yiqianfp:inst1|qn[0] at LC_X9_Y10_N0
--operation mode is arithmetic

K1_qn[0]_lut_out = !K1_qn[0];
K1_qn[0] = DFFEAS(K1_qn[0]_lut_out, GLOBAL(CLK_50), GLOBAL(reset), , , , , K1L2, );

--K1L5 is yiqianfp:inst1|qn[0]~242 at LC_X9_Y10_N0
--operation mode is arithmetic

K1L5_cout_0 = K1_qn[0];
K1L5 = CARRY(K1L5_cout_0);

--K1L6 is yiqianfp:inst1|qn[0]~242COUT1_262 at LC_X9_Y10_N0
--operation mode is arithmetic

K1L6_cout_1 = K1_qn[0];
K1L6 = CARRY(K1L6_cout_1);


--K1_qn[1] is yiqianfp:inst1|qn[1] at LC_X9_Y10_N1
--operation mode is arithmetic

K1_qn[1]_lut_out = K1_qn[1] $ (K1L5);
K1_qn[1] = DFFEAS(K1_qn[1]_lut_out, GLOBAL(CLK_50), GLOBAL(reset), , , , , K1L2, );

--K1L8 is yiqianfp:inst1|qn[1]~246 at LC_X9_Y10_N1
--operation mode is arithmetic

K1L8_cout_0 = !K1L5 # !K1_qn[1];
K1L8 = CARRY(K1L8_cout_0);

--K1L9 is yiqianfp:inst1|qn[1]~246COUT1_263 at LC_X9_Y10_N1
--operation mode is arithmetic

K1L9_cout_1 = !K1L6 # !K1_qn[1];
K1L9 = CARRY(K1L9_cout_1);


--K1_qn[2] is yiqianfp:inst1|qn[2] at LC_X9_Y10_N2
--operation mode is arithmetic

K1_qn[2]_lut_out = K1_qn[2] $ (!K1L8);
K1_qn[2] = DFFEAS(K1_qn[2]_lut_out, GLOBAL(CLK_50), GLOBAL(reset), , , , , K1L2, );

--K1L11 is yiqianfp:inst1|qn[2]~250 at LC_X9_Y10_N2
--operation mode is arithmetic

K1L11_cout_0 = K1_qn[2] & (!K1L8);
K1L11 = CARRY(K1L11_cout_0);

--K1L21 is yiqianfp:inst1|qn[2]~250COUT1_264 at LC_X9_Y10_N2
--operation mode is arithmetic

K1L21_cout_1 = K1_qn[2] & (!K1L9);
K1L21 = CARRY(K1L21_cout_1);


--K1L23 is yiqianfp:inst1|reduce_nor~55 at LC_X8_Y10_N9
--operation mode is normal

K1L23 = K1_qn[0] & K1_qn[2] & K1_qn[1];


--K1_qn[3] is yiqianfp:inst1|qn[3] at LC_X9_Y10_N3
--operation mode is arithmetic

K1_qn[3]_lut_out = K1_qn[3] $ K1L11;
K1_qn[3] = DFFEAS(K1_qn[3]_lut_out, GLOBAL(CLK_50), GLOBAL(reset), , , , , K1L2, );

--K1L41 is yiqianfp:inst1|qn[3]~254 at LC_X9_Y10_N3
--operation mode is arithmetic

K1L41_cout_0 = !K1L11 # !K1_qn[3];
K1L41 = CARRY(K1L41_cout_0);

--K1L51 is yiqianfp:inst1|qn[3]~254COUT1_265 at LC_X9_Y10_N3
--operation mode is arithmetic

K1L51_cout_1 = !K1L21 # !K1_qn[3];
K1L51 = CARRY(K1L51_cout_1);


--K1_qn[4] is yiqianfp:inst1|qn[4] at LC_X9_Y10_N4
--operation mode is arithmetic

K1_qn[4]_lut_out = K1_qn[4] $ !K1L41;
K1_qn[4] = DFFEAS(K1_qn[4]_lut_out, GLOBAL(CLK_50), GLOBAL(reset), , , , , K1L2, );

--K1L71 is yiqianfp:inst1|qn[4]~258 at LC_X9_Y10_N4
--operation mode is arithmetic

K1L71 = CARRY(K1_qn[4] & !K1L51);


--K1L1 is yiqianfp:inst1|LessThan~98 at LC_X8_Y10_N5
--operation mode is normal

K1L1 = !K1_qn[4] & (!K1_qn[3]);


--K1L33 is yiqianfp:inst1|reduce_nor~56 at LC_X8_Y10_N6
--operation mode is normal

K1L33 = K1L23 & K1_qn[9] & K1L13 & K1L1;


--K2_qn[9] is yiqianfp:inst2|qn[9] at LC_X6_Y9_N9
--operation mode is normal

K2_qn[9]_carry_eqn = (!K2L71 & K2L82) # (K2L71 & K2L92);
K2_qn[9]_lut_out = K2_qn[9] $ (K2_qn[9]_carry_eqn);
K2_qn[9] = DFFEAS(K2_qn[9]_lut_out, GLOBAL(K1L33), GLOBAL(reset), , , , , K2L2, );


--K2_qn[5] is yiqianfp:inst2|qn[5] at LC_X6_Y9_N5
--operation mode is arithmetic

K2_qn[5]_carry_eqn = K2L71;
K2_qn[5]_lut_out = K2_qn[5] $ K2_qn[5]_carry_eqn;
K2_qn[5] = DFFEAS(K2_qn[5]_lut_out, GLOBAL(K1L33), GLOBAL(reset), , , , , K2L2, );

--K2L91 is yiqianfp:inst2|qn[5]~226 at LC_X6_Y9_N5
--operation mode is arithmetic

K2L91_cout_0 = !K2L71 # !K2_qn[5];
K2L91 = CARRY(K2L91_cout_0);

--K2L02 is yiqianfp:inst2|qn[5]~226COUT1_266 at LC_X6_Y9_N5
--operation mode is arithmetic

K2L02_cout_1 = !K2L71 # !K2_qn[5];
K2L02 = CARRY(K2L02_cout_1);


--K2_qn[6] is yiqianfp:inst2|qn[6] at LC_X6_Y9_N6
--operation mode is arithmetic

K2_qn[6]_carry_eqn = (!K2L71 & K2L91) # (K2L71 & K2L02);
K2_qn[6]_lut_out = K2_qn[6] $ (!K2_qn[6]_carry_eqn);
K2_qn[6] = DFFEAS(K2_qn[6]_lut_out, GLOBAL(K1L33), GLOBAL(reset), , , , , K2L2, );

--K2L22 is yiqianfp:inst2|qn[6]~230 at LC_X6_Y9_N6
--operation mode is arithmetic

K2L22_cout_0 = K2_qn[6] & (!K2L91);
K2L22 = CARRY(K2L22_cout_0);

--K2L32 is yiqianfp:inst2|qn[6]~230COUT1_267 at LC_X6_Y9_N6
--operation mode is arithmetic

K2L32_cout_1 = K2_qn[6] & (!K2L02);
K2L32 = CARRY(K2L32_cout_1);


--K2_qn[7] is yiqianfp:inst2|qn[7] at LC_X6_Y9_N7
--operation mode is arithmetic

K2_qn[7]_carry_eqn = (!K2L71 & K2L22) # (K2L71 & K2L32);
K2_qn[7]_lut_out = K2_qn[7] $ (K2_qn[7]_carry_eqn);
K2_qn[7] = DFFEAS(K2_qn[7]_lut_out, GLOBAL(K1L33), GLOBAL(reset), , , , , K2L2, );

--K2L52 is yiqianfp:inst2|qn[7]~234 at LC_X6_Y9_N7
--operation mode is arithmetic

K2L52_cout_0 = !K2L22 # !K2_qn[7];
K2L52 = CARRY(K2L52_cout_0);

--K2L62 is yiqianfp:inst2|qn[7]~234COUT1_268 at LC_X6_Y9_N7
--operation mode is arithmetic

K2L62_cout_1 = !K2L32 # !K2_qn[7];
K2L62 = CARRY(K2L62_cout_1);


--K2_qn[8] is yiqianfp:inst2|qn[8] at LC_X6_Y9_N8
--operation mode is arithmetic

K2_qn[8]_carry_eqn = (!K2L71 & K2L52) # (K2L71 & K2L62);
K2_qn[8]_lut_out = K2_qn[8] $ !K2_qn[8]_carry_eqn;
K2_qn[8] = DFFEAS(K2_qn[8]_lut_out, GLOBAL(K1L33), GLOBAL(reset), , , , , K2L2, );

--K2L82 is yiqianfp:inst2|qn[8]~238 at LC_X6_Y9_N8
--operation mode is arithmetic

K2L82_cout_0 = K2_qn[8] & !K2L52;
K2L82 = CARRY(K2L82_cout_0);

--K2L92 is yiqianfp:inst2|qn[8]~238COUT1_269 at LC_X6_Y9_N8
--operation mode is arithmetic

K2L92_cout_1 = K2_qn[8] & !K2L62;
K2L92 = CARRY(K2L92_cout_1);


--K2L13 is yiqianfp:inst2|reduce_nor~69 at LC_X7_Y9_N9
--operation mode is normal

K2L13 = K2_qn[8] & K2_qn[7] & K2_qn[5] & K2_qn[6];


--K2_qn[0] is yiqianfp:inst2|qn[0] at LC_X6_Y9_N0
--operation mode is arithmetic

K2_qn[0]_lut_out = !K2_qn[0];
K2_qn[0] = DFFEAS(K2_qn[0]_lut_out, GLOBAL(K1L33), GLOBAL(reset), , , , , K2L2, );

--K2L5 is yiqianfp:inst2|qn[0]~242 at LC_X6_Y9_N0
--operation mode is arithmetic

K2L5_cout_0 = K2_qn[0];
K2L5 = CARRY(K2L5_cout_0);

--K2L6 is yiqianfp:inst2|qn[0]~242COUT1_262 at LC_X6_Y9_N0
--operation mode is arithmetic

K2L6_cout_1 = K2_qn[0];
K2L6 = CARRY(K2L6_cout_1);


--K2_qn[1] is yiqianfp:inst2|qn[1] at LC_X6_Y9_N1
--operation mode is arithmetic

K2_qn[1]_lut_out = K2_qn[1] $ (K2L5);
K2_qn[1] = DFFEAS(K2_qn[1]_lut_out, GLOBAL(K1L33), GLOBAL(reset), , , , , K2L2, );

--K2L8 is yiqianfp:inst2|qn[1]~246 at LC_X6_Y9_N1
--operation mode is arithmetic

K2L8_cout_0 = !K2L5 # !K2_qn[1];
K2L8 = CARRY(K2L8_cout_0);

--K2L9 is yiqianfp:inst2|qn[1]~246COUT1_263 at LC_X6_Y9_N1
--operation mode is arithmetic

K2L9_cout_1 = !K2L6 # !K2_qn[1];
K2L9 = CARRY(K2L9_cout_1);


--K2_qn[2] is yiqianfp:inst2|qn[2] at LC_X6_Y9_N2
--operation mode is arithmetic

K2_qn[2]_lut_out = K2_qn[2] $ (!K2L8);
K2_qn[2] = DFFEAS(K2_qn[2]_lut_out, GLOBAL(K1L33), GLOBAL(reset), , , , , K2L2, );

--K2L11 is yiqianfp:inst2|qn[2]~250 at LC_X6_Y9_N2
--operation mode is arithmetic

K2L11_cout_0 = K2_qn[2] & (!K2L8);
K2L11 = CARRY(K2L11_cout_0);

--K2L21 is yiqianfp:inst2|qn[2]~250COUT1_264 at LC_X6_Y9_N2
--operation mode is arithmetic

⌨️ 快捷键说明

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