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

📄 stepctrl.map.eqn

📁 滤波器设计及数据采集系统
💻 EQN
📖 第 1 页 / 共 2 页
字号:
-- Copyright (C) 1991-2005 Altera Corporation
-- Your use of Altera Corporation's design tools, logic functions 
-- and other software and tools, and its AMPP partner logic 
-- functions, and any output files any of the foregoing 
-- (including device programming or simulation files), and any 
-- associated documentation or information are expressly subject 
-- to the terms and conditions of the Altera Program License 
-- Subscription Agreement, Altera MegaCore Function License 
-- Agreement, or other applicable license agreement, including, 
-- without limitation, that your use is for the sole purpose of 
-- programming logic devices manufactured by Altera and sold by 
-- Altera or its authorized distributors.  Please refer to the 
-- applicable agreement for further details.
--B1_pwme is motorctrl:inst|pwme
--operation mode is normal

B1_pwme_lut_out = B1_status[1] & (B1_pulse_status[0] # !B1_status[2] & B1L87) # !B1_status[1] & B1_pulse_status[0] & (!B1L87 # !B1_status[2]);
B1_pwme = DFFEAS(B1_pwme_lut_out, clk, VCC, , , , , , );


--B1_status[1] is motorctrl:inst|status[1]
--operation mode is normal

B1_status[1]_lut_out = !B1_temp_speed[30] & (B1_temp_speed[7] # !B1L43 # !B1L33);
B1_status[1] = DFFEAS(B1_status[1]_lut_out, clk, VCC, , , , , , );


--B1_pulse_status[0] is motorctrl:inst|pulse_status[0]
--operation mode is normal

B1_pulse_status[0]_lut_out = !B1_pulse_status[0];
B1_pulse_status[0] = DFFEAS(B1_pulse_status[0]_lut_out, clk, VCC, , , , , , );


--B1_status[2] is motorctrl:inst|status[2]
--operation mode is normal

B1_status[2]_lut_out = B1L44 & (B1_temp_speed[30] # B1L33 & B1L78);
B1_status[2] = DFFEAS(B1_status[2]_lut_out, clk, VCC, , , , , , );


--B1_status[0] is motorctrl:inst|status[0]
--operation mode is normal

B1_status[0]_lut_out = B1_temp_speed[30] & B1L98 # !B1_temp_speed[30] & (B1L98 & B1L78 # !B1L33);
B1_status[0] = DFFEAS(B1_status[0]_lut_out, clk, VCC, , , , , , );


--B1_pulse_status[1] is motorctrl:inst|pulse_status[1]
--operation mode is normal

B1_pulse_status[1]_lut_out = !B1_pulse_status[1];
B1_pulse_status[1] = DFFEAS(B1_pulse_status[1]_lut_out, clk, VCC, , B1_pulse_status[0], , , , );


--B1L87 is motorctrl:inst|Mux~25
--operation mode is normal

B1L87 = B1_status[0] # B1_pulse_status[1];


--B1_temp_speed[7] is motorctrl:inst|temp_speed[7]
--operation mode is arithmetic

B1_temp_speed[7]_carry_eqn = B1L401;
B1_temp_speed[7]_lut_out = target_speed[7] $ speed_now[7] $ !B1_temp_speed[7]_carry_eqn;
B1_temp_speed[7] = DFFEAS(B1_temp_speed[7]_lut_out, clk, VCC, , , , , , );

--B1L601 is motorctrl:inst|temp_speed[7]~131
--operation mode is arithmetic

B1L601 = CARRY(target_speed[7] & speed_now[7] & !B1L401 # !target_speed[7] & (speed_now[7] # !B1L401));


--B1L33 is motorctrl:inst|LessThan~3089
--operation mode is normal

B1L33_carry_eqn = B1L15;
B1L33 = B1_temp_speed[7] & th_speed[7] & B1L33_carry_eqn # !B1_temp_speed[7] & (th_speed[7] # B1L33_carry_eqn);


--B1L43 is motorctrl:inst|LessThan~3094
--operation mode is normal

B1L43_carry_eqn = B1L35;
B1L43 = B1_temp_speed[6] & th_speed[7] & !B1L43_carry_eqn # !B1_temp_speed[6] & (th_speed[7] # !B1L43_carry_eqn);


--B1_temp_speed[30] is motorctrl:inst|temp_speed[30]
--operation mode is normal

B1_temp_speed[30]_carry_eqn = B1L601;
B1_temp_speed[30]_lut_out = B1_temp_speed[30]_carry_eqn;
B1_temp_speed[30] = DFFEAS(B1_temp_speed[30]_lut_out, clk, VCC, , , , , , );


--B1L1 is motorctrl:inst|add~406
--operation mode is normal

B1L1_carry_eqn = B1L11;
B1L1 = B1L1_carry_eqn;


--B1L2 is motorctrl:inst|add~411
--operation mode is arithmetic

B1L2_carry_eqn = B1L5;
B1L2 = th_speed[5] $ (B1L2_carry_eqn);

--B1L3 is motorctrl:inst|add~413
--operation mode is arithmetic

B1L3 = CARRY(!th_speed[5] & (!B1L5));


--B1_temp_speed[4] is motorctrl:inst|temp_speed[4]
--operation mode is arithmetic

B1_temp_speed[4]_carry_eqn = B1L89;
B1_temp_speed[4]_lut_out = target_speed[4] $ speed_now[4] $ B1_temp_speed[4]_carry_eqn;
B1_temp_speed[4] = DFFEAS(B1_temp_speed[4]_lut_out, clk, VCC, , , , , , );

--B1L001 is motorctrl:inst|temp_speed[4]~139
--operation mode is arithmetic

B1L001 = CARRY(target_speed[4] & (!B1L89 # !speed_now[4]) # !target_speed[4] & !speed_now[4] & !B1L89);


--B1L4 is motorctrl:inst|add~416
--operation mode is arithmetic

B1L4_carry_eqn = B1L7;
B1L4 = th_speed[4] $ (!B1L4_carry_eqn);

--B1L5 is motorctrl:inst|add~418
--operation mode is arithmetic

B1L5 = CARRY(th_speed[4] # !B1L7);


--B1_temp_speed[3] is motorctrl:inst|temp_speed[3]
--operation mode is arithmetic

B1_temp_speed[3]_carry_eqn = B1L69;
B1_temp_speed[3]_lut_out = target_speed[3] $ speed_now[3] $ !B1_temp_speed[3]_carry_eqn;
B1_temp_speed[3] = DFFEAS(B1_temp_speed[3]_lut_out, clk, VCC, , , , , , );

--B1L89 is motorctrl:inst|temp_speed[3]~143
--operation mode is arithmetic

B1L89 = CARRY(target_speed[3] & speed_now[3] & !B1L69 # !target_speed[3] & (speed_now[3] # !B1L69));


--B1L6 is motorctrl:inst|add~421
--operation mode is arithmetic

B1L6_carry_eqn = B1L9;
B1L6 = th_speed[3] $ (B1L6_carry_eqn);

--B1L7 is motorctrl:inst|add~423
--operation mode is arithmetic

B1L7 = CARRY(!th_speed[3] & (!B1L9));


--B1_temp_speed[2] is motorctrl:inst|temp_speed[2]
--operation mode is arithmetic

B1_temp_speed[2]_carry_eqn = B1L49;
B1_temp_speed[2]_lut_out = target_speed[2] $ speed_now[2] $ B1_temp_speed[2]_carry_eqn;
B1_temp_speed[2] = DFFEAS(B1_temp_speed[2]_lut_out, clk, VCC, , , , , , );

--B1L69 is motorctrl:inst|temp_speed[2]~147
--operation mode is arithmetic

B1L69 = CARRY(target_speed[2] & (!B1L49 # !speed_now[2]) # !target_speed[2] & !speed_now[2] & !B1L49);


--B1L8 is motorctrl:inst|add~426
--operation mode is arithmetic

B1L8_carry_eqn = B1L03;
B1L8 = th_speed[2] $ (!B1L8_carry_eqn);

--B1L9 is motorctrl:inst|add~428
--operation mode is arithmetic

B1L9 = CARRY(th_speed[2] # !B1L03);


--B1_temp_speed[0] is motorctrl:inst|temp_speed[0]
--operation mode is arithmetic

B1_temp_speed[0]_lut_out = target_speed[0] $ speed_now[0];
B1_temp_speed[0] = DFFEAS(B1_temp_speed[0]_lut_out, clk, VCC, , , , , , );

--B1L29 is motorctrl:inst|temp_speed[0]~151
--operation mode is arithmetic

B1L29 = CARRY(target_speed[0] # !speed_now[0]);


--B1_temp_speed[1] is motorctrl:inst|temp_speed[1]
--operation mode is arithmetic

B1_temp_speed[1]_carry_eqn = B1L29;
B1_temp_speed[1]_lut_out = target_speed[1] $ speed_now[1] $ !B1_temp_speed[1]_carry_eqn;
B1_temp_speed[1] = DFFEAS(B1_temp_speed[1]_lut_out, clk, VCC, , , , , , );

--B1L49 is motorctrl:inst|temp_speed[1]~155
--operation mode is arithmetic

B1L49 = CARRY(target_speed[1] & speed_now[1] & !B1L29 # !target_speed[1] & (speed_now[1] # !B1L29));


--B1L53 is motorctrl:inst|LessThan~3099
--operation mode is normal

B1L53 = B1L8 & (th_speed[1] & !B1_temp_speed[0] # !B1_temp_speed[1]) # !B1L8 & th_speed[1] & !B1_temp_speed[0] & !B1_temp_speed[1];


--B1L63 is motorctrl:inst|LessThan~3100
--operation mode is normal

B1L63 = B1L6 & (B1L53 # !B1_temp_speed[2]) # !B1L6 & !B1_temp_speed[2] & B1L53;


--B1L73 is motorctrl:inst|LessThan~3101
--operation mode is normal

B1L73 = B1L4 & (B1L63 # !B1_temp_speed[3]) # !B1L4 & !B1_temp_speed[3] & B1L63;


--B1L83 is motorctrl:inst|LessThan~3102
--operation mode is normal

B1L83 = B1L73 & (B1L2 $ !B1_temp_speed[4]);


--B1L01 is motorctrl:inst|add~431
--operation mode is arithmetic

B1L01_carry_eqn = B1L31;
B1L01 = th_speed[7] $ (B1L01_carry_eqn);

--B1L11 is motorctrl:inst|add~433
--operation mode is arithmetic

B1L11 = CARRY(!th_speed[7] & (!B1L31));


--B1_temp_speed[6] is motorctrl:inst|temp_speed[6]
--operation mode is arithmetic

B1_temp_speed[6]_carry_eqn = B1L201;
B1_temp_speed[6]_lut_out = target_speed[6] $ speed_now[6] $ B1_temp_speed[6]_carry_eqn;
B1_temp_speed[6] = DFFEAS(B1_temp_speed[6]_lut_out, clk, VCC, , , , , , );

--B1L401 is motorctrl:inst|temp_speed[6]~159
--operation mode is arithmetic

B1L401 = CARRY(target_speed[6] & (!B1L201 # !speed_now[6]) # !target_speed[6] & !speed_now[6] & !B1L201);


--B1L93 is motorctrl:inst|LessThan~3103
--operation mode is normal

B1L93 = B1L01 & B1_temp_speed[6] & (B1_temp_speed[7] $ B1L1) # !B1L01 & !B1_temp_speed[6] & (B1_temp_speed[7] $ B1L1);


--B1L21 is motorctrl:inst|add~436
--operation mode is arithmetic

B1L21_carry_eqn = B1L3;
B1L21 = th_speed[6] $ (!B1L21_carry_eqn);

--B1L31 is motorctrl:inst|add~438
--operation mode is arithmetic

B1L31 = CARRY(th_speed[6] # !B1L3);


--B1_temp_speed[5] is motorctrl:inst|temp_speed[5]
--operation mode is arithmetic

B1_temp_speed[5]_carry_eqn = B1L001;
B1_temp_speed[5]_lut_out = target_speed[5] $ speed_now[5] $ !B1_temp_speed[5]_carry_eqn;
B1_temp_speed[5] = DFFEAS(B1_temp_speed[5]_lut_out, clk, VCC, , , , , , );

--B1L201 is motorctrl:inst|temp_speed[5]~163
--operation mode is arithmetic

B1L201 = CARRY(target_speed[5] & speed_now[5] & !B1L001 # !target_speed[5] & (speed_now[5] # !B1L001));


--B1L04 is motorctrl:inst|LessThan~3104
--operation mode is normal

B1L04 = B1L83 & B1L93 & (B1L21 $ !B1_temp_speed[5]);


--B1L14 is motorctrl:inst|LessThan~3105
--operation mode is normal

B1L14 = B1L21 & (B1L2 & !B1_temp_speed[4] # !B1_temp_speed[5]) # !B1L21 & B1L2 & !B1_temp_speed[4] & !B1_temp_speed[5];


--B1L24 is motorctrl:inst|LessThan~3106
--operation mode is normal

B1L24 = B1L01 & (B1L14 # !B1_temp_speed[6]) # !B1L01 & !B1_temp_speed[6] & B1L14;


--B1L34 is motorctrl:inst|LessThan~3107
--operation mode is normal

B1L34 = B1_temp_speed[7] & !B1L1 & (B1L24 # !B1_temp_speed[30]) # !B1_temp_speed[7] & (B1L24 # !B1L1);


--B1L44 is motorctrl:inst|LessThan~3108
--operation mode is normal

B1L44 = B1_temp_speed[30] & (B1L1 # B1L04 # B1L34) # !B1_temp_speed[30] & B1L1 & (B1L04 # B1L34);


--B1L78 is motorctrl:inst|status~141
--operation mode is normal

B1L78 = B1L43 & (!B1_temp_speed[7]);


--B1L41 is motorctrl:inst|add~441
--operation mode is normal

B1L41_carry_eqn = B1L81;
B1L41 = !B1L41_carry_eqn;


--B1L51 is motorctrl:inst|add~446
--operation mode is arithmetic

B1L51_carry_eqn = B1L02;
B1L51 = th_speed[6] $ (B1L51_carry_eqn);

--B1L61 is motorctrl:inst|add~448
--operation mode is arithmetic

B1L61 = CARRY(!th_speed[6] & (!B1L02));


--B1L71 is motorctrl:inst|add~451
--operation mode is arithmetic

B1L71_carry_eqn = B1L61;
B1L71 = th_speed[7] $ (!B1L71_carry_eqn);

--B1L81 is motorctrl:inst|add~453
--operation mode is arithmetic

B1L81 = CARRY(th_speed[7] # !B1L61);


--B1L54 is motorctrl:inst|LessThan~3109
--operation mode is normal

⌨️ 快捷键说明

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