📄 stepctrl.map.eqn
字号:
B1L54 = B1_temp_speed[7] & B1L71 & (B1_temp_speed[6] $ !B1L51) # !B1_temp_speed[7] & !B1L71 & (B1_temp_speed[6] $ !B1L51);
--B1L64 is motorctrl:inst|LessThan~3110
--operation mode is normal
B1L64 = B1L71 & (B1L51 & !B1_temp_speed[6] # !B1_temp_speed[7]) # !B1L71 & B1L51 & !B1_temp_speed[6] & !B1_temp_speed[7];
--B1L91 is motorctrl:inst|add~456
--operation mode is arithmetic
B1L91_carry_eqn = B1L22;
B1L91 = th_speed[5] $ (!B1L91_carry_eqn);
--B1L02 is motorctrl:inst|add~458
--operation mode is arithmetic
B1L02 = CARRY(th_speed[5] # !B1L22);
--B1L12 is motorctrl:inst|add~461
--operation mode is arithmetic
B1L12_carry_eqn = B1L42;
B1L12 = th_speed[4] $ (B1L12_carry_eqn);
--B1L22 is motorctrl:inst|add~463
--operation mode is arithmetic
B1L22 = CARRY(!th_speed[4] & (!B1L42));
--B1L32 is motorctrl:inst|add~466
--operation mode is arithmetic
B1L32_carry_eqn = B1L62;
B1L32 = th_speed[3] $ (!B1L32_carry_eqn);
--B1L42 is motorctrl:inst|add~468
--operation mode is arithmetic
B1L42 = CARRY(th_speed[3] # !B1L62);
--B1L52 is motorctrl:inst|add~471
--operation mode is arithmetic
B1L52_carry_eqn = B1L82;
B1L52 = th_speed[2] $ (B1L52_carry_eqn);
--B1L62 is motorctrl:inst|add~473
--operation mode is arithmetic
B1L62 = CARRY(!th_speed[2] & (!B1L82));
--B1L72 is motorctrl:inst|add~476
--operation mode is arithmetic
B1L72_carry_eqn = B1L23;
B1L72 = th_speed[1] $ (!B1L72_carry_eqn);
--B1L82 is motorctrl:inst|add~478
--operation mode is arithmetic
B1L82 = CARRY(th_speed[1] # !B1L23);
--B1L74 is motorctrl:inst|LessThan~3111
--operation mode is normal
B1L74 = B1L72 & (th_speed[0] & !B1_temp_speed[0] # !B1_temp_speed[1]) # !B1L72 & th_speed[0] & !B1_temp_speed[0] & !B1_temp_speed[1];
--B1L84 is motorctrl:inst|LessThan~3112
--operation mode is normal
B1L84 = B1L52 & (B1L74 # !B1_temp_speed[2]) # !B1L52 & !B1_temp_speed[2] & B1L74;
--B1L94 is motorctrl:inst|LessThan~3113
--operation mode is normal
B1L94 = B1L32 & (B1L84 # !B1_temp_speed[3]) # !B1L32 & !B1_temp_speed[3] & B1L84;
--B1L15 is motorctrl:inst|LessThan~3116
--operation mode is arithmetic
B1L15 = CARRY(B1_temp_speed[6] & th_speed[6] & !B1L55 # !B1_temp_speed[6] & (th_speed[6] # !B1L55));
--B1L35 is motorctrl:inst|LessThan~3121
--operation mode is arithmetic
B1L35 = CARRY(B1_temp_speed[5] & (!B1L75 # !th_speed[6]) # !B1_temp_speed[5] & !th_speed[6] & !B1L75);
--B1L03 is motorctrl:inst|add~483
--operation mode is arithmetic
B1L03 = CARRY(!th_speed[1]);
--B1L23 is motorctrl:inst|add~488
--operation mode is arithmetic
B1L23 = CARRY(!th_speed[0]);
--B1L55 is motorctrl:inst|LessThan~3126
--operation mode is arithmetic
B1L55 = CARRY(B1_temp_speed[5] & (!B1L95 # !th_speed[5]) # !B1_temp_speed[5] & !th_speed[5] & !B1L95);
--B1L75 is motorctrl:inst|LessThan~3131
--operation mode is arithmetic
B1L75 = CARRY(B1_temp_speed[4] & th_speed[5] & !B1L16 # !B1_temp_speed[4] & (th_speed[5] # !B1L16));
--B1L95 is motorctrl:inst|LessThan~3136
--operation mode is arithmetic
B1L95 = CARRY(B1_temp_speed[4] & th_speed[4] & !B1L36 # !B1_temp_speed[4] & (th_speed[4] # !B1L36));
--B1L16 is motorctrl:inst|LessThan~3141
--operation mode is arithmetic
B1L16 = CARRY(B1_temp_speed[3] & (!B1L56 # !th_speed[4]) # !B1_temp_speed[3] & !th_speed[4] & !B1L56);
--B1L36 is motorctrl:inst|LessThan~3146
--operation mode is arithmetic
B1L36 = CARRY(B1_temp_speed[3] & (!B1L76 # !th_speed[3]) # !B1_temp_speed[3] & !th_speed[3] & !B1L76);
--B1L56 is motorctrl:inst|LessThan~3151
--operation mode is arithmetic
B1L56 = CARRY(B1_temp_speed[2] & th_speed[3] & !B1L96 # !B1_temp_speed[2] & (th_speed[3] # !B1L96));
--B1L76 is motorctrl:inst|LessThan~3156
--operation mode is arithmetic
B1L76 = CARRY(B1_temp_speed[2] & th_speed[2] & !B1L17 # !B1_temp_speed[2] & (th_speed[2] # !B1L17));
--B1L96 is motorctrl:inst|LessThan~3161
--operation mode is arithmetic
B1L96 = CARRY(B1_temp_speed[1] & (!B1L37 # !th_speed[2]) # !B1_temp_speed[1] & !th_speed[2] & !B1L37);
--B1L17 is motorctrl:inst|LessThan~3166
--operation mode is arithmetic
B1L17 = CARRY(B1_temp_speed[1] & (!B1L57 # !th_speed[1]) # !B1_temp_speed[1] & !th_speed[1] & !B1L57);
--B1L37 is motorctrl:inst|LessThan~3171
--operation mode is arithmetic
B1L37 = CARRY(!B1_temp_speed[0] & th_speed[1]);
--B1L57 is motorctrl:inst|LessThan~3176
--operation mode is arithmetic
B1L57 = CARRY(!B1_temp_speed[0] & th_speed[0]);
--B1L88 is motorctrl:inst|status~144
--operation mode is normal
B1L88 = B1L64 # B1L77 & B1L54 # !B1L44;
--B1L98 is motorctrl:inst|status~145
--operation mode is normal
B1L98 = B1L44 & (B1L88 & (B1L41 # B1_temp_speed[30]) # !B1L88 & B1L41 & B1_temp_speed[30]) # !B1L44 & B1L88;
--B1L67 is motorctrl:inst|LessThan~3179
--operation mode is normal
B1L67 = B1L94 & (B1L12 # !B1_temp_speed[4]) # !B1L94 & (!B1_temp_speed[4] & B1L12);
--B1L77 is motorctrl:inst|LessThan~3180
--operation mode is normal
B1L77 = B1L67 & (B1L91 # !B1_temp_speed[5]) # !B1L67 & !B1_temp_speed[5] & B1L91;
--reset is reset
--operation mode is input
reset = INPUT();
--clk is clk
--operation mode is input
clk = INPUT();
--th_speed[1] is th_speed[1]
--operation mode is input
th_speed[1] = INPUT();
--th_speed[0] is th_speed[0]
--operation mode is input
th_speed[0] = INPUT();
--target_speed[7] is target_speed[7]
--operation mode is input
target_speed[7] = INPUT();
--speed_now[7] is speed_now[7]
--operation mode is input
speed_now[7] = INPUT();
--th_speed[7] is th_speed[7]
--operation mode is input
th_speed[7] = INPUT();
--th_speed[5] is th_speed[5]
--operation mode is input
th_speed[5] = INPUT();
--target_speed[4] is target_speed[4]
--operation mode is input
target_speed[4] = INPUT();
--speed_now[4] is speed_now[4]
--operation mode is input
speed_now[4] = INPUT();
--th_speed[4] is th_speed[4]
--operation mode is input
th_speed[4] = INPUT();
--target_speed[3] is target_speed[3]
--operation mode is input
target_speed[3] = INPUT();
--speed_now[3] is speed_now[3]
--operation mode is input
speed_now[3] = INPUT();
--th_speed[3] is th_speed[3]
--operation mode is input
th_speed[3] = INPUT();
--target_speed[2] is target_speed[2]
--operation mode is input
target_speed[2] = INPUT();
--speed_now[2] is speed_now[2]
--operation mode is input
speed_now[2] = INPUT();
--th_speed[2] is th_speed[2]
--operation mode is input
th_speed[2] = INPUT();
--target_speed[0] is target_speed[0]
--operation mode is input
target_speed[0] = INPUT();
--speed_now[0] is speed_now[0]
--operation mode is input
speed_now[0] = INPUT();
--target_speed[1] is target_speed[1]
--operation mode is input
target_speed[1] = INPUT();
--speed_now[1] is speed_now[1]
--operation mode is input
speed_now[1] = INPUT();
--target_speed[6] is target_speed[6]
--operation mode is input
target_speed[6] = INPUT();
--speed_now[6] is speed_now[6]
--operation mode is input
speed_now[6] = INPUT();
--th_speed[6] is th_speed[6]
--operation mode is input
th_speed[6] = INPUT();
--target_speed[5] is target_speed[5]
--operation mode is input
target_speed[5] = INPUT();
--speed_now[5] is speed_now[5]
--operation mode is input
speed_now[5] = INPUT();
--pwme is pwme
--operation mode is output
pwme = OUTPUT(B1_pwme);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -