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

📄 stop_watch.fit.eqn

📁 采用Quartus2编写的电子秒表电路 实现计时、暂停等功能
💻 EQN
📖 第 1 页 / 共 3 页
字号:

--G1L9 is clkdiv100:inst29|add~118 at LC_X9_Y16_N3
--operation mode is arithmetic

G1L9_cout_0 = G1L42Q & !G1L51;
G1L9 = CARRY(G1L9_cout_0);

--G1L01 is clkdiv100:inst29|add~118COUT1 at LC_X9_Y16_N3
--operation mode is arithmetic

G1L01_cout_1 = G1L42Q & !G1L61;
G1L01 = CARRY(G1L01_cout_1);


--G1L11 is clkdiv100:inst29|add~121 at LC_X9_Y16_N6
--operation mode is arithmetic

G1L11_carry_eqn = (!G1L5 & G1L2) # (G1L5 & G1L3);
G1L11 = G1L72Q $ (G1L11_carry_eqn);

--G1L21 is clkdiv100:inst29|add~123 at LC_X9_Y16_N6
--operation mode is arithmetic

G1L21_cout_0 = !G1L2 # !G1L72Q;
G1L21 = CARRY(G1L21_cout_0);

--G1L31 is clkdiv100:inst29|add~123COUT1_145 at LC_X9_Y16_N6
--operation mode is arithmetic

G1L31_cout_1 = !G1L3 # !G1L72Q;
G1L31 = CARRY(G1L31_cout_1);


--G1L41 is clkdiv100:inst29|add~126 at LC_X9_Y16_N2
--operation mode is arithmetic

G1L41 = G1L32Q $ (G1L81);

--G1L51 is clkdiv100:inst29|add~128 at LC_X9_Y16_N2
--operation mode is arithmetic

G1L51_cout_0 = !G1L81 # !G1L32Q;
G1L51 = CARRY(G1L51_cout_0);

--G1L61 is clkdiv100:inst29|add~128COUT1_143 at LC_X9_Y16_N2
--operation mode is arithmetic

G1L61_cout_1 = !G1L91 # !G1L32Q;
G1L61 = CARRY(G1L61_cout_1);


--G1L71 is clkdiv100:inst29|add~131 at LC_X9_Y16_N1
--operation mode is arithmetic

G1L71 = !G1L22Q;

--G1L81 is clkdiv100:inst29|add~133 at LC_X9_Y16_N1
--operation mode is arithmetic

G1L81_cout_0 = G1L22Q;
G1L81 = CARRY(G1L81_cout_0);

--G1L91 is clkdiv100:inst29|add~133COUT1_142 at LC_X9_Y16_N1
--operation mode is arithmetic

G1L91_cout_1 = G1L22Q;
G1L91 = CARRY(G1L91_cout_1);


--G1L02 is clkdiv100:inst29|add~136 at LC_X9_Y16_N7
--operation mode is normal

G1L02_carry_eqn = (!G1L5 & G1L21) # (G1L5 & G1L31);
G1L02 = G1L82Q $ !G1L02_carry_eqn;


--B1_signal is button:inst|signal at LC_X40_Y12_N9
--operation mode is normal

B1_signal_lut_out = !B1L22 & !B1L83 & !B1L02 & !B1L72;
B1_signal = DFFEAS(B1_signal_lut_out, GLOBAL(E1_clkout), VCC, , , , , , );


--C1L64Q is clkdiv5k:inst1|count[10]~reg0 at LC_X36_Y12_N8
--operation mode is normal

C1L64Q_lut_out = GND;
C1L64Q = DFFEAS(C1L64Q_lut_out, GLOBAL(clk), GLOBAL(clrn), , , C1L4, , , VCC);


--C1L54Q is clkdiv5k:inst1|count[9]~reg0 at LC_X36_Y12_N2
--operation mode is normal

C1L54Q_lut_out = C1L6 & (C1L25);
C1L54Q = DFFEAS(C1L54Q_lut_out, GLOBAL(clk), GLOBAL(clrn), , , , , , );


--C1L44Q is clkdiv5k:inst1|count[8]~reg0 at LC_X36_Y12_N6
--operation mode is normal

C1L44Q_lut_out = C1L25 & C1L9;
C1L44Q = DFFEAS(C1L44Q_lut_out, GLOBAL(clk), GLOBAL(clrn), , , , , , );


--C1L94 is clkdiv5k:inst1|reduce_nor~83 at LC_X36_Y12_N4
--operation mode is normal

C1L74Q_qfbk = C1L74Q;
C1L94 = C1L64Q # C1L74Q_qfbk # !C1L44Q # !C1L54Q;

--C1L74Q is clkdiv5k:inst1|count[11]~reg0 at LC_X36_Y12_N4
--operation mode is normal

C1L74Q = DFFEAS(C1L94, GLOBAL(clk), GLOBAL(clrn), , , C1L1, , , VCC);


--C1L14Q is clkdiv5k:inst1|count[5]~reg0 at LC_X38_Y11_N2
--operation mode is normal

C1L14Q_lut_out = C1L51;
C1L14Q = DFFEAS(C1L14Q_lut_out, GLOBAL(clk), GLOBAL(clrn), , , , , , );


--C1L04Q is clkdiv5k:inst1|count[4]~reg0 at LC_X37_Y13_N2
--operation mode is normal

C1L04Q_lut_out = C1L71;
C1L04Q = DFFEAS(C1L04Q_lut_out, GLOBAL(clk), GLOBAL(clrn), , , , , , );


--C1L34Q is clkdiv5k:inst1|count[7]~reg0 at LC_X37_Y11_N8
--operation mode is normal

C1L34Q_lut_out = C1L25 & C1L02;
C1L34Q = DFFEAS(C1L34Q_lut_out, GLOBAL(clk), GLOBAL(clrn), , , , , , );


--C1L05 is clkdiv5k:inst1|reduce_nor~84 at LC_X37_Y11_N9
--operation mode is normal

C1L24Q_qfbk = C1L24Q;
C1L05 = C1L14Q # C1L04Q # C1L24Q_qfbk # !C1L34Q;

--C1L24Q is clkdiv5k:inst1|count[6]~reg0 at LC_X37_Y11_N9
--operation mode is normal

C1L24Q = DFFEAS(C1L05, GLOBAL(clk), GLOBAL(clrn), , , C1L21, , , VCC);


--C1L93Q is clkdiv5k:inst1|count[3]~reg0 at LC_X37_Y12_N0
--operation mode is normal

C1L93Q_lut_out = C1L32 & (C1L25);
C1L93Q = DFFEAS(C1L93Q_lut_out, GLOBAL(clk), GLOBAL(clrn), , , , , , );


--C1L73Q is clkdiv5k:inst1|count[1]~reg0 at LC_X37_Y12_N3
--operation mode is normal

C1L73Q_lut_out = C1L92;
C1L73Q = DFFEAS(C1L73Q_lut_out, GLOBAL(clk), GLOBAL(clrn), , , , , , );


--C1L63Q is clkdiv5k:inst1|count[0]~reg0 at LC_X38_Y12_N9
--operation mode is normal

C1L63Q_lut_out = C1L23;
C1L63Q = DFFEAS(C1L63Q_lut_out, GLOBAL(clk), GLOBAL(clrn), , , , , , );


--C1L15 is clkdiv5k:inst1|reduce_nor~85 at LC_X37_Y12_N1
--operation mode is normal

C1L83Q_qfbk = C1L83Q;
C1L15 = C1L93Q # !C1L63Q # !C1L83Q_qfbk # !C1L73Q;

--C1L83Q is clkdiv5k:inst1|count[2]~reg0 at LC_X37_Y12_N1
--operation mode is normal

C1L83Q = DFFEAS(C1L15, GLOBAL(clk), GLOBAL(clrn), , , C1L62, , , VCC);


--C1L84Q is clkdiv5k:inst1|count[12]~reg0 at LC_X37_Y11_N7
--operation mode is normal

C1L84Q_lut_out = C1L25 & C1L43;
C1L84Q = DFFEAS(C1L84Q_lut_out, GLOBAL(clk), GLOBAL(clrn), , , , , , );


--C1L25 is clkdiv5k:inst1|reduce_nor~86 at LC_X37_Y12_N2
--operation mode is normal

C1L25 = C1L94 # C1L05 # C1L15 # !C1L84Q;


--B1L1 is button:inst|add~421 at LC_X41_Y12_N2
--operation mode is arithmetic

B1L1 = B1L03Q $ B1L01;

--B1L2 is button:inst|add~423 at LC_X41_Y12_N2
--operation mode is arithmetic

B1L2_cout_0 = !B1L01 # !B1L03Q;
B1L2 = CARRY(B1L2_cout_0);

--B1L3 is button:inst|add~423COUT1_465 at LC_X41_Y12_N2
--operation mode is arithmetic

B1L3_cout_1 = !B1L11 # !B1L03Q;
B1L3 = CARRY(B1L3_cout_1);


--B1L73 is button:inst|reduce_nor~69 at LC_X40_Y12_N8
--operation mode is normal

B1L53Q_qfbk = B1L53Q;
B1L73 = B1L23Q # B1L53Q_qfbk # !B1L43Q # !B1L33Q;

--B1L53Q is button:inst|cnt[6]~reg0 at LC_X40_Y12_N8
--operation mode is normal

B1L53Q = DFFEAS(B1L73, GLOBAL(E1_clkout), VCC, , , B1L22, , , VCC);


--B1L63 is button:inst|reduce_nor~0 at LC_X40_Y12_N1
--operation mode is normal

B1L63 = B1L92Q # B1L13Q # B1L73 # !B1L03Q;


--B1L4 is button:inst|add~426 at LC_X41_Y12_N8
--operation mode is normal

B1L4 = B1L1 & B1L63;

--B1L03Q is button:inst|cnt[1]~reg0 at LC_X41_Y12_N8
--operation mode is normal

B1L03Q = DFFEAS(B1L4, GLOBAL(E1_clkout), VCC, , , , , , );


--B1L5 is button:inst|add~427 at LC_X41_Y12_N3
--operation mode is arithmetic

B1L5 = B1L13Q $ (!B1L2);

--B1L6 is button:inst|add~429 at LC_X41_Y12_N3
--operation mode is arithmetic

B1L6_cout_0 = B1L13Q & (!B1L2);
B1L6 = CARRY(B1L6_cout_0);

--B1L7 is button:inst|add~429COUT1 at LC_X41_Y12_N3
--operation mode is arithmetic

B1L7_cout_1 = B1L13Q & (!B1L3);
B1L7 = CARRY(B1L7_cout_1);


--B1L8 is button:inst|add~432 at LC_X42_Y12_N2
--operation mode is normal

B1L8 = B1L5 & B1L63;

--B1L13Q is button:inst|cnt[2]~reg0 at LC_X42_Y12_N2
--operation mode is normal

B1L13Q = DFFEAS(B1L8, GLOBAL(E1_clkout), VCC, , , , , , );


--B1L9 is button:inst|add~433 at LC_X41_Y12_N1
--operation mode is arithmetic

B1L9 = B1L92Q $ B1L82;

--B1L01 is button:inst|add~435 at LC_X41_Y12_N1
--operation mode is arithmetic

B1L01_cout_0 = B1L92Q & B1L82;
B1L01 = CARRY(B1L01_cout_0);

--B1L11 is button:inst|add~435COUT1_464 at LC_X41_Y12_N1
--operation mode is arithmetic

B1L11_cout_1 = B1L92Q & B1L82;
B1L11 = CARRY(B1L11_cout_1);


--B1L21 is button:inst|add~438 at LC_X41_Y12_N9
--operation mode is normal

B1L21 = B1L63 & (B1L9);

--B1L92Q is button:inst|cnt[0]~reg0 at LC_X41_Y12_N9
--operation mode is normal

B1L92Q = DFFEAS(B1L21, GLOBAL(E1_clkout), VCC, , , , , , );


--B1L31 is button:inst|add~439 at LC_X41_Y12_N6
--operation mode is arithmetic

B1L31_carry_eqn = (!B1L42 & B1L81) # (B1L42 & B1L91);
B1L31 = B1L43Q $ B1L31_carry_eqn;

--B1L41 is button:inst|add~441 at LC_X41_Y12_N6
--operation mode is arithmetic

B1L41_cout_0 = !B1L81 # !B1L43Q;
B1L41 = CARRY(B1L41_cout_0);

--B1L51 is button:inst|add~441COUT1_467 at LC_X41_Y12_N6
--operation mode is arithmetic

B1L51_cout_1 = !B1L91 # !B1L43Q;
B1L51 = CARRY(B1L51_cout_1);


--B1L61 is button:inst|add~444 at LC_X40_Y12_N4
--operation mode is normal

B1L61 = B1L31 & (B1L63);

--B1L43Q is button:inst|cnt[5]~reg0 at LC_X40_Y12_N4
--operation mode is normal

B1L43Q = DFFEAS(B1L61, GLOBAL(E1_clkout), VCC, , , , , , );


--B1L83 is button:inst|reduce_nor~70 at LC_X40_Y12_N5
--operation mode is normal

B1L83 = B1L8 # B1L21 # B1L61 # B1L4;


--B1L71 is button:inst|add~445 at LC_X41_Y12_N5
--operation mode is arithmetic

B1L71_carry_eqn = (!B1L42 & GND) # (B1L42 & VCC);
B1L71 = B1L33Q $ !B1L71_carry_eqn;

--B1L81 is button:inst|add~447 at LC_X41_Y12_N5
--operation mode is arithmetic

B1L81_cout_0 = B1L33Q & !B1L42;
B1L81 = CARRY(B1L81_cout_0);

--B1L91 is button:inst|add~447COUT1_466 at LC_X41_Y12_N5
--operation mode is arithmetic

B1L91_cout_1 = B1L33Q & !B1L42;
B1L91 = CARRY(B1L91_cout_1);


--B1L02 is button:inst|add~450 at LC_X40_Y12_N7
--operation mode is normal

B1L02 = B1L71 & B1L63;

--B1L33Q is button:inst|cnt[4]~reg0 at LC_X40_Y12_N7
--operation mode is normal

B1L33Q = DFFEAS(B1L02, GLOBAL(E1_clkout), VCC, , , , , , );


--B1L12 is button:inst|add~451 at LC_X41_Y12_N7
--operation mode is normal

B1L12_carry_eqn = (!B1L42 & B1L41) # (B1L42 & B1L51);
B1L12 = B1L53Q $ (!B1L12_carry_eqn);


--B1L22 is button:inst|add~456 at LC_X40_Y12_N2
--operation mode is normal

B1L22 = B1L12 & B1L63;


--B1L32 is button:inst|add~457 at LC_X41_Y12_N4
--operation mode is arithmetic

B1L32 = B1L23Q $ B1L6;

--B1L42 is button:inst|add~459 at LC_X41_Y12_N4
--operation mode is arithmetic

B1L42 = B1L52;


--B1L72 is button:inst|add~462 at LC_X41_Y12_N0
--operation mode is normal

B1L72 = B1L32 & B1L63;

--B1L23Q is button:inst|cnt[3]~reg0 at LC_X41_Y12_N0
--operation mode is normal

B1L23Q = DFFEAS(B1L72, GLOBAL(E1_clkout), VCC, , , , , , );


--E1_clkout is clkdiv10K_to_1K:inst27|clkout at LC_X45_Y13_N4
--operation mode is normal

E1_clkout_lut_out = E1L3Q & !E1L4Q & E1L6Q & !E1L5Q;
E1_clkout = DFFEAS(E1_clkout_lut_out, GLOBAL(C1_clkout), VCC, , clrn, , , , );


--C1L1 is clkdiv5k:inst1|add~196 at LC_X37_Y11_N5
--operation mode is arithmetic

C1L1_carry_eqn = C1L5;
C1L1 = C1L74Q $ C1L1_carry_eqn;

--C1L2 is clkdiv5k:inst1|add~198 at LC_X37_Y11_N5
--operation mode is arithmetic

C1L2_cout_0 = !C1L5 # !C1L74Q;
C1L2 = CARRY(C1L2_cout_0);

--C1L3 is clkdiv5k:inst1|add~198COUT1_270 at LC_X37_Y11_N5
--operation mode is arithmetic

C1L3_cout_1 = !C1L5 # !C1L74Q;
C1L3 = CARRY(C1L3_cout_1);


--C1L4 is clkdiv5k:inst1|add~201 at LC_X37_Y11_N4
--operation mode is arithmetic

C1L4_carry_eqn = (!C1L61 & C1L7) # (C1L61 & C1L8);
C1L4 = C1L64Q $ !C1L4_carry_eqn;

--C1L5 is clkdiv5k:inst1|add~203 at LC_X37_Y11_N4
--operation mode is arithmetic

C1L5 = CARRY(C1L64Q & !C1L8);


--C1L6 is clkdiv5k:inst1|add~206 at LC_X37_Y11_N3
--operation mode is arithmetic

C1L6_carry_eqn = (!C1L61 & C1L01) # (C1L61 & C1L11);
C1L6 = C1L54Q $ (C1L6_carry_eqn);

--C1L7 is clkdiv5k:inst1|add~208 at LC_X37_Y11_N3
--operation mode is arithmetic

C1L7_cout_0 = !C1L01 # !C1L54Q;
C1L7 = CARRY(C1L7_cout_0);

--C1L8 is clkdiv5k:inst1|add~208COUT1_269 at LC_X37_Y11_N3
--operation mode is arithmetic

C1L8_cout_1 = !C1L11 # !C1L54Q;
C1L8 = CARRY(C1L8_cout_1);


--C1L9 is clkdiv5k:inst1|add~211 at LC_X37_Y11_N2
--operation mode is arithmetic

C1L9_carry_eqn = (!C1L61 & C1L12) # (C1L61 & C1L22);
C1L9 = C1L44Q $ (!C1L9_carry_eqn);

--C1L01 is clkdiv5k:inst1|add~213 at LC_X37_Y11_N2
--operation mode is arithmetic

C1L01_cout_0 = C1L44Q & (!C1L12);
C1L01 = CARRY(C1L01_cout_0);

--C1L11 is clkdiv5k:inst1|add~213COUT1_268 at LC_X37_Y11_N2
--operation mode is arithmetic

C1L11_cout_1 = C1L44Q & (!C1L22);
C1L11 = CARRY(C1L11_cout_1);


--C1L21 is clkdiv5k:inst1|add~216 at LC_X37_Y11_N0
--operation mode is arithmetic

⌨️ 快捷键说明

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