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

📄 clock.fit.eqn

📁 这是一个实现时分秒的时钟功能的源码
💻 EQN
📖 第 1 页 / 共 2 页
字号:

--D1L10 is counter24:u5|count~242 at LC_X10_Y13_N1
--operation mode is normal

D1L10 = D1_count[1] & (D1_count[3] # !A1L59) # !D1_count[1] & !D1_count[3] # !A1L61;


--D1L1 is counter24:u5|add~163 at LC_X9_Y13_N7
--operation mode is normal

D1L1 = D1_count[1] & D1_count[0];


--D1_count[3] is counter24:u5|count[3] at LC_X10_Y13_N8
--operation mode is normal

D1_count[3]_qfbk = D1_count[3];
D1_count[3]_lut_out = D1L10 & (D1_count[3]_qfbk $ (D1_count[2] & D1L1));
D1_count[3] = DFFEAS(D1_count[3]_lut_out, GLOBAL(C2_c), VCC, , , dinh[3], !GLOBAL(reset), , );


--D1_count[2] is counter24:u5|count[2] at LC_X10_Y13_N3
--operation mode is normal

D1_count[2]_qfbk = D1_count[2];
D1_count[2]_lut_out = D1L10 & (D1_count[2]_qfbk $ (D1_count[0] & D1_count[1]));
D1_count[2] = DFFEAS(D1_count[2]_lut_out, GLOBAL(C2_c), VCC, , , dinh[2], !GLOBAL(reset), , );


--clk is clk at PIN_29
--operation mode is input

clk = INPUT();


--dins[0] is dins[0] at PIN_68
--operation mode is input

dins[0] = INPUT();


--reset is reset at PIN_28
--operation mode is input

reset = INPUT();


--dins[1] is dins[1] at PIN_228
--operation mode is input

dins[1] = INPUT();


--dins[2] is dins[2] at PIN_73
--operation mode is input

dins[2] = INPUT();


--dins[3] is dins[3] at PIN_76
--operation mode is input

dins[3] = INPUT();


--dins[4] is dins[4] at PIN_186
--operation mode is input

dins[4] = INPUT();


--dins[5] is dins[5] at PIN_173
--operation mode is input

dins[5] = INPUT();


--dins[6] is dins[6] at PIN_193
--operation mode is input

dins[6] = INPUT();


--dinm[0] is dinm[0] at PIN_97
--operation mode is input

dinm[0] = INPUT();


--dinm[1] is dinm[1] at PIN_98
--operation mode is input

dinm[1] = INPUT();


--dinm[2] is dinm[2] at PIN_206
--operation mode is input

dinm[2] = INPUT();


--dinm[3] is dinm[3] at PIN_203
--operation mode is input

dinm[3] = INPUT();


--dinm[4] is dinm[4] at PIN_107
--operation mode is input

dinm[4] = INPUT();


--dinm[5] is dinm[5] at PIN_143
--operation mode is input

dinm[5] = INPUT();


--dinm[6] is dinm[6] at PIN_137
--operation mode is input

dinm[6] = INPUT();


--dinh[5] is dinh[5] at PIN_20
--operation mode is input

dinh[5] = INPUT();


--dinh[4] is dinh[4] at PIN_224
--operation mode is input

dinh[4] = INPUT();


--dinh[0] is dinh[0] at PIN_227
--operation mode is input

dinh[0] = INPUT();


--dinh[1] is dinh[1] at PIN_222
--operation mode is input

dinh[1] = INPUT();


--dinh[2] is dinh[2] at PIN_78
--operation mode is input

dinh[2] = INPUT();


--dinh[3] is dinh[3] at PIN_219
--operation mode is input

dinh[3] = INPUT();


--secondl[0] is secondl[0] at PIN_43
--operation mode is output

secondl[0] = OUTPUT(!E1L1);


--secondl[1] is secondl[1] at PIN_75
--operation mode is output

secondl[1] = OUTPUT(E1L2);


--secondl[2] is secondl[2] at PIN_67
--operation mode is output

secondl[2] = OUTPUT(E1L3);


--secondl[3] is secondl[3] at PIN_39
--operation mode is output

secondl[3] = OUTPUT(E1L4);


--secondl[4] is secondl[4] at PIN_41
--operation mode is output

secondl[4] = OUTPUT(E1L5);


--secondl[5] is secondl[5] at PIN_42
--operation mode is output

secondl[5] = OUTPUT(E1L6);


--secondl[6] is secondl[6] at PIN_38
--operation mode is output

secondl[6] = OUTPUT(E1L7);


--secondh[0] is secondh[0] at PIN_174
--operation mode is output

secondh[0] = OUTPUT(E2L1);


--secondh[1] is secondh[1] at PIN_177
--operation mode is output

secondh[1] = OUTPUT(E2L2);


--secondh[2] is secondh[2] at PIN_175
--operation mode is output

secondh[2] = OUTPUT(E2L3);


--secondh[3] is secondh[3] at PIN_188
--operation mode is output

secondh[3] = OUTPUT(E2L4);


--secondh[4] is secondh[4] at PIN_194
--operation mode is output

secondh[4] = OUTPUT(E2L5);


--secondh[5] is secondh[5] at PIN_187
--operation mode is output

secondh[5] = OUTPUT(!E2L6);


--secondh[6] is secondh[6] at PIN_169
--operation mode is output

secondh[6] = OUTPUT(E2L7);


--minutel[0] is minutel[0] at PIN_205
--operation mode is output

minutel[0] = OUTPUT(!E3L1);


--minutel[1] is minutel[1] at PIN_158
--operation mode is output

minutel[1] = OUTPUT(E3L2);


--minutel[2] is minutel[2] at PIN_96
--operation mode is output

minutel[2] = OUTPUT(E3L3);


--minutel[3] is minutel[3] at PIN_207
--operation mode is output

minutel[3] = OUTPUT(E3L4);


--minutel[4] is minutel[4] at PIN_204
--operation mode is output

minutel[4] = OUTPUT(E3L5);


--minutel[5] is minutel[5] at PIN_208
--operation mode is output

minutel[5] = OUTPUT(E3L6);


--minutel[6] is minutel[6] at PIN_94
--operation mode is output

minutel[6] = OUTPUT(E3L7);


--minuteh[0] is minuteh[0] at PIN_106
--operation mode is output

minuteh[0] = OUTPUT(E4L1);


--minuteh[1] is minuteh[1] at PIN_144
--operation mode is output

minuteh[1] = OUTPUT(E4L2);


--minuteh[2] is minuteh[2] at PIN_140
--operation mode is output

minuteh[2] = OUTPUT(E4L3);


--minuteh[3] is minuteh[3] at PIN_141
--operation mode is output

minuteh[3] = OUTPUT(E4L4);


--minuteh[4] is minuteh[4] at PIN_196
--operation mode is output

minuteh[4] = OUTPUT(E4L5);


--minuteh[5] is minuteh[5] at PIN_105
--operation mode is output

minuteh[5] = OUTPUT(!E4L6);


--minuteh[6] is minuteh[6] at PIN_195
--operation mode is output

minuteh[6] = OUTPUT(E4L7);


--hourl[0] is hourl[0] at PIN_84
--operation mode is output

hourl[0] = OUTPUT(!D1_count[5]);


--hourl[1] is hourl[1] at PIN_103
--operation mode is output

hourl[1] = OUTPUT(E6L1);


--hourl[2] is hourl[2] at PIN_81
--operation mode is output

hourl[2] = OUTPUT(D1_count[4]);


--hourl[3] is hourl[3] at PIN_100
--operation mode is output

hourl[3] = OUTPUT(E6L2);


--hourl[4] is hourl[4] at PIN_79
--operation mode is output

hourl[4] = OUTPUT(A1L59);


--hourl[5] is hourl[5] at PIN_58
--operation mode is output

hourl[5] = OUTPUT(GND);


--hourl[6] is hourl[6] at PIN_101
--operation mode is output

hourl[6] = OUTPUT(E6L2);


--hourh[0] is hourh[0] at PIN_23
--operation mode is output

hourh[0] = OUTPUT(!E5L1);


--hourh[1] is hourh[1] at PIN_225
--operation mode is output

hourh[1] = OUTPUT(E5L2);


--hourh[2] is hourh[2] at PIN_223
--operation mode is output

hourh[2] = OUTPUT(E5L3);


--hourh[3] is hourh[3] at PIN_21
--operation mode is output

hourh[3] = OUTPUT(E5L4);


--hourh[4] is hourh[4] at PIN_46
--operation mode is output

hourh[4] = OUTPUT(E5L5);


--hourh[5] is hourh[5] at PIN_18
--operation mode is output

hourh[5] = OUTPUT(E5L6);


--hourh[6] is hourh[6] at PIN_19
--operation mode is output

hourh[6] = OUTPUT(E5L7);




⌨️ 快捷键说明

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