step_a.fit.eqn

来自「步进的控制电机控制 c++环境下开发」· EQN 代码 · 共 942 行 · 第 1/5 页

EQN
942 行
字号
AB1L85_cout_1 = AB1_safe_q[8] & !AB1L61;
AB1L85 = CARRY(AB1L85_cout_1);


--AB1_safe_q[7] is FREQTEST:121|CNT:U3|lpm_counter:lpm_counter_component|cntr_8f8:auto_generated|safe_q[7] at LC_X3_Y8_N9
--operation mode is arithmetic

AB1_safe_q[7]_carry_eqn = (!AB1L6 & AB1L35) # (AB1L6 & AB1L45);
AB1_safe_q[7]_lut_out = AB1_safe_q[7] $ AB1_safe_q[7]_carry_eqn;
AB1_safe_q[7] = DFFEA(AB1_safe_q[7]_lut_out, GLOBAL(CNTT), !W1_CLR_CNT, , W1_Div2CLK, , );

--AB1L61 is FREQTEST:121|CNT:U3|lpm_counter:lpm_counter_component|cntr_8f8:auto_generated|counter_cella7~COUT at LC_X3_Y8_N9
--operation mode is arithmetic

AB1L61 = CARRY(!AB1L45 # !AB1_safe_q[7]);


--AB1_safe_q[6] is FREQTEST:121|CNT:U3|lpm_counter:lpm_counter_component|cntr_8f8:auto_generated|safe_q[6] at LC_X3_Y8_N8
--operation mode is arithmetic

AB1_safe_q[6]_carry_eqn = (!AB1L6 & AB1L05) # (AB1L6 & AB1L15);
AB1_safe_q[6]_lut_out = AB1_safe_q[6] $ !AB1_safe_q[6]_carry_eqn;
AB1_safe_q[6] = DFFEA(AB1_safe_q[6]_lut_out, GLOBAL(CNTT), !W1_CLR_CNT, , W1_Div2CLK, , );

--AB1L35 is FREQTEST:121|CNT:U3|lpm_counter:lpm_counter_component|cntr_8f8:auto_generated|safe_q[6]~COUT0 at LC_X3_Y8_N8
--operation mode is arithmetic

AB1L35_cout_0 = AB1_safe_q[6] & !AB1L05;
AB1L35 = CARRY(AB1L35_cout_0);

--AB1L45 is FREQTEST:121|CNT:U3|lpm_counter:lpm_counter_component|cntr_8f8:auto_generated|safe_q[6]~COUT1 at LC_X3_Y8_N8
--operation mode is arithmetic

AB1L45_cout_1 = AB1_safe_q[6] & !AB1L15;
AB1L45 = CARRY(AB1L45_cout_1);


--AB1_safe_q[5] is FREQTEST:121|CNT:U3|lpm_counter:lpm_counter_component|cntr_8f8:auto_generated|safe_q[5] at LC_X3_Y8_N7
--operation mode is arithmetic

AB1_safe_q[5]_carry_eqn = (!AB1L6 & AB1L74) # (AB1L6 & AB1L84);
AB1_safe_q[5]_lut_out = AB1_safe_q[5] $ AB1_safe_q[5]_carry_eqn;
AB1_safe_q[5] = DFFEA(AB1_safe_q[5]_lut_out, GLOBAL(CNTT), !W1_CLR_CNT, , W1_Div2CLK, , );

--AB1L05 is FREQTEST:121|CNT:U3|lpm_counter:lpm_counter_component|cntr_8f8:auto_generated|safe_q[5]~COUT0 at LC_X3_Y8_N7
--operation mode is arithmetic

AB1L05_cout_0 = !AB1L74 # !AB1_safe_q[5];
AB1L05 = CARRY(AB1L05_cout_0);

--AB1L15 is FREQTEST:121|CNT:U3|lpm_counter:lpm_counter_component|cntr_8f8:auto_generated|safe_q[5]~COUT1 at LC_X3_Y8_N7
--operation mode is arithmetic

AB1L15_cout_1 = !AB1L84 # !AB1_safe_q[5];
AB1L15 = CARRY(AB1L15_cout_1);


--AB1_safe_q[4] is FREQTEST:121|CNT:U3|lpm_counter:lpm_counter_component|cntr_8f8:auto_generated|safe_q[4] at LC_X3_Y8_N6
--operation mode is arithmetic

AB1_safe_q[4]_carry_eqn = (!AB1L6 & AB1L44) # (AB1L6 & AB1L54);
AB1_safe_q[4]_lut_out = AB1_safe_q[4] $ !AB1_safe_q[4]_carry_eqn;
AB1_safe_q[4] = DFFEA(AB1_safe_q[4]_lut_out, GLOBAL(CNTT), !W1_CLR_CNT, , W1_Div2CLK, , );

--AB1L74 is FREQTEST:121|CNT:U3|lpm_counter:lpm_counter_component|cntr_8f8:auto_generated|safe_q[4]~COUT0 at LC_X3_Y8_N6
--operation mode is arithmetic

AB1L74_cout_0 = AB1_safe_q[4] & !AB1L44;
AB1L74 = CARRY(AB1L74_cout_0);

--AB1L84 is FREQTEST:121|CNT:U3|lpm_counter:lpm_counter_component|cntr_8f8:auto_generated|safe_q[4]~COUT1 at LC_X3_Y8_N6
--operation mode is arithmetic

AB1L84_cout_1 = AB1_safe_q[4] & !AB1L54;
AB1L84 = CARRY(AB1L84_cout_1);


--AB1_safe_q[3] is FREQTEST:121|CNT:U3|lpm_counter:lpm_counter_component|cntr_8f8:auto_generated|safe_q[3] at LC_X3_Y8_N5
--operation mode is arithmetic

AB1_safe_q[3]_carry_eqn = AB1L6;
AB1_safe_q[3]_lut_out = AB1_safe_q[3] $ AB1_safe_q[3]_carry_eqn;
AB1_safe_q[3] = DFFEA(AB1_safe_q[3]_lut_out, GLOBAL(CNTT), !W1_CLR_CNT, , W1_Div2CLK, , );

--AB1L44 is FREQTEST:121|CNT:U3|lpm_counter:lpm_counter_component|cntr_8f8:auto_generated|safe_q[3]~COUT0 at LC_X3_Y8_N5
--operation mode is arithmetic

AB1L44_cout_0 = !AB1L6 # !AB1_safe_q[3];
AB1L44 = CARRY(AB1L44_cout_0);

--AB1L54 is FREQTEST:121|CNT:U3|lpm_counter:lpm_counter_component|cntr_8f8:auto_generated|safe_q[3]~COUT1 at LC_X3_Y8_N5
--operation mode is arithmetic

AB1L54_cout_1 = !AB1L6 # !AB1_safe_q[3];
AB1L54 = CARRY(AB1L54_cout_1);


--AB1_safe_q[2] is FREQTEST:121|CNT:U3|lpm_counter:lpm_counter_component|cntr_8f8:auto_generated|safe_q[2] at LC_X3_Y8_N4
--operation mode is arithmetic

AB1_safe_q[2]_lut_out = AB1_safe_q[2] $ !AB1L04;
AB1_safe_q[2] = DFFEA(AB1_safe_q[2]_lut_out, GLOBAL(CNTT), !W1_CLR_CNT, , W1_Div2CLK, , );

--AB1L6 is FREQTEST:121|CNT:U3|lpm_counter:lpm_counter_component|cntr_8f8:auto_generated|counter_cella2~COUT at LC_X3_Y8_N4
--operation mode is arithmetic

AB1L6 = CARRY(AB1_safe_q[2] & !AB1L14);


--AB1_safe_q[1] is FREQTEST:121|CNT:U3|lpm_counter:lpm_counter_component|cntr_8f8:auto_generated|safe_q[1] at LC_X3_Y8_N3
--operation mode is arithmetic

AB1_safe_q[1]_lut_out = AB1_safe_q[1] $ AB1L73;
AB1_safe_q[1] = DFFEA(AB1_safe_q[1]_lut_out, GLOBAL(CNTT), !W1_CLR_CNT, , W1_Div2CLK, , );

--AB1L04 is FREQTEST:121|CNT:U3|lpm_counter:lpm_counter_component|cntr_8f8:auto_generated|safe_q[1]~COUT0 at LC_X3_Y8_N3
--operation mode is arithmetic

AB1L04_cout_0 = !AB1L73 # !AB1_safe_q[1];
AB1L04 = CARRY(AB1L04_cout_0);

--AB1L14 is FREQTEST:121|CNT:U3|lpm_counter:lpm_counter_component|cntr_8f8:auto_generated|safe_q[1]~COUT1 at LC_X3_Y8_N3
--operation mode is arithmetic

AB1L14_cout_1 = !AB1L83 # !AB1_safe_q[1];
AB1L14 = CARRY(AB1L14_cout_1);


--AB1_safe_q[0] is FREQTEST:121|CNT:U3|lpm_counter:lpm_counter_component|cntr_8f8:auto_generated|safe_q[0] at LC_X3_Y8_N2
--operation mode is arithmetic

AB1_safe_q[0]_lut_out = !AB1_safe_q[0];
AB1_safe_q[0] = DFFEA(AB1_safe_q[0]_lut_out, GLOBAL(CNTT), !W1_CLR_CNT, , W1_Div2CLK, , );

--AB1L73 is FREQTEST:121|CNT:U3|lpm_counter:lpm_counter_component|cntr_8f8:auto_generated|safe_q[0]~COUT0 at LC_X3_Y8_N2
--operation mode is arithmetic

AB1L73_cout_0 = AB1_safe_q[0];
AB1L73 = CARRY(AB1L73_cout_0);

--AB1L83 is FREQTEST:121|CNT:U3|lpm_counter:lpm_counter_component|cntr_8f8:auto_generated|safe_q[0]~COUT1 at LC_X3_Y8_N2
--operation mode is arithmetic

AB1L83_cout_1 = AB1_safe_q[0];
AB1L83 = CARRY(AB1L83_cout_1);


--V1L41 is cmp3:93|lpm_compare:1|comptree:comparator|cmpchain:cmp_end|lcarry[2]~COUT0 at LC_X15_Y11_N8
--operation mode is arithmetic

V1L41_cout_0 = EB1_q_a[14] & (!V1L01 # !R1_safe_q[3]) # !EB1_q_a[14] & !R1_safe_q[3] & !V1L01;
V1L41 = CARRY(V1L41_cout_0);

--V1L51 is cmp3:93|lpm_compare:1|comptree:comparator|cmpchain:cmp_end|lcarry[2]~COUT1 at LC_X15_Y11_N8
--operation mode is arithmetic

V1L51_cout_1 = EB1_q_a[14] & (!V1L11 # !R1_safe_q[3]) # !EB1_q_a[14] & !R1_safe_q[3] & !V1L11;
V1L51 = CARRY(V1L51_cout_1);


--EB1_q_a[15] is rom3:inst|altsyncram:altsyncram_component|altsyncram_0fs:auto_generated|altsyncram_s6a2:altsyncram1|q_a[15] at M4K_X17_Y11
--RAM Block Operation Mode: True Dual-Port
--Port A Depth: 32, Port A Width: 16, Port B Depth: 32, Port B Width: 16
--Port A Logical Depth: 32, Port A Logical Width: 16, Port B Logical Depth: 32, Port B Logical Width: 16
--Port A Input: Registered, Port A Output: Un-registered, Port B Input: Registered, Port B Output: Un-registered
EB1_q_a[15]_PORT_A_data_in = BUS(VCC, VCC, VCC, VCC, VCC, VCC, VCC, VCC, VCC, VCC, VCC, VCC, VCC, VCC, VCC, VCC);
EB1_q_a[15]_PORT_A_data_in_reg = DFFE(EB1_q_a[15]_PORT_A_data_in, EB1_q_a[15]_clock_0, , , );
EB1_q_a[15]_PORT_B_data_in = BUS(FB1_ram_rom_data_reg[15], FB1_ram_rom_data_reg[11], FB1_ram_rom_data_reg[7], FB1_ram_rom_data_reg[3], FB1_ram_rom_data_reg[14], FB1_ram_rom_data_reg[10], FB1_ram_rom_data_reg[6], FB1_ram_rom_data_reg[2], FB1_ram_rom_data_reg[13], FB1_ram_rom_data_reg[9], FB1_ram_rom_data_reg[5], FB1_ram_rom_data_reg[1], FB1_ram_rom_data_reg[0], FB1_ram_rom_data_reg[12], FB1_ram_rom_data_reg[8], FB1_ram_rom_data_reg[4]);
EB1_q_a[15]_PORT_B_data_in_reg = DFFE(EB1_q_a[15]_PORT_B_data_in, EB1_q_a[15]_clock_1, , , );
EB1_q_a[15]_PORT_A_address = BUS(BB1_safe_q[0], BB1_safe_q[1], BB1_safe_q[2], BB1_safe_q[3], BB1_safe_q[4]);
EB1_q_a[15]_PORT_A_address_reg = DFFE(EB1_q_a[15]_PORT_A_address, EB1_q_a[15]_clock_0, , , );
EB1_q_a[15]_PORT_B_address = BUS(HB1_safe_q[0], HB1_safe_q[1], HB1_safe_q[2], HB1_safe_q[3], HB1_safe_q[4]);
EB1_q_a[15]_PORT_B_address_reg = DFFE(EB1_q_a[15]_PORT_B_address, EB1_q_a[15]_clock_1, , , );
EB1_q_a[15]_PORT_A_write_enable = GND;
EB1_q_a[15]_PORT_A_write_enable_reg = DFFE(EB1_q_a[15]_PORT_A_write_enable, EB1_q_a[15]_clock_0, , , );
EB1_q_a[15]_PORT_B_write_enable = FB1L63;
EB1_q_a[15]_PORT_B_write_enable_reg = DFFE(EB1_q_a[15]_PORT_B_write_enable, EB1_q_a[15]_clock_1, , , );
EB1_q_a[15]_clock_0 = GLOBAL(clk0);
EB1_q_a[15]_clock_1 = GLOBAL(A1L5);
EB1_q_a[15]_PORT_A_data_out = MEMORY(EB1_q_a[15]_PORT_A_data_in_reg, EB1_q_a[15]_PORT_B_data_in_reg, EB1_q_a[15]_PORT_A_address_reg, EB1_q_a[15]_PORT_B_address_reg, EB1_q_a[15]_PORT_A_write_enable_reg, EB1_q_a[15]_PORT_B_write_enable_reg, , , EB1_q_a[15]_clock_0, EB1_q_a[15]_clock_1, , , , );
EB1_q_a[15] = EB1_q_a[15]_PORT_A_data_out[0];

--EB1_q_b[15] is rom3:inst|altsyncram:altsyncram_component|altsyncram_0fs:auto_generated|altsyncram_s6a2:altsyncram1|q_b[15] at M4K_X17_Y11
EB1_q_b[15]_PORT_A_data_in = BUS(VCC, VCC, VCC, VCC, VCC, VCC, VCC, VCC, VCC, VCC, VCC, VCC, VCC, VCC, VCC, VCC);
EB1_q_b[15]_PORT_A_data_in_reg = DFFE(EB1_q_b[15]_PORT_A_data_in, EB1_q_b[15]_clock_0, , , );
EB1_q_b[15]_PORT_B_data_in = BUS(FB1_ram_rom_data_reg[15], FB1_ram_rom_data_reg[11], FB1_ram_rom_data_reg[7], FB1_ram_rom_data_reg[3], FB1_ram_rom_data_reg[14], FB1_ram_rom_data_reg[10], FB1_ram_rom_data_reg[6], FB1_ram_rom_data_reg[2], FB1_ram_rom_data_reg[13], FB1_ram_rom_data_reg[9], FB1_ram_rom_data_reg[5], FB1_ram_rom_data_reg[1], FB1_ram_rom_data_reg[0], FB1_ram_rom_data_reg[12], FB1_ram_rom_data_reg[8], FB1_ram_rom_data_reg[4]);
EB1_q_b[15]_PORT_B_data_in_reg = DFFE(EB1_q_b[15]_PORT_B_data_in, EB1_q_b[15]_clock_1, , , );
EB1_q_b[15]_PORT_A_address = BUS(BB1_safe_q[0], BB1_safe_q[1], BB1_safe_q[2], BB1_safe_q[3], BB1_safe_q[4]);
EB1_q_b[15]_PORT_A_address_reg = DFFE(EB1_q_b[15]_PORT_A_address, EB1_q_b[15]_clock_0, , , );

⌨️ 快捷键说明

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