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

📄 stepctrl.fit.eqn

📁 滤波器设计及数据采集系统
💻 EQN
📖 第 1 页 / 共 2 页
字号:
B1L82 = th_speed[5] $ (!B1L82_carry_eqn);

--B1L92 is motorctrl:inst|add~458 at LC_X29_Y22_N5
--operation mode is arithmetic

B1L92_cout_0 = th_speed[5] # !B1L23;
B1L92 = CARRY(B1L92_cout_0);

--B1L03 is motorctrl:inst|add~458COUT1_500 at LC_X29_Y22_N5
--operation mode is arithmetic

B1L03_cout_1 = th_speed[5] # !B1L23;
B1L03 = CARRY(B1L03_cout_1);


--B1L13 is motorctrl:inst|add~461 at LC_X29_Y22_N4
--operation mode is arithmetic

B1L13 = th_speed[4] $ (B1L63);

--B1L23 is motorctrl:inst|add~463 at LC_X29_Y22_N4
--operation mode is arithmetic

B1L23 = B1L33;


--B1L53 is motorctrl:inst|add~466 at LC_X29_Y22_N3
--operation mode is arithmetic

B1L53 = th_speed[3] $ !B1L93;

--B1L63 is motorctrl:inst|add~468 at LC_X29_Y22_N3
--operation mode is arithmetic

B1L63_cout_0 = th_speed[3] # !B1L93;
B1L63 = CARRY(B1L63_cout_0);

--B1L73 is motorctrl:inst|add~468COUT1 at LC_X29_Y22_N3
--operation mode is arithmetic

B1L73_cout_1 = th_speed[3] # !B1L04;
B1L73 = CARRY(B1L73_cout_1);


--B1L83 is motorctrl:inst|add~471 at LC_X29_Y22_N2
--operation mode is arithmetic

B1L83 = th_speed[2] $ (B1L24);

--B1L93 is motorctrl:inst|add~473 at LC_X29_Y22_N2
--operation mode is arithmetic

B1L93_cout_0 = !th_speed[2] & (!B1L24);
B1L93 = CARRY(B1L93_cout_0);

--B1L04 is motorctrl:inst|add~473COUT1_499 at LC_X29_Y22_N2
--operation mode is arithmetic

B1L04_cout_1 = !th_speed[2] & (!B1L34);
B1L04 = CARRY(B1L04_cout_1);


--B1L14 is motorctrl:inst|add~476 at LC_X29_Y22_N1
--operation mode is arithmetic

B1L14 = th_speed[1] $ (!B1L84);

--B1L24 is motorctrl:inst|add~478 at LC_X29_Y22_N1
--operation mode is arithmetic

B1L24_cout_0 = th_speed[1] # !B1L84;
B1L24 = CARRY(B1L24_cout_0);

--B1L34 is motorctrl:inst|add~478COUT1_498 at LC_X29_Y22_N1
--operation mode is arithmetic

B1L34_cout_1 = th_speed[1] # !B1L94;
B1L34 = CARRY(B1L34_cout_1);


--B1L46 is motorctrl:inst|LessThan~3111 at LC_X28_Y21_N1
--operation mode is normal

B1L46 = B1L14 & (!B1_temp_speed[0] & th_speed[0] # !B1_temp_speed[1]) # !B1L14 & !B1_temp_speed[0] & !B1_temp_speed[1] & th_speed[0];


--B1L56 is motorctrl:inst|LessThan~3112 at LC_X28_Y21_N5
--operation mode is normal

B1L56 = B1L83 & (B1L46 # !B1_temp_speed[2]) # !B1L83 & B1L46 & !B1_temp_speed[2];


--B1L66 is motorctrl:inst|LessThan~3113 at LC_X28_Y21_N2
--operation mode is normal

B1L66 = B1_temp_speed[3] & (B1L56 & B1L53) # !B1_temp_speed[3] & (B1L56 # B1L53);


--B1L86 is motorctrl:inst|LessThan~3116 at LC_X31_Y21_N6
--operation mode is arithmetic

B1L86_cout_0 = th_speed[6] & (!B1L47 # !B1_temp_speed[6]) # !th_speed[6] & !B1_temp_speed[6] & !B1L47;
B1L86 = CARRY(B1L86_cout_0);

--B1L96 is motorctrl:inst|LessThan~3116COUT1_3190 at LC_X31_Y21_N6
--operation mode is arithmetic

B1L96_cout_1 = th_speed[6] & (!B1L57 # !B1_temp_speed[6]) # !th_speed[6] & !B1_temp_speed[6] & !B1L57;
B1L96 = CARRY(B1L96_cout_1);


--B1L17 is motorctrl:inst|LessThan~3121 at LC_X30_Y21_N6
--operation mode is arithmetic

B1L17_cout_0 = th_speed[6] & B1_temp_speed[5] & !B1L77 # !th_speed[6] & (B1_temp_speed[5] # !B1L77);
B1L17 = CARRY(B1L17_cout_0);

--B1L27 is motorctrl:inst|LessThan~3121COUT1_3185 at LC_X30_Y21_N6
--operation mode is arithmetic

B1L27_cout_1 = th_speed[6] & B1_temp_speed[5] & !B1L87 # !th_speed[6] & (B1_temp_speed[5] # !B1L87);
B1L27 = CARRY(B1L27_cout_1);


--B1L54 is motorctrl:inst|add~483 at LC_X28_Y22_N0
--operation mode is arithmetic

B1L54_cout_0 = !th_speed[1];
B1L54 = CARRY(B1L54_cout_0);

--B1L64 is motorctrl:inst|add~483COUT1_492 at LC_X28_Y22_N0
--operation mode is arithmetic

B1L64_cout_1 = !th_speed[1];
B1L64 = CARRY(B1L64_cout_1);


--B1L84 is motorctrl:inst|add~488 at LC_X29_Y22_N0
--operation mode is arithmetic

B1L84_cout_0 = !th_speed[0];
B1L84 = CARRY(B1L84_cout_0);

--B1L94 is motorctrl:inst|add~488COUT1_497 at LC_X29_Y22_N0
--operation mode is arithmetic

B1L94_cout_1 = !th_speed[0];
B1L94 = CARRY(B1L94_cout_1);


--B1L47 is motorctrl:inst|LessThan~3126 at LC_X31_Y21_N5
--operation mode is arithmetic

B1L47_cout_0 = B1_temp_speed[5] & (!B1L08 # !th_speed[5]) # !B1_temp_speed[5] & !th_speed[5] & !B1L08;
B1L47 = CARRY(B1L47_cout_0);

--B1L57 is motorctrl:inst|LessThan~3126COUT1_3189 at LC_X31_Y21_N5
--operation mode is arithmetic

B1L57_cout_1 = B1_temp_speed[5] & (!B1L08 # !th_speed[5]) # !B1_temp_speed[5] & !th_speed[5] & !B1L08;
B1L57 = CARRY(B1L57_cout_1);


--B1L77 is motorctrl:inst|LessThan~3131 at LC_X30_Y21_N5
--operation mode is arithmetic

B1L77_cout_0 = B1_temp_speed[4] & th_speed[5] & !B1L48 # !B1_temp_speed[4] & (th_speed[5] # !B1L48);
B1L77 = CARRY(B1L77_cout_0);

--B1L87 is motorctrl:inst|LessThan~3131COUT1_3184 at LC_X30_Y21_N5
--operation mode is arithmetic

B1L87_cout_1 = B1_temp_speed[4] & th_speed[5] & !B1L48 # !B1_temp_speed[4] & (th_speed[5] # !B1L48);
B1L87 = CARRY(B1L87_cout_1);


--B1L08 is motorctrl:inst|LessThan~3136 at LC_X31_Y21_N4
--operation mode is arithmetic

B1L08 = B1L18;


--B1L48 is motorctrl:inst|LessThan~3141 at LC_X30_Y21_N4
--operation mode is arithmetic

B1L48 = B1L58;


--B1L88 is motorctrl:inst|LessThan~3146 at LC_X31_Y21_N3
--operation mode is arithmetic

B1L88_cout_0 = th_speed[3] & B1_temp_speed[3] & !B1L49 # !th_speed[3] & (B1_temp_speed[3] # !B1L49);
B1L88 = CARRY(B1L88_cout_0);

--B1L98 is motorctrl:inst|LessThan~3146COUT1 at LC_X31_Y21_N3
--operation mode is arithmetic

B1L98_cout_1 = th_speed[3] & B1_temp_speed[3] & !B1L59 # !th_speed[3] & (B1_temp_speed[3] # !B1L59);
B1L98 = CARRY(B1L98_cout_1);


--B1L19 is motorctrl:inst|LessThan~3151 at LC_X30_Y21_N3
--operation mode is arithmetic

B1L19_cout_0 = th_speed[3] & (!B1L79 # !B1_temp_speed[2]) # !th_speed[3] & !B1_temp_speed[2] & !B1L79;
B1L19 = CARRY(B1L19_cout_0);

--B1L29 is motorctrl:inst|LessThan~3151COUT1 at LC_X30_Y21_N3
--operation mode is arithmetic

B1L29_cout_1 = th_speed[3] & (!B1L89 # !B1_temp_speed[2]) # !th_speed[3] & !B1_temp_speed[2] & !B1L89;
B1L29 = CARRY(B1L29_cout_1);


--B1L49 is motorctrl:inst|LessThan~3156 at LC_X31_Y21_N2
--operation mode is arithmetic

B1L49_cout_0 = B1_temp_speed[2] & th_speed[2] & !B1L001 # !B1_temp_speed[2] & (th_speed[2] # !B1L001);
B1L49 = CARRY(B1L49_cout_0);

--B1L59 is motorctrl:inst|LessThan~3156COUT1_3188 at LC_X31_Y21_N2
--operation mode is arithmetic

B1L59_cout_1 = B1_temp_speed[2] & th_speed[2] & !B1L101 # !B1_temp_speed[2] & (th_speed[2] # !B1L101);
B1L59 = CARRY(B1L59_cout_1);


--B1L79 is motorctrl:inst|LessThan~3161 at LC_X30_Y21_N2
--operation mode is arithmetic

B1L79_cout_0 = B1_temp_speed[1] & (!B1L301 # !th_speed[2]) # !B1_temp_speed[1] & !th_speed[2] & !B1L301;
B1L79 = CARRY(B1L79_cout_0);

--B1L89 is motorctrl:inst|LessThan~3161COUT1_3183 at LC_X30_Y21_N2
--operation mode is arithmetic

B1L89_cout_1 = B1_temp_speed[1] & (!B1L401 # !th_speed[2]) # !B1_temp_speed[1] & !th_speed[2] & !B1L401;
B1L89 = CARRY(B1L89_cout_1);


--B1L001 is motorctrl:inst|LessThan~3166 at LC_X31_Y21_N1
--operation mode is arithmetic

B1L001_cout_0 = B1_temp_speed[1] & (!B1L601 # !th_speed[1]) # !B1_temp_speed[1] & !th_speed[1] & !B1L601;
B1L001 = CARRY(B1L001_cout_0);

--B1L101 is motorctrl:inst|LessThan~3166COUT1_3187 at LC_X31_Y21_N1
--operation mode is arithmetic

B1L101_cout_1 = B1_temp_speed[1] & (!B1L701 # !th_speed[1]) # !B1_temp_speed[1] & !th_speed[1] & !B1L701;
B1L101 = CARRY(B1L101_cout_1);


--B1L301 is motorctrl:inst|LessThan~3171 at LC_X30_Y21_N1
--operation mode is arithmetic

B1L301_cout_0 = !B1_temp_speed[0] & th_speed[1];
B1L301 = CARRY(B1L301_cout_0);

--B1L401 is motorctrl:inst|LessThan~3171COUT1_3182 at LC_X30_Y21_N1
--operation mode is arithmetic

B1L401_cout_1 = !B1_temp_speed[0] & th_speed[1];
B1L401 = CARRY(B1L401_cout_1);


--B1L601 is motorctrl:inst|LessThan~3176 at LC_X31_Y21_N0
--operation mode is arithmetic

B1L601_cout_0 = th_speed[0] & !B1_temp_speed[0];
B1L601 = CARRY(B1L601_cout_0);

--B1L701 is motorctrl:inst|LessThan~3176COUT1_3186 at LC_X31_Y21_N0
--operation mode is arithmetic

B1L701_cout_1 = th_speed[0] & !B1_temp_speed[0];
B1L701 = CARRY(B1L701_cout_1);


--B1L021 is motorctrl:inst|status~144 at LC_X29_Y21_N1
--operation mode is normal

B1L021 = B1L36 # B1L901 & B1L26 # !B1L16;


--B1L121 is motorctrl:inst|status~145 at LC_X29_Y21_N6
--operation mode is normal

B1L121 = B1L12 & (B1L021 # B1_temp_speed[30] & B1L16) # !B1L12 & B1L021 & (B1_temp_speed[30] # !B1L16);


--B1L801 is motorctrl:inst|LessThan~3179 at LC_X28_Y21_N3
--operation mode is normal

B1L801 = B1_temp_speed[4] & (B1L13 & B1L66) # !B1_temp_speed[4] & (B1L13 # B1L66);


--B1L901 is motorctrl:inst|LessThan~3180 at LC_X28_Y21_N0
--operation mode is normal

B1L901 = B1_temp_speed[5] & (B1L801 & B1L82) # !B1_temp_speed[5] & (B1L801 # B1L82);


--reset is reset at PIN_Y4
--operation mode is input

reset = INPUT();


--clk is clk at PIN_L2
--operation mode is input

clk = INPUT();


--th_speed[1] is th_speed[1] at PIN_A11
--operation mode is input

th_speed[1] = INPUT();


--th_speed[0] is th_speed[0] at PIN_B13
--operation mode is input

th_speed[0] = INPUT();


--target_speed[7] is target_speed[7] at PIN_F10
--operation mode is input

target_speed[7] = INPUT();


--speed_now[7] is speed_now[7] at PIN_J8
--operation mode is input

speed_now[7] = INPUT();


--th_speed[7] is th_speed[7] at PIN_C12
--operation mode is input

th_speed[7] = INPUT();


--th_speed[5] is th_speed[5] at PIN_B11
--operation mode is input

th_speed[5] = INPUT();


--target_speed[4] is target_speed[4] at PIN_K10
--operation mode is input

target_speed[4] = INPUT();


--speed_now[4] is speed_now[4] at PIN_L7
--operation mode is input

speed_now[4] = INPUT();


--th_speed[4] is th_speed[4] at PIN_C13
--operation mode is input

th_speed[4] = INPUT();


--target_speed[3] is target_speed[3] at PIN_C9
--operation mode is input

target_speed[3] = INPUT();


--speed_now[3] is speed_now[3] at PIN_G8
--operation mode is input

speed_now[3] = INPUT();


--th_speed[3] is th_speed[3] at PIN_A12
--operation mode is input

th_speed[3] = INPUT();


--target_speed[2] is target_speed[2] at PIN_P9
--operation mode is input

target_speed[2] = INPUT();


--speed_now[2] is speed_now[2] at PIN_E9
--operation mode is input

speed_now[2] = INPUT();


--th_speed[2] is th_speed[2] at PIN_B12
--operation mode is input

th_speed[2] = INPUT();


--target_speed[0] is target_speed[0] at PIN_G9
--operation mode is input

target_speed[0] = INPUT();


--speed_now[0] is speed_now[0] at PIN_E8
--operation mode is input

speed_now[0] = INPUT();


--target_speed[1] is target_speed[1] at PIN_K8
--operation mode is input

target_speed[1] = INPUT();


--speed_now[1] is speed_now[1] at PIN_H10
--operation mode is input

speed_now[1] = INPUT();


--target_speed[6] is target_speed[6] at PIN_F9
--operation mode is input

target_speed[6] = INPUT();


--speed_now[6] is speed_now[6] at PIN_J9
--operation mode is input

speed_now[6] = INPUT();


--th_speed[6] is th_speed[6] at PIN_D12
--operation mode is input

th_speed[6] = INPUT();


--target_speed[5] is target_speed[5] at PIN_D9
--operation mode is input

target_speed[5] = INPUT();


--speed_now[5] is speed_now[5] at PIN_B8
--operation mode is input

speed_now[5] = INPUT();


--pwme is pwme at PIN_D13
--operation mode is output

pwme = OUTPUT(B1_pwme);



⌨️ 快捷键说明

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