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

📄 step_a.map.eqn

📁 基于FPGA的直流电机的PWM控制和步进电机的细分驱动控制。使用VHDL语言编写
💻 EQN
📖 第 1 页 / 共 5 页
字号:
-- 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.
--C1_6 is 21mux:65|6
--operation mode is normal

C1_6 = U5_agb_out & Z_F;


--C2_7 is 21mux:66|7
--operation mode is normal

C2_7 = Z_F # !U5_agb_out;


--AB1_cout is FREQTEST:121|CNT:U3|lpm_counter:lpm_counter_component|cntr_8f8:auto_generated|cout
--operation mode is normal

AB1_cout_carry_eqn = AB1L23;
AB1_cout = !AB1_cout_carry_eqn;


--inst6 is inst6
--operation mode is normal

inst6_lut_out = inst5;
inst6 = DFFEAS(inst6_lut_out, clk5, VCC, , , , , , );


--inst5 is inst5
--operation mode is normal

inst5_lut_out = CNTT;
inst5 = DFFEAS(inst5_lut_out, clk5, VCC, , , , , , );


--inst7 is inst7
--operation mode is normal

inst7 = inst6 & (!inst5);


--Y1_dffs[15] is FREQTEST:121|REG:U2|lpm_ff:lpm_ff_component|dffs[15]
--operation mode is normal

Y1_dffs[15]_lut_out = AB1_safe_q[15];
Y1_dffs[15] = DFFEAS(Y1_dffs[15]_lut_out, !V1_TSTEN, VCC, , , , , , );


--Y1_dffs[14] is FREQTEST:121|REG:U2|lpm_ff:lpm_ff_component|dffs[14]
--operation mode is normal

Y1_dffs[14]_lut_out = AB1_safe_q[14];
Y1_dffs[14] = DFFEAS(Y1_dffs[14]_lut_out, !V1_TSTEN, VCC, , , , , , );


--Y1_dffs[13] is FREQTEST:121|REG:U2|lpm_ff:lpm_ff_component|dffs[13]
--operation mode is normal

Y1_dffs[13]_lut_out = AB1_safe_q[13];
Y1_dffs[13] = DFFEAS(Y1_dffs[13]_lut_out, !V1_TSTEN, VCC, , , , , , );


--Y1_dffs[12] is FREQTEST:121|REG:U2|lpm_ff:lpm_ff_component|dffs[12]
--operation mode is normal

Y1_dffs[12]_lut_out = AB1_safe_q[12];
Y1_dffs[12] = DFFEAS(Y1_dffs[12]_lut_out, !V1_TSTEN, VCC, , , , , , );


--Y1_dffs[11] is FREQTEST:121|REG:U2|lpm_ff:lpm_ff_component|dffs[11]
--operation mode is normal

Y1_dffs[11]_lut_out = AB1_safe_q[11];
Y1_dffs[11] = DFFEAS(Y1_dffs[11]_lut_out, !V1_TSTEN, VCC, , , , , , );


--Y1_dffs[10] is FREQTEST:121|REG:U2|lpm_ff:lpm_ff_component|dffs[10]
--operation mode is normal

Y1_dffs[10]_lut_out = AB1_safe_q[10];
Y1_dffs[10] = DFFEAS(Y1_dffs[10]_lut_out, !V1_TSTEN, VCC, , , , , , );


--Y1_dffs[9] is FREQTEST:121|REG:U2|lpm_ff:lpm_ff_component|dffs[9]
--operation mode is normal

Y1_dffs[9]_lut_out = AB1_safe_q[9];
Y1_dffs[9] = DFFEAS(Y1_dffs[9]_lut_out, !V1_TSTEN, VCC, , , , , , );


--Y1_dffs[8] is FREQTEST:121|REG:U2|lpm_ff:lpm_ff_component|dffs[8]
--operation mode is normal

Y1_dffs[8]_lut_out = AB1_safe_q[8];
Y1_dffs[8] = DFFEAS(Y1_dffs[8]_lut_out, !V1_TSTEN, VCC, , , , , , );


--Y1_dffs[7] is FREQTEST:121|REG:U2|lpm_ff:lpm_ff_component|dffs[7]
--operation mode is normal

Y1_dffs[7]_lut_out = AB1_safe_q[7];
Y1_dffs[7] = DFFEAS(Y1_dffs[7]_lut_out, !V1_TSTEN, VCC, , , , , , );


--Y1_dffs[6] is FREQTEST:121|REG:U2|lpm_ff:lpm_ff_component|dffs[6]
--operation mode is normal

Y1_dffs[6]_lut_out = AB1_safe_q[6];
Y1_dffs[6] = DFFEAS(Y1_dffs[6]_lut_out, !V1_TSTEN, VCC, , , , , , );


--Y1_dffs[5] is FREQTEST:121|REG:U2|lpm_ff:lpm_ff_component|dffs[5]
--operation mode is normal

Y1_dffs[5]_lut_out = AB1_safe_q[5];
Y1_dffs[5] = DFFEAS(Y1_dffs[5]_lut_out, !V1_TSTEN, VCC, , , , , , );


--Y1_dffs[4] is FREQTEST:121|REG:U2|lpm_ff:lpm_ff_component|dffs[4]
--operation mode is normal

Y1_dffs[4]_lut_out = AB1_safe_q[4];
Y1_dffs[4] = DFFEAS(Y1_dffs[4]_lut_out, !V1_TSTEN, VCC, , , , , , );


--Y1_dffs[3] is FREQTEST:121|REG:U2|lpm_ff:lpm_ff_component|dffs[3]
--operation mode is normal

Y1_dffs[3]_lut_out = AB1_safe_q[3];
Y1_dffs[3] = DFFEAS(Y1_dffs[3]_lut_out, !V1_TSTEN, VCC, , , , , , );


--Y1_dffs[2] is FREQTEST:121|REG:U2|lpm_ff:lpm_ff_component|dffs[2]
--operation mode is normal

Y1_dffs[2]_lut_out = AB1_safe_q[2];
Y1_dffs[2] = DFFEAS(Y1_dffs[2]_lut_out, !V1_TSTEN, VCC, , , , , , );


--Y1_dffs[1] is FREQTEST:121|REG:U2|lpm_ff:lpm_ff_component|dffs[1]
--operation mode is normal

Y1_dffs[1]_lut_out = AB1_safe_q[1];
Y1_dffs[1] = DFFEAS(Y1_dffs[1]_lut_out, !V1_TSTEN, VCC, , , , , , );


--Y1_dffs[0] is FREQTEST:121|REG:U2|lpm_ff:lpm_ff_component|dffs[0]
--operation mode is normal

Y1_dffs[0]_lut_out = AB1_safe_q[0];
Y1_dffs[0] = DFFEAS(Y1_dffs[0]_lut_out, !V1_TSTEN, VCC, , , , , , );


--K1_CQ[1] is DECD:136|CQ[1]
--operation mode is normal

K1_CQ[1]_lut_out = !K1_CQ[1];
K1_CQ[1] = DFFEAS(K1_CQ[1]_lut_out, D_STP, VCC, , K1_CQ[0], , , , );


--K1_CQ[0] is DECD:136|CQ[0]
--operation mode is normal

K1_CQ[0]_lut_out = !K1_CQ[0];
K1_CQ[0] = DFFEAS(K1_CQ[0]_lut_out, D_STP, VCC, , , , , , );


--G1_CQ[1] is Dec2:125|CQ[1]
--operation mode is normal

G1_CQ[1]_lut_out = H1_CQI[1];
G1_CQ[1] = DFFEAS(G1_CQ[1]_lut_out, clk0, VCC, , , , , , );


--Q1L4 is busmux:41|lpm_mux:$00000|mux_6fc:auto_generated|w_result49w~11
--operation mode is normal

Q1L4 = S & U1_agb_out # !S & (!G1_CQ[1]);


--inst8 is inst8
--operation mode is normal

inst8_lut_out = !inst8;
inst8 = DFFEAS(inst8_lut_out, clk0, VCC, , , , , , );


--Q1L3 is busmux:41|lpm_mux:$00000|mux_6fc:auto_generated|w_result37w~70
--operation mode is normal

Q1L3 = S & U2_agb_out # !S & (G1_CQ[1] $ !inst8);


--Q1L2 is busmux:41|lpm_mux:$00000|mux_6fc:auto_generated|w_result25w~11
--operation mode is normal

Q1L2 = S & U3_agb_out # !S & (G1_CQ[1]);


--Q1L1 is busmux:41|lpm_mux:$00000|mux_6fc:auto_generated|w_result11w~40
--operation mode is normal

Q1L1 = S & U4_agb_out # !S & (G1_CQ[1] $ inst8);


--A1L6 is altera_internal_jtag~TDO
A1L6 = STRATIX_ELA(altera_reserved_tms, altera_reserved_tck, altera_reserved_tdi, , , !N1_hub_tdo);

--A1L7 is altera_internal_jtag~TMSUTAP
A1L7 = STRATIX_ELA(altera_reserved_tms, altera_reserved_tck, altera_reserved_tdi, , , !N1_hub_tdo);

--A1L5 is altera_internal_jtag~TCKUTAP
A1L5 = STRATIX_ELA(altera_reserved_tms, altera_reserved_tck, altera_reserved_tdi, , , !N1_hub_tdo);

--altera_internal_jtag is altera_internal_jtag
altera_internal_jtag = STRATIX_ELA(altera_reserved_tms, altera_reserved_tck, altera_reserved_tdi, , , !N1_hub_tdo);


--U5_lcarry[2] is cmp3:131|lpm_compare:1|comptree:comparator|cmpchain:cmp_end|lcarry[2]
--operation mode is arithmetic

U5_lcarry[2] = CARRY(K1L4 & (!U5_lcarry[1] # !D1_CQI[3]) # !K1L4 & !D1_CQI[3] & !U5_lcarry[1]);


--D1_CQI[4] is CNT8:83|CQI[4]
--operation mode is normal

D1_CQI[4]_carry_eqn = D1L9;
D1_CQI[4]_lut_out = D1_CQI[4] $ (!D1_CQI[4]_carry_eqn);
D1_CQI[4] = DFFEAS(D1_CQI[4]_lut_out, clk5, VCC, , , , , , );


--U5_agb_out is cmp3:131|lpm_compare:1|comptree:comparator|cmpchain:cmp_end|agb_out
--operation mode is normal

U5_agb_out_carry_eqn = U5_lcarry[2];
U5_agb_out = LCELL(K1_CQ[1] & (U5_agb_out_carry_eqn # !D1_CQI[4]) # !K1_CQ[1] & U5_agb_out_carry_eqn & !D1_CQI[4]);


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

AB1_safe_q[15]_carry_eqn = AB1L03;
AB1_safe_q[15]_lut_out = AB1_safe_q[15] $ (AB1_safe_q[15]_carry_eqn);
AB1_safe_q[15] = DFFEAS(AB1_safe_q[15]_lut_out, inst7, !V1_CLR_CNT, , V1_TSTEN, , , , );

--AB1L23 is FREQTEST:121|CNT:U3|lpm_counter:lpm_counter_component|cntr_8f8:auto_generated|counter_cella15~COUT
--operation mode is arithmetic

AB1L23 = CARRY(!AB1L03 # !AB1_safe_q[15]);


--V1_TSTEN is FREQTEST:121|TESTCTL:U1|TSTEN
--operation mode is normal

V1_TSTEN_lut_out = !V1_TSTEN;
V1_TSTEN = DFFEAS(V1_TSTEN_lut_out, inst9, VCC, , , , , , );


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

AB1_safe_q[14]_carry_eqn = AB1L82;
AB1_safe_q[14]_lut_out = AB1_safe_q[14] $ (!AB1_safe_q[14]_carry_eqn);
AB1_safe_q[14] = DFFEAS(AB1_safe_q[14]_lut_out, inst7, !V1_CLR_CNT, , V1_TSTEN, , , , );

--AB1L03 is FREQTEST:121|CNT:U3|lpm_counter:lpm_counter_component|cntr_8f8:auto_generated|counter_cella14~COUT
--operation mode is arithmetic

⌨️ 快捷键说明

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