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

📄 counter_7seg.fit.eqn

📁 带分频器的bcd计数电路设计
💻 EQN
📖 第 1 页 / 共 2 页
字号:
--C1_cn is bcd_counter:inst4|cn at LC_X13_Y30_N9
--operation mode is normal

C1_cn_lut_out = C1L51 & C1_cn # !C1L41;
C1_cn = DFFEAS(C1_cn_lut_out, GLOBAL(B1_count2[9]), !GLOBAL(clr), , , , , , );


--C1_high[0] is bcd_counter:inst4|high[0] at LC_X14_Y30_N6
--operation mode is normal

C1_high[0]_lut_out = !C1_high[0];
C1_high[0] = DFFEAS(C1_high[0]_lut_out, GLOBAL(B1_count2[9]), !GLOBAL(clr), , C1L51, , , , );


--C1_high[1] is bcd_counter:inst4|high[1] at LC_X14_Y30_N2
--operation mode is normal

C1_high[1]_lut_out = C1_high[1] & !C1_high[0] # !C1_high[1] & C1_high[0] & C1_high[2] # !C1_high[3];
C1_high[1] = DFFEAS(C1_high[1]_lut_out, GLOBAL(B1_count2[9]), !GLOBAL(clr), , C1L51, , , , );


--C1_high[2] is bcd_counter:inst4|high[2] at LC_X13_Y30_N8
--operation mode is normal

C1_high[2]_lut_out = !C1_high[2];
C1_high[2] = DFFEAS(C1_high[2]_lut_out, GLOBAL(B1_count2[9]), !GLOBAL(clr), , C1L7, , , , );


--C1_high[3] is bcd_counter:inst4|high[3] at LC_X14_Y30_N0
--operation mode is normal

C1_high[3]_lut_out = C1_high[1] & C1_high[3] $ (C1_high[0] & C1_high[2]) # !C1_high[1] & C1_high[3] & C1_high[2] # !C1_high[0];
C1_high[3] = DFFEAS(C1_high[3]_lut_out, GLOBAL(B1_count2[9]), !GLOBAL(clr), , C1L51, , , , );


--D1L7 is decoder_7seg_new:inst5|segment[6]~29 at LC_X14_Y30_N5
--operation mode is normal

D1L7 = C1_high[1] & C1_high[3] # !C1_high[1] & C1_high[2] $ (C1_high[0] & !C1_high[3]);


--D1L6 is decoder_7seg_new:inst5|segment[5]~31 at LC_X14_Y30_N7
--operation mode is normal

D1L6 = C1_high[2] & C1_high[3] # C1_high[1] $ C1_high[0] # !C1_high[2] & C1_high[1] & C1_high[3];


--D1L5 is decoder_7seg_new:inst5|segment[4]~33 at LC_X14_Y30_N8
--operation mode is normal

D1L5 = C1_high[2] & C1_high[3] # !C1_high[2] & C1_high[1] & C1_high[3] # !C1_high[0];


--D1L1 is decoder_7seg_new:inst5|reduce_or~55 at LC_X14_Y30_N3
--operation mode is normal

D1L1 = C1_high[1] & C1_high[3] # C1_high[0] & C1_high[2] # !C1_high[1] & C1_high[2] $ (C1_high[0] & !C1_high[3]);


--D1L2 is decoder_7seg_new:inst5|reduce_or~57 at LC_X14_Y30_N9
--operation mode is normal

D1L2 = C1_high[0] # C1_high[1] & C1_high[3] # !C1_high[1] & C1_high[2];


--D1L3 is decoder_7seg_new:inst5|reduce_or~59 at LC_X14_Y30_N1
--operation mode is normal

D1L3 = C1_high[0] & C1_high[1] # C1_high[2] $ !C1_high[3] # !C1_high[0] & C1_high[2] & C1_high[3] # !C1_high[2] & C1_high[1];


--D1L4 is decoder_7seg_new:inst5|reduce_or~61 at LC_X14_Y30_N4
--operation mode is normal

D1L4 = C1_high[1] & !C1_high[3] & !C1_high[2] # !C1_high[0] # !C1_high[1] & C1_high[2] $ C1_high[3];


--C1_low[0] is bcd_counter:inst4|low[0] at LC_X13_Y30_N7
--operation mode is normal

C1_low[0]_lut_out = !C1_low[0];
C1_low[0] = DFFEAS(C1_low[0]_lut_out, GLOBAL(B1_count2[9]), !GLOBAL(clr), , , , , , );


--C1_low[1] is bcd_counter:inst4|low[1] at LC_X13_Y30_N6
--operation mode is normal

C1_low[1]_lut_out = C1_low[0] & !C1_low[1] & C1_low[2] # !C1_low[3] # !C1_low[0] & C1_low[1];
C1_low[1] = DFFEAS(C1_low[1]_lut_out, GLOBAL(B1_count2[9]), !GLOBAL(clr), , , , , , );


--C1_low[2] is bcd_counter:inst4|low[2] at LC_X12_Y30_N9
--operation mode is normal

C1_low[2]_lut_out = !C1_low[2];
C1_low[2] = DFFEAS(C1_low[2]_lut_out, GLOBAL(B1_count2[9]), !GLOBAL(clr), , C1L1, , , , );


--C1_low[3] is bcd_counter:inst4|low[3] at LC_X13_Y30_N2
--operation mode is normal

C1_low[3]_lut_out = C1_low[0] & C1_low[1] & C1_low[2] $ C1_low[3] # !C1_low[1] & C1_low[2] & C1_low[3] # !C1_low[0] & C1_low[3];
C1_low[3] = DFFEAS(C1_low[3]_lut_out, GLOBAL(B1_count2[9]), !GLOBAL(clr), , , , , , );


--D2L7 is decoder_7seg_new:inst6|segment[6]~29 at LC_X13_Y30_N1
--operation mode is normal

D2L7 = C1_low[1] & C1_low[3] # !C1_low[1] & C1_low[2] $ (C1_low[0] & !C1_low[3]);


--D2L6 is decoder_7seg_new:inst6|segment[5]~31 at LC_X12_Y30_N7
--operation mode is normal

D2L6 = C1_low[3] & C1_low[1] # C1_low[2] # !C1_low[3] & C1_low[2] & C1_low[1] $ C1_low[0];


--D2L5 is decoder_7seg_new:inst6|segment[4]~33 at LC_X12_Y30_N5
--operation mode is normal

D2L5 = C1_low[2] & C1_low[3] # !C1_low[2] & C1_low[1] & C1_low[3] # !C1_low[0];


--D2L1 is decoder_7seg_new:inst6|reduce_or~55 at LC_X12_Y30_N2
--operation mode is normal

D2L1 = C1_low[1] & C1_low[3] # C1_low[0] & C1_low[2] # !C1_low[1] & C1_low[2] $ (!C1_low[3] & C1_low[0]);


--D2L2 is decoder_7seg_new:inst6|reduce_or~57 at LC_X12_Y30_N6
--operation mode is normal

D2L2 = C1_low[0] # C1_low[1] & C1_low[3] # !C1_low[1] & C1_low[2];


--D2L3 is decoder_7seg_new:inst6|reduce_or~59 at LC_X12_Y30_N8
--operation mode is normal

D2L3 = C1_low[0] & C1_low[1] # C1_low[3] $ !C1_low[2] # !C1_low[0] & C1_low[2] & C1_low[3] # !C1_low[2] & C1_low[1];


--D2L4 is decoder_7seg_new:inst6|reduce_or~61 at LC_X12_Y30_N4
--operation mode is normal

D2L4 = C1_low[1] & !C1_low[3] & !C1_low[2] # !C1_low[0] # !C1_low[1] & C1_low[3] $ (C1_low[2]);


--C1L41 is bcd_counter:inst4|reduce_nor~41 at LC_X13_Y30_N5
--operation mode is normal

C1L41 = C1_high[2] # C1_high[1] # !C1_high[3] # !C1_high[0];


--C1L51 is bcd_counter:inst4|reduce_nor~42 at LC_X13_Y30_N3
--operation mode is normal

C1L51 = C1_low[0] & !C1_low[1] & !C1_low[2] & C1_low[3];


--B1_count2[9] is f50MHz_to_1Hz:inst|count2[9] at LC_X13_Y22_N7
--operation mode is normal

B1_count2[9]_lut_out = B1L101 & B1L72;
B1_count2[9] = DFFEAS(B1_count2[9]_lut_out, GLOBAL(B1L17Q), VCC, , , , , , );


--C1L7 is bcd_counter:inst4|high[2]~108 at LC_X13_Y30_N4
--operation mode is normal

C1L7 = C1_high[1] & C1_high[0] & C1L51;


--C1L1 is bcd_counter:inst4|add~109 at LC_X13_Y30_N0
--operation mode is normal

C1L1 = C1_low[0] & C1_low[1];


--B1L72 is f50MHz_to_1Hz:inst|add~271 at LC_X14_Y22_N9
--operation mode is normal

B1L72_carry_eqn = (!B1L41 & B1L52) # (B1L41 & B1L62);
B1L72 = B1_count2[9] $ (B1L72_carry_eqn);


--B1_count2[8] is f50MHz_to_1Hz:inst|count2[8] at LC_X13_Y22_N6
--operation mode is normal

B1_count2[8]_lut_out = B1L42 & B1L101;
B1_count2[8] = DFFEAS(B1_count2[8]_lut_out, GLOBAL(B1L17Q), VCC, , , , , , );


--B1_count2[7] is f50MHz_to_1Hz:inst|count2[7] at LC_X13_Y22_N9
--operation mode is normal

B1_count2[7]_lut_out = B1L12 & B1L101;
B1_count2[7] = DFFEAS(B1_count2[7]_lut_out, GLOBAL(B1L17Q), VCC, , , , , , );


--B1_count2[6] is f50MHz_to_1Hz:inst|count2[6] at LC_X13_Y22_N5
--operation mode is normal

B1_count2[6]_lut_out = B1L81 & B1L101;
B1_count2[6] = DFFEAS(B1_count2[6]_lut_out, GLOBAL(B1L17Q), VCC, , , , , , );


--B1L99 is f50MHz_to_1Hz:inst|reduce_nor~166 at LC_X13_Y22_N0
--operation mode is normal

B1L99 = !B1_count2[8] # !B1_count2[9] # !B1_count2[7] # !B1_count2[6];


--B1_count2[3] is f50MHz_to_1Hz:inst|count2[3] at LC_X13_Y22_N4
--operation mode is normal

B1_count2[3]_lut_out = B1L101 & B1L01;
B1_count2[3] = DFFEAS(B1_count2[3]_lut_out, GLOBAL(B1L17Q), VCC, , , , , , );


--B1_count2[5] is f50MHz_to_1Hz:inst|count2[5] at LC_X13_Y22_N1
--operation mode is normal

B1_count2[5]_lut_out = B1L101 & B1L51;
B1_count2[5] = DFFEAS(B1_count2[5]_lut_out, GLOBAL(B1L17Q), VCC, , , , , , );


--B1_count2[2] is f50MHz_to_1Hz:inst|count2[2] at LC_X13_Y22_N2
--operation mode is normal

B1_count2[2]_lut_out = B1L7;
B1_count2[2] = DFFEAS(B1_count2[2]_lut_out, GLOBAL(B1L17Q), VCC, , , , , , );


--B1L001 is f50MHz_to_1Hz:inst|reduce_nor~167 at LC_X13_Y22_N3
--operation mode is normal

B1_count2[4]_qfbk = B1_count2[4];
B1L001 = B1_count2[3] # B1_count2[4]_qfbk # !B1_count2[2] # !B1_count2[5];

--B1_count2[4] is f50MHz_to_1Hz:inst|count2[4] at LC_X13_Y22_N3
--operation mode is normal

B1_count2[4] = DFFEAS(B1L001, GLOBAL(B1L17Q), VCC, , , B1L31, , , VCC);


--B1_count2[0] is f50MHz_to_1Hz:inst|count2[0] at LC_X17_Y22_N2
--operation mode is normal

B1_count2[0]_lut_out = GND;
B1_count2[0] = DFFEAS(B1_count2[0]_lut_out, GLOBAL(B1L17Q), VCC, , , B1L1, , , VCC);


--B1L101 is f50MHz_to_1Hz:inst|reduce_nor~168 at LC_X13_Y22_N8
--operation mode is normal

B1_count2[1]_qfbk = B1_count2[1];
B1L101 = B1L001 # B1L99 # !B1_count2[0] # !B1_count2[1]_qfbk;

--B1_count2[1] is f50MHz_to_1Hz:inst|count2[1] at LC_X13_Y22_N8
--operation mode is normal

B1_count2[1] = DFFEAS(B1L101, GLOBAL(B1L17Q), VCC, , , B1L4, , , VCC);


--B1L17Q is f50MHz_to_1Hz:inst|clk_1khz~reg0 at LC_X22_Y21_N8
--operation mode is normal

B1L17Q_lut_out = B1L601 & B1L07;
B1L17Q = DFFEAS(B1L17Q_lut_out, GLOBAL(clk), VCC, , , , , , );


--B1L42 is f50MHz_to_1Hz:inst|add~270 at LC_X14_Y22_N8
--operation mode is arithmetic

B1L42_carry_eqn = (!B1L41 & B1L22) # (B1L41 & B1L32);
B1L42 = B1_count2[8] $ !B1L42_carry_eqn;

--B1L52 is f50MHz_to_1Hz:inst|add~270COUT at LC_X14_Y22_N8
--operation mode is arithmetic

B1L52_cout_0 = B1_count2[8] & !B1L22;
B1L52 = CARRY(B1L52_cout_0);

--B1L62 is f50MHz_to_1Hz:inst|add~270COUTCOUT1_296 at LC_X14_Y22_N8
--operation mode is arithmetic

B1L62_cout_1 = B1_count2[8] & !B1L32;
B1L62 = CARRY(B1L62_cout_1);


--B1L12 is f50MHz_to_1Hz:inst|add~269 at LC_X14_Y22_N7
--operation mode is arithmetic

B1L12_carry_eqn = (!B1L41 & B1L91) # (B1L41 & B1L02);
B1L12 = B1_count2[7] $ B1L12_carry_eqn;

--B1L22 is f50MHz_to_1Hz:inst|add~269COUT at LC_X14_Y22_N7
--operation mode is arithmetic

B1L22_cout_0 = !B1L91 # !B1_count2[7];
B1L22 = CARRY(B1L22_cout_0);

--B1L32 is f50MHz_to_1Hz:inst|add~269COUTCOUT1_295 at LC_X14_Y22_N7
--operation mode is arithmetic

B1L32_cout_1 = !B1L02 # !B1_count2[7];
B1L32 = CARRY(B1L32_cout_1);


--B1L81 is f50MHz_to_1Hz:inst|add~268 at LC_X14_Y22_N6
--operation mode is arithmetic

B1L81_carry_eqn = (!B1L41 & B1L61) # (B1L41 & B1L71);
B1L81 = B1_count2[6] $ (!B1L81_carry_eqn);

--B1L91 is f50MHz_to_1Hz:inst|add~268COUT at LC_X14_Y22_N6
--operation mode is arithmetic

B1L91_cout_0 = B1_count2[6] & !B1L61;
B1L91 = CARRY(B1L91_cout_0);

--B1L02 is f50MHz_to_1Hz:inst|add~268COUTCOUT1_294 at LC_X14_Y22_N6
--operation mode is arithmetic

B1L02_cout_1 = B1_count2[6] & !B1L71;
B1L02 = CARRY(B1L02_cout_1);


--B1L31 is f50MHz_to_1Hz:inst|add~266 at LC_X14_Y22_N4
--operation mode is arithmetic

B1L31 = B1_count2[4] $ !B1L11;

--B1L41 is f50MHz_to_1Hz:inst|add~266COUT at LC_X14_Y22_N4
--operation mode is arithmetic

B1L41 = CARRY(B1_count2[4] & !B1L21);


--B1L01 is f50MHz_to_1Hz:inst|add~265 at LC_X14_Y22_N3
--operation mode is arithmetic

B1L01 = B1_count2[3] $ B1L8;

--B1L11 is f50MHz_to_1Hz:inst|add~265COUT at LC_X14_Y22_N3
--operation mode is arithmetic

B1L11_cout_0 = !B1L8 # !B1_count2[3];
B1L11 = CARRY(B1L11_cout_0);

--B1L21 is f50MHz_to_1Hz:inst|add~265COUTCOUT1_292 at LC_X14_Y22_N3
--operation mode is arithmetic

B1L21_cout_1 = !B1L9 # !B1_count2[3];
B1L21 = CARRY(B1L21_cout_1);


--B1L51 is f50MHz_to_1Hz:inst|add~267 at LC_X14_Y22_N5
--operation mode is arithmetic

B1L51_carry_eqn = B1L41;
B1L51 = B1_count2[5] $ (B1L51_carry_eqn);

--B1L61 is f50MHz_to_1Hz:inst|add~267COUT at LC_X14_Y22_N5
--operation mode is arithmetic

B1L61_cout_0 = !B1L41 # !B1_count2[5];
B1L61 = CARRY(B1L61_cout_0);

--B1L71 is f50MHz_to_1Hz:inst|add~267COUTCOUT1_293 at LC_X14_Y22_N5
--operation mode is arithmetic

B1L71_cout_1 = !B1L41 # !B1_count2[5];
B1L71 = CARRY(B1L71_cout_1);


--B1L7 is f50MHz_to_1Hz:inst|add~264 at LC_X14_Y22_N2
--operation mode is arithmetic

B1L7 = B1_count2[2] $ !B1L5;

--B1L8 is f50MHz_to_1Hz:inst|add~264COUT at LC_X14_Y22_N2
--operation mode is arithmetic

B1L8_cout_0 = B1_count2[2] & !B1L5;
B1L8 = CARRY(B1L8_cout_0);

--B1L9 is f50MHz_to_1Hz:inst|add~264COUTCOUT1_291 at LC_X14_Y22_N2
--operation mode is arithmetic

B1L9_cout_1 = B1_count2[2] & !B1L6;
B1L9 = CARRY(B1L9_cout_1);


--B1L4 is f50MHz_to_1Hz:inst|add~263 at LC_X14_Y22_N1
--operation mode is arithmetic

B1L4 = B1_count2[1] $ B1L2;

--B1L5 is f50MHz_to_1Hz:inst|add~263COUT at LC_X14_Y22_N1
--operation mode is arithmetic

B1L5_cout_0 = !B1L2 # !B1_count2[1];
B1L5 = CARRY(B1L5_cout_0);

--B1L6 is f50MHz_to_1Hz:inst|add~263COUTCOUT1_290 at LC_X14_Y22_N1
--operation mode is arithmetic

B1L6_cout_1 = !B1L3 # !B1_count2[1];
B1L6 = CARRY(B1L6_cout_1);


--B1L1 is f50MHz_to_1Hz:inst|add~262 at LC_X14_Y22_N0
--operation mode is arithmetic

B1L1 = !B1_count2[0];

--B1L2 is f50MHz_to_1Hz:inst|add~262COUT at LC_X14_Y22_N0
--operation mode is arithmetic

B1L2_cout_0 = B1_count2[0];
B1L2 = CARRY(B1L2_cout_0);

--B1L3 is f50MHz_to_1Hz:inst|add~262COUTCOUT1_289 at LC_X14_Y22_N0
--operation mode is arithmetic

B1L3_cout_1 = B1_count2[0];
B1L3 = CARRY(B1L3_cout_1);


--B1L07 is f50MHz_to_1Hz:inst|add~287 at LC_X22_Y21_N7
--operation mode is normal

B1L07_carry_eqn = (!B1L36 & B1L86) # (B1L36 & B1L96);
B1L07 = B1L17Q $ B1L07_carry_eqn;


--B1_count1[12] is f50MHz_to_1Hz:inst|count1[12] at LC_X21_Y21_N5
--operation mode is normal

B1_count1[12]_lut_out = GND;
B1_count1[12] = DFFEAS(B1_count1[12]_lut_out, GLOBAL(clk), VCC, , , B1L26, , , VCC);


--B1_count1[14] is f50MHz_to_1Hz:inst|count1[14] at LC_X21_Y21_N9
--operation mode is normal

B1_count1[14]_lut_out = B1L601 & B1L76;
B1_count1[14] = DFFEAS(B1_count1[14]_lut_out, GLOBAL(clk), VCC, , , , , , );


--B1L201 is f50MHz_to_1Hz:inst|reduce_nor~169 at LC_X21_Y21_N1
--operation mode is normal

B1_count1[13]_qfbk = B1_count1[13];
B1L201 = B1_count1[13]_qfbk # B1_count1[12] # !B1_count1[14] # !B1L17Q;

--B1_count1[13] is f50MHz_to_1Hz:inst|count1[13] at LC_X21_Y21_N1
--operation mode is normal

B1_count1[13] = DFFEAS(B1L201, GLOBAL(clk), VCC, , , B1L46, , , VCC);


--B1_count1[10] is f50MHz_to_1Hz:inst|count1[10] at LC_X23_Y21_N2
--operation mode is normal

B1_count1[10]_lut_out = B1L65;

⌨️ 快捷键说明

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