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

📄 setpmoto.fit.eqn

📁 这是一个用VHDL语言写的电动机程序,希望对大家有用
💻 EQN
📖 第 1 页 / 共 3 页
字号:
C1L24_cout_1 = C1_comp[8] & !SPEED[0] & !C1L93 # !C1_comp[8] & (!C1L93 # !SPEED[0]);
C1L24 = CARRY(C1L24_cout_1);


--C1L41 is step_motor:inst1|comp[0]~497 at LC_X6_Y2_N1
--operation mode is normal

C1L41 = !C1_comp[8] & !C1_comp[7] & C1L2 & C1L31;


--C1_comp[1] is step_motor:inst1|comp[1] at LC_X4_Y2_N6
--operation mode is arithmetic

C1_comp[1]_carry_eqn = (!C1L91 & C1L51) # (C1L91 & C1L61);
C1_comp[1]_lut_out = C1_comp[1] $ SPEED[0] $ !C1_comp[1]_carry_eqn;
C1_comp[1] = DFFEAS(C1_comp[1]_lut_out, GLOBAL(C1_osc), VCC, , C1L81, VCC, , , C1L21);

--C1L12 is step_motor:inst1|comp[1]~499 at LC_X4_Y2_N6
--operation mode is arithmetic

C1L12_cout_0 = C1_comp[1] & (SPEED[0] # !C1L51) # !C1_comp[1] & SPEED[0] & !C1L51;
C1L12 = CARRY(C1L12_cout_0);

--C1L22 is step_motor:inst1|comp[1]~499COUT1_526 at LC_X4_Y2_N6
--operation mode is arithmetic

C1L22_cout_1 = C1_comp[1] & (SPEED[0] # !C1L61) # !C1_comp[1] & SPEED[0] & !C1L61;
C1L22 = CARRY(C1L22_cout_1);


--C1_comp[0] is step_motor:inst1|comp[0] at LC_X4_Y2_N5
--operation mode is arithmetic

C1_comp[0]_carry_eqn = C1L91;
C1_comp[0]_lut_out = C1_comp[0] $ C1L5 $ C1_comp[0]_carry_eqn;
C1_comp[0] = DFFEAS(C1_comp[0]_lut_out, GLOBAL(C1_osc), VCC, , C1L81, ~GND, , , C1L21);

--C1L51 is step_motor:inst1|comp[0]~503 at LC_X4_Y2_N5
--operation mode is arithmetic

C1L51_cout_0 = C1_comp[0] & !C1L5 & !C1L91 # !C1_comp[0] & (!C1L91 # !C1L5);
C1L51 = CARRY(C1L51_cout_0);

--C1L61 is step_motor:inst1|comp[0]~503COUT1_524 at LC_X4_Y2_N5
--operation mode is arithmetic

C1L61_cout_1 = C1_comp[0] & !C1L5 & !C1L91 # !C1_comp[0] & (!C1L91 # !C1L5);
C1L61 = CARRY(C1L61_cout_1);


--C1L71 is step_motor:inst1|comp[0]~506 at LC_X5_Y2_N7
--operation mode is normal

C1L71 = SPEED[0] & !SPEED[1] & (!C1_comp[1] # !C1_comp[0]);


--C1L81 is step_motor:inst1|comp[0]~507 at LC_X5_Y2_N8
--operation mode is normal

C1L81 = C1L41 & !C1L71 & (!C1_comp[1] # !C1L21) # !C1L41 & !C1L21;


--C1L011 is step_motor:inst1|LessThan~544 at LC_X5_Y3_N3
--operation mode is arithmetic

C1L011_cout_0 = C1_d_ff[9] & (!C1L411 # !C1_comp[9]) # !C1_d_ff[9] & !C1_comp[9] & !C1L411;
C1L011 = CARRY(C1L011_cout_0);

--C1L111 is step_motor:inst1|LessThan~544COUT1_617 at LC_X5_Y3_N3
--operation mode is arithmetic

C1L111_cout_1 = C1_d_ff[9] & (!C1L511 # !C1_comp[9]) # !C1_d_ff[9] & !C1_comp[9] & !C1L511;
C1L111 = CARRY(C1L111_cout_1);


--B1_QN[13] is fenping:inst|QN[13] at LC_X3_Y3_N4
--operation mode is arithmetic

B1_QN[13]_carry_eqn = (!B1L62 & B1L73) # (B1L62 & B1L83);
B1_QN[13]_lut_out = B1_QN[13] $ (!B1_QN[13]_carry_eqn);
B1_QN[13] = DFFEAS(B1_QN[13]_lut_out, GLOBAL(GCLK3), VCC, , , VCC, B1_QN[17], , );

--B1L04 is fenping:inst|QN[13]~143 at LC_X3_Y3_N4
--operation mode is arithmetic

B1L04 = CARRY(!B1_QN[13] & (!B1L83));


--C1_d_ff[9] is step_motor:inst1|d_ff[9] at LC_X7_Y3_N3
--operation mode is arithmetic

C1_d_ff[9]_carry_eqn = (!C1L56 & C1L37) # (C1L56 & C1L47);
C1_d_ff[9]_lut_out = C1_d_ff[9] $ (C1_d_ff[9]_carry_eqn);
C1_d_ff[9] = DFFEAS(C1_d_ff[9]_lut_out, GLOBAL(B1_QN[16]), VCC, , , , , !C1L601, );

--C1L67 is step_motor:inst1|d_ff[9]~130 at LC_X7_Y3_N3
--operation mode is arithmetic

C1L67_cout_0 = !C1L37 # !C1_d_ff[9];
C1L67 = CARRY(C1L67_cout_0);

--C1L77 is step_motor:inst1|d_ff[9]~130COUT1_193 at LC_X7_Y3_N3
--operation mode is arithmetic

C1L77_cout_1 = !C1L47 # !C1_d_ff[9];
C1L77 = CARRY(C1L77_cout_1);


--C1_delay[2] is step_motor:inst1|delay[2] at LC_X2_Y2_N3
--operation mode is arithmetic

C1_delay[2]_lut_out = C1_delay[2] $ (!C1L68);
C1_delay[2] = DFFEAS(C1_delay[2]_lut_out, GLOBAL(B1_QN[16]), VCC, , , , , C1L211, );

--C1L98 is step_motor:inst1|delay[2]~107 at LC_X2_Y2_N3
--operation mode is arithmetic

C1L98_cout_0 = C1_delay[2] & (!C1L68);
C1L98 = CARRY(C1L98_cout_0);

--C1L09 is step_motor:inst1|delay[2]~107COUT1_139 at LC_X2_Y2_N3
--operation mode is arithmetic

C1L09_cout_1 = C1_delay[2] & (!C1L78);
C1L09 = CARRY(C1L09_cout_1);


--C1_delay[3] is step_motor:inst1|delay[3] at LC_X2_Y2_N4
--operation mode is arithmetic

C1_delay[3]_lut_out = C1_delay[3] $ (C1L98);
C1_delay[3] = DFFEAS(C1_delay[3]_lut_out, GLOBAL(B1_QN[16]), VCC, , , , , C1L211, );

--C1L29 is step_motor:inst1|delay[3]~111 at LC_X2_Y2_N4
--operation mode is arithmetic

C1L29 = C1L39;


--C1L59 is step_motor:inst1|delay[3]~114 at LC_X2_Y2_N7
--operation mode is normal

C1L59 = !C1_delay[3] & !C1_delay[2];


--C1_delay[1] is step_motor:inst1|delay[1] at LC_X2_Y2_N2
--operation mode is arithmetic

C1_delay[1]_lut_out = C1_delay[1] $ C1L38;
C1_delay[1] = DFFEAS(C1_delay[1]_lut_out, GLOBAL(B1_QN[16]), VCC, , , , , C1L211, );

--C1L68 is step_motor:inst1|delay[1]~116 at LC_X2_Y2_N2
--operation mode is arithmetic

C1L68_cout_0 = !C1L38 # !C1_delay[1];
C1L68 = CARRY(C1L68_cout_0);

--C1L78 is step_motor:inst1|delay[1]~116COUT1_138 at LC_X2_Y2_N2
--operation mode is arithmetic

C1L78_cout_1 = !C1L48 # !C1_delay[1];
C1L78 = CARRY(C1L78_cout_1);


--C1_delay[5] is step_motor:inst1|delay[5] at LC_X2_Y2_N6
--operation mode is normal

C1_delay[5]_carry_eqn = (!C1L29 & C1L79) # (C1L29 & C1L89);
C1_delay[5]_lut_out = C1_delay[5] $ (C1_delay[5]_carry_eqn);
C1_delay[5] = DFFEAS(C1_delay[5]_lut_out, GLOBAL(B1_QN[16]), VCC, , , , , C1L211, );


--C1_delay[4] is step_motor:inst1|delay[4] at LC_X2_Y2_N5
--operation mode is arithmetic

C1_delay[4]_carry_eqn = (!C1L29 & GND) # (C1L29 & VCC);
C1_delay[4]_lut_out = C1_delay[4] $ (!C1_delay[4]_carry_eqn);
C1_delay[4] = DFFEAS(C1_delay[4]_lut_out, GLOBAL(B1_QN[16]), VCC, , , , , C1L211, );

--C1L79 is step_motor:inst1|delay[4]~124 at LC_X2_Y2_N5
--operation mode is arithmetic

C1L79_cout_0 = C1_delay[4] & (!C1L29);
C1L79 = CARRY(C1L79_cout_0);

--C1L89 is step_motor:inst1|delay[4]~124COUT1_141 at LC_X2_Y2_N5
--operation mode is arithmetic

C1L89_cout_1 = C1_delay[4] & (!C1L29);
C1L89 = CARRY(C1L89_cout_1);


--C1L211 is step_motor:inst1|LessThan~547 at LC_X2_Y2_N8
--operation mode is normal

C1L211 = C1_delay[4] & C1_delay[5] & (C1_delay[1] # !C1L59);


--C1L3 is step_motor:inst1|add~779 at LC_X4_Y2_N1
--operation mode is normal

C1L3 = !C1_comp[9] & (!C1_comp[10]);


--C1L4 is step_motor:inst1|add~780 at LC_X4_Y2_N0
--operation mode is normal

C1L4 = C1L2 # !C1_comp[8] # !C1_comp[7] # !C1_comp[6];


--C1L5 is step_motor:inst1|add~781 at LC_X4_Y2_N2
--operation mode is normal

C1L5 = !SPEED[0] & (C1L4 & C1L3 # !C1_comp[11]);


--C1L91 is step_motor:inst1|comp[0]~510 at LC_X4_Y2_N4
--operation mode is arithmetic

C1L91 = CARRY(SPEED[0]);


--C1L411 is step_motor:inst1|LessThan~550 at LC_X5_Y3_N2
--operation mode is arithmetic

C1L411_cout_0 = C1_comp[8] & (!C1L711 # !C1_d_ff[8]) # !C1_comp[8] & !C1_d_ff[8] & !C1L711;
C1L411 = CARRY(C1L411_cout_0);

--C1L511 is step_motor:inst1|LessThan~550COUT1_615 at LC_X5_Y3_N2
--operation mode is arithmetic

C1L511_cout_1 = C1_comp[8] & (!C1L811 # !C1_d_ff[8]) # !C1_comp[8] & !C1_d_ff[8] & !C1L811;
C1L511 = CARRY(C1L511_cout_1);


--B1_QN[12] is fenping:inst|QN[12] at LC_X3_Y3_N3
--operation mode is arithmetic

B1_QN[12]_carry_eqn = (!B1L62 & B1L43) # (B1L62 & B1L53);
B1_QN[12]_lut_out = B1_QN[12] $ (B1_QN[12]_carry_eqn);
B1_QN[12] = DFFEAS(B1_QN[12]_lut_out, GLOBAL(GCLK3), VCC, , , VCC, B1_QN[17], , );

--B1L73 is fenping:inst|QN[12]~147 at LC_X3_Y3_N3
--operation mode is arithmetic

B1L73_cout_0 = B1_QN[12] # !B1L43;
B1L73 = CARRY(B1L73_cout_0);

--B1L83 is fenping:inst|QN[12]~147COUT1_234 at LC_X3_Y3_N3
--operation mode is arithmetic

B1L83_cout_1 = B1_QN[12] # !B1L53;
B1L83 = CARRY(B1L83_cout_1);


--C1_d_ff[8] is step_motor:inst1|d_ff[8] at LC_X7_Y3_N2
--operation mode is arithmetic

C1_d_ff[8]_carry_eqn = (!C1L56 & C1L07) # (C1L56 & C1L17);
C1_d_ff[8]_lut_out = C1_d_ff[8] $ !C1_d_ff[8]_carry_eqn;
C1_d_ff[8] = DFFEAS(C1_d_ff[8]_lut_out, GLOBAL(B1_QN[16]), VCC, , , , , !C1L601, );

--C1L37 is step_motor:inst1|d_ff[8]~134 at LC_X7_Y3_N2
--operation mode is arithmetic

C1L37_cout_0 = C1_d_ff[8] & !C1L07;
C1L37 = CARRY(C1L37_cout_0);

--C1L47 is step_motor:inst1|d_ff[8]~134COUT1_191 at LC_X7_Y3_N2
--operation mode is arithmetic

C1L47_cout_1 = C1_d_ff[8] & !C1L17;
C1L47 = CARRY(C1L47_cout_1);


--C1_delay[0] is step_motor:inst1|delay[0] at LC_X2_Y2_N1
--operation mode is arithmetic

C1_delay[0]_lut_out = !C1_delay[0];
C1_delay[0] = DFFEAS(C1_delay[0]_lut_out, GLOBAL(B1_QN[16]), VCC, , , , , C1L211, );

--C1L38 is step_motor:inst1|delay[0]~128 at LC_X2_Y2_N1
--operation mode is arithmetic

C1L38_cout_0 = C1_delay[0];
C1L38 = CARRY(C1L38_cout_0);

--C1L48 is step_motor:inst1|delay[0]~128COUT1_136 at LC_X2_Y2_N1
--operation mode is arithmetic

C1L48_cout_1 = C1_delay[0];
C1L48 = CARRY(C1L48_cout_1);


--C1L711 is step_motor:inst1|LessThan~555 at LC_X5_Y3_N1
--operation mode is arithmetic

C1L711_cout_0 = C1_d_ff[7] & (!C1L021 # !C1_comp[7]) # !C1_d_ff[7] & !C1_comp[7] & !C1L021;
C1L711 = CARRY(C1L711_cout_0);

--C1L811 is step_motor:inst1|LessThan~555COUT1_613 at LC_X5_Y3_N1
--operation mode is arithmetic

C1L811_cout_1 = C1_d_ff[7] & (!C1L121 # !C1_comp[7]) # !C1_d_ff[7] & !C1_comp[7] & !C1L121;
C1L811 = CARRY(C1L811_cout_1);


--B1_QN[11] is fenping:inst|QN[11] at LC_X3_Y3_N2
--operation mode is arithmetic

B1_QN[11]_carry_eqn = (!B1L62 & B1L13) # (B1L62 & B1L23);
B1_QN[11]_lut_out = B1_QN[11] $ !B1_QN[11]_carry_eqn;
B1_QN[11] = DFFEAS(B1_QN[11]_lut_out, GLOBAL(GCLK3), VCC, , , VCC, B1_QN[17], , );

--B1L43 is fenping:inst|QN[11]~151 at LC_X3_Y3_N2
--operation mode is arithmetic

B1L43_cout_0 = !B1_QN[11] & !B1L13;
B1L43 = CARRY(B1L43_cout_0);

--B1L53 is fenping:inst|QN[11]~151COUT1_232 at LC_X3_Y3_N2
--operation mode is arithmetic

B1L53_cout_1 = !B1_QN[11] & !B1L23;
B1L53 = CARRY(B1L53_cout_1);


--C1_d_ff[7] is step_motor:inst1|d_ff[7] at LC_X7_Y3_N1
--operation mode is arithmetic

C1_d_ff[7]_carry_eqn = (!C1L56 & C1L76) # (C1L56 & C1L86);
C1_d_ff[7]_lut_out = C1_d_ff[7] $ C1_d_ff[7]_carry_eqn;
C1_d_ff[7] = DFFEAS(C1_d_ff[7]_lut_out, GLOBAL(B1_QN[16]), VCC, , , , , !C1L601, );

--C1L07 is step_motor:inst1|d_ff[7]~138 at LC_X7_Y3_N1
--operation mode is arithmetic

C1L07_cout_0 = !C1L76 # !C1_d_ff[7];
C1L07 = CARRY(C1L07_cout_0);

--C1L17 is step_motor:inst1|d_ff[7]~138COUT1_189 at LC_X7_Y3_N1
--operation mode is arithmetic

C1L17_cout_1 = !C1L86 # !C1_d_ff[7];
C1L17 = CARRY(C1L17_cout_1);


--C1L021 is step_motor:inst1|LessThan~560 at LC_X5_Y3_N0
--operation mode is arithmetic

C1L021_cout_0 = C1_d_ff[6] & C1_comp[6] & !C1L321 # !C1_d_ff[6] & (C1_comp[6] # !C1L321);
C1L021 = CARRY(C1L021_cout_0);

--C1L121 is step_motor:inst1|LessThan~560COUT1_611 at LC_X5_Y3_N0
--operation mode is arithmetic

C1L121_cout_1 = C1_d_ff[6] & C1_comp[6] & !C1L321 # !C1_d_ff[6] & (C1_comp[6] # !C1L321);
C1L121 = CARRY(C1L121_cout_1);


--B1_QN[10] is fenping:inst|QN[10] at LC_X3_Y3_N1
--operation mode is arithmetic

B1_QN[10]_carry_eqn = (!B1L62 & B1L82) # (B1L62 & B1L92);
B1_QN[10]_lut_out = B1_QN[10] $ B1_QN[10]_carry_eqn;
B1_QN[10] = DFFEAS(B1_QN[10]_lut_out, GLOBAL(GCLK3), VCC, , , VCC, B1_QN[17], , );

--B1L13 is fenping:inst|QN[10]~155 at LC_X3_Y3_N1
--operation mode is arithmetic

B1L13_cout_0 = B1_QN[10] # !B1L82;
B1L13 = CARRY(B1L13_cout_0);

--B1L23 is fenping:inst|QN[10]~155COUT1_230 at LC_X3_Y3_N1
--operation mode is arithmetic

B1L23_cout_1 = B1_QN[10] # !B1L92;
B1L23 = CARRY(B1L23_cout_1);


--C1_d_ff[6] is step_motor:inst1|d_ff[6] at LC_X7_Y3_N0
--operation mode is arithmetic

C1_d_ff[6]_carry_eqn = C1L56;
C1_d_ff[6]_lut_out = C1_d_ff[6] $ !C1_d_ff[6]_carry_eqn;
C1_d_ff[6] = DFFEAS(C1_d_ff[6]_lut_out, GLOBAL(B1_QN[16]), VCC, , , , , !C1L601, );

--C1L76 is step_motor:inst1|d_ff[6]~142 at LC_X7_Y3_N0
--operation mode is arithmetic

C1L76_cout_0 = C1_d_ff[6] & !C1L56;
C1L76 = CARRY(C1L76_cout_0);

--C1L86 is step_motor:inst1|d_ff[6]~142COUT1_187 at LC_X7_Y3_N0
--operation mode is arithmetic

C1L86_cout_1 = C1_d_ff[6] & !C1L56;
C1L86 = CARRY(C1L86_cout_1);


--C1L321 is step_motor:inst1|LessThan~565 at LC_X4_Y3_N9
--operation mode is arithmetic

C1L321 = CARRY(C1_d_ff[5] & (!C1L621 # !C1_comp[5]) # !C1_d_ff[5] & !C1_comp[5] & !C1L621);


--B1_QN[9] is fenping:inst|QN[9] at LC_X3_Y3_N0
--operation mode is arithmetic

B1_QN[9]_carry_eqn = B1L62;
B1_QN[9]_lut_out = B1_QN[9] $ !B1_QN[9]_carry_eqn;
B1_QN[9] = DFFEAS(B1_QN[9]_lut_out, GLOBAL(GCLK3), VCC, , , VCC, B1_QN[17], , );

--B1L82 is fenping:inst|QN[9]~159 at LC_X3_Y3_N0
--operation mode is arithmetic

B1L82_cout_0 = !B1_QN[9] & !B1L62;
B1L82 = CARRY(B1L82_cout_0);

⌨️ 快捷键说明

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