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

📄 gdb.fit.eqn

📁 控制三相步进电机及光电编码器的采集
💻 EQN
📖 第 1 页 / 共 3 页
字号:
--operation mode is normal

A1L33_carry_eqn = (!A1L47 & A1L49) # (A1L47 & A1L50);
A1L33 = A1L33_carry_eqn $ DJCOUNT0[9];


--A1L167 is Equal1~86 at LC_X4_Y2_N7
--operation mode is normal
--sload is tied to vcc, which is functionally the same as treating the sdata port as the data input.

DJCOUNT0[1]_qfbk = DJCOUNT0[1];
A1L167 = !DJCOUNT0[0] & !DJCOUNT0[4] & !DJCOUNT0[1]_qfbk & DJCOUNT0[9];

--DJCOUNT0[1] is DJCOUNT0[1] at LC_X4_Y2_N7
--operation mode is normal
--sload is tied to vcc, which is functionally the same as treating the sdata port as the data input.

DJCOUNT0[1] = DFFEAS(A1L167, GLOBAL(clk), VCC, , , A1L40, , , VCC);


--A1L168 is Equal1~87 at LC_X4_Y2_N5
--operation mode is normal

A1L168 = !DJCOUNT0[2] & DJCOUNT0[3] & A1L167 & A1L166;


--A1L34 is Add1~149 at LC_X5_Y2_N3
--operation mode is arithmetic

A1L34 = DJCOUNT0[3] $ A1L38;

--A1L35 is Add1~150 at LC_X5_Y2_N3
--operation mode is arithmetic

A1L35_cout_0 = !A1L38 # !DJCOUNT0[3];
A1L35 = CARRY(A1L35_cout_0);

--A1L36 is Add1~150COUT1 at LC_X5_Y2_N3
--operation mode is arithmetic

A1L36_cout_1 = !A1L39 # !DJCOUNT0[3];
A1L36 = CARRY(A1L36_cout_1);


--A1L37 is Add1~151 at LC_X5_Y2_N2
--operation mode is arithmetic

A1L37 = DJCOUNT0[2] $ !A1L41;

--A1L38 is Add1~152 at LC_X5_Y2_N2
--operation mode is arithmetic

A1L38_cout_0 = DJCOUNT0[2] & !A1L41;
A1L38 = CARRY(A1L38_cout_0);

--A1L39 is Add1~152COUT1 at LC_X5_Y2_N2
--operation mode is arithmetic

A1L39_cout_1 = DJCOUNT0[2] & !A1L42;
A1L39 = CARRY(A1L39_cout_1);


--A1L40 is Add1~153 at LC_X5_Y2_N1
--operation mode is arithmetic

A1L40 = DJCOUNT0[1] $ A1L44;

--A1L41 is Add1~154 at LC_X5_Y2_N1
--operation mode is arithmetic

A1L41_cout_0 = !A1L44 # !DJCOUNT0[1];
A1L41 = CARRY(A1L41_cout_0);

--A1L42 is Add1~154COUT1 at LC_X5_Y2_N1
--operation mode is arithmetic

A1L42_cout_1 = !A1L45 # !DJCOUNT0[1];
A1L42 = CARRY(A1L42_cout_1);


--A1L43 is Add1~155 at LC_X5_Y2_N0
--operation mode is arithmetic

A1L43 = !DJCOUNT0[0];

--A1L44 is Add1~156 at LC_X5_Y2_N0
--operation mode is arithmetic

A1L44_cout_0 = DJCOUNT0[0];
A1L44 = CARRY(A1L44_cout_0);

--A1L45 is Add1~156COUT1 at LC_X5_Y2_N0
--operation mode is arithmetic

A1L45_cout_1 = DJCOUNT0[0];
A1L45 = CARRY(A1L45_cout_1);


--A1L46 is Add1~157 at LC_X5_Y2_N4
--operation mode is arithmetic

A1L46 = DJCOUNT0[4] $ !A1L35;

--A1L47 is Add1~158 at LC_X5_Y2_N4
--operation mode is arithmetic

A1L47 = CARRY(DJCOUNT0[4] & !A1L36);


--A1L48 is Add1~159 at LC_X5_Y2_N8
--operation mode is arithmetic

A1L48_carry_eqn = (!A1L47 & A1L52) # (A1L47 & A1L53);
A1L48 = DJCOUNT0[8] $ (!A1L48_carry_eqn);

--A1L49 is Add1~160 at LC_X5_Y2_N8
--operation mode is arithmetic

A1L49_cout_0 = DJCOUNT0[8] & (!A1L52);
A1L49 = CARRY(A1L49_cout_0);

--A1L50 is Add1~160COUT1 at LC_X5_Y2_N8
--operation mode is arithmetic

A1L50_cout_1 = DJCOUNT0[8] & (!A1L53);
A1L50 = CARRY(A1L50_cout_1);


--A1L51 is Add1~161 at LC_X5_Y2_N7
--operation mode is arithmetic

A1L51_carry_eqn = (!A1L47 & A1L55) # (A1L47 & A1L56);
A1L51 = DJCOUNT0[7] $ A1L51_carry_eqn;

--A1L52 is Add1~162 at LC_X5_Y2_N7
--operation mode is arithmetic

A1L52_cout_0 = !A1L55 # !DJCOUNT0[7];
A1L52 = CARRY(A1L52_cout_0);

--A1L53 is Add1~162COUT1 at LC_X5_Y2_N7
--operation mode is arithmetic

A1L53_cout_1 = !A1L56 # !DJCOUNT0[7];
A1L53 = CARRY(A1L53_cout_1);


--A1L54 is Add1~163 at LC_X5_Y2_N6
--operation mode is arithmetic

A1L54_carry_eqn = (!A1L47 & A1L58) # (A1L47 & A1L59);
A1L54 = DJCOUNT0[6] $ (!A1L54_carry_eqn);

--A1L55 is Add1~164 at LC_X5_Y2_N6
--operation mode is arithmetic

A1L55_cout_0 = DJCOUNT0[6] & (!A1L58);
A1L55 = CARRY(A1L55_cout_0);

--A1L56 is Add1~164COUT1 at LC_X5_Y2_N6
--operation mode is arithmetic

A1L56_cout_1 = DJCOUNT0[6] & (!A1L59);
A1L56 = CARRY(A1L56_cout_1);


--A1L57 is Add1~165 at LC_X5_Y2_N5
--operation mode is arithmetic

A1L57_carry_eqn = A1L47;
A1L57 = DJCOUNT0[5] $ (A1L57_carry_eqn);

--A1L58 is Add1~166 at LC_X5_Y2_N5
--operation mode is arithmetic

A1L58_cout_0 = !A1L47 # !DJCOUNT0[5];
A1L58 = CARRY(A1L58_cout_0);

--A1L59 is Add1~166COUT1 at LC_X5_Y2_N5
--operation mode is arithmetic

A1L59_cout_1 = !A1L47 # !DJCOUNT0[5];
A1L59 = CARRY(A1L59_cout_1);


--A1L220 is ~GND at LC_X6_Y1_N2
--operation mode is normal

A1L220 = GND;


--READY0 is READY0 at PIN_71
--operation mode is input

READY0 = INPUT();


--ADDR[0] is ADDR[0] at PIN_40
--operation mode is input

ADDR[0] = INPUT();


--ADDR[1] is ADDR[1] at PIN_41
--operation mode is input

ADDR[1] = INPUT();


--ADDR[2] is ADDR[2] at PIN_42
--operation mode is input

ADDR[2] = INPUT();


--ADDR[3] is ADDR[3] at PIN_47
--operation mode is input

ADDR[3] = INPUT();


--ADDR[4] is ADDR[4] at PIN_48
--operation mode is input

ADDR[4] = INPUT();


--ADDR[5] is ADDR[5] at PIN_49
--operation mode is input

ADDR[5] = INPUT();


--ADDR[6] is ADDR[6] at PIN_50
--operation mode is input

ADDR[6] = INPUT();


--ADDR[7] is ADDR[7] at PIN_51
--operation mode is input

ADDR[7] = INPUT();


--ADDR[8] is ADDR[8] at PIN_30
--operation mode is input

ADDR[8] = INPUT();


--ADDR[9] is ADDR[9] at PIN_33
--operation mode is input

ADDR[9] = INPUT();


--ADDR[10] is ADDR[10] at PIN_34
--operation mode is input

ADDR[10] = INPUT();


--ADDR[11] is ADDR[11] at PIN_35
--operation mode is input

ADDR[11] = INPUT();


--ADDR[12] is ADDR[12] at PIN_36
--operation mode is input

ADDR[12] = INPUT();


--ADDR[13] is ADDR[13] at PIN_37
--operation mode is input

ADDR[13] = INPUT();


--ADDR[14] is ADDR[14] at PIN_38
--operation mode is input

ADDR[14] = INPUT();


--ADDR[15] is ADDR[15] at PIN_39
--operation mode is input

ADDR[15] = INPUT();


--WR is WR at PIN_29
--operation mode is input

WR = INPUT();


--RD is RD at PIN_28
--operation mode is input

RD = INPUT();


--AB[0] is AB[0] at PIN_90
--operation mode is input

AB[0] = INPUT();


--AB[1] is AB[1] at PIN_91
--operation mode is input

AB[1] = INPUT();


--GATEV is GATEV at PIN_70
--operation mode is input

GATEV = INPUT();


--clk is clk at PIN_12
--operation mode is input

clk = INPUT();


--RESET is RESET at PIN_44
--operation mode is input

RESET = INPUT();


--GATE is GATE at PIN_68
--operation mode is input

GATE = INPUT();


--FORTH is FORTH at PIN_69
--operation mode is input

FORTH = INPUT();


--INT0 is INT0 at PIN_66
--operation mode is output

INT0 = OUTPUT(AOUT);


--INT1 is INT1 at PIN_67
--operation mode is output

INT1 = OUTPUT(BOUT);


--DJA is DJA at PIN_1
--operation mode is output

DJA = OUTPUT(OPNDRN(!A1L135Q));


--DJB is DJB at PIN_2
--operation mode is output

DJB = OUTPUT(OPNDRN(!A1L138Q));


--DJC is DJC at PIN_3
--operation mode is output

DJC = OUTPUT(OPNDRN(!A1L140Q));


--GATEDJ is GATEDJ at PIN_4
--operation mode is output

GATEDJ = OUTPUT(OPNDRN(!A1L179Q));


--VIODE_A is VIODE_A at PIN_6
--operation mode is output

VIODE_A = OUTPUT(OPNDRN(A1L216));


--VIODE_B is VIODE_B at PIN_7
--operation mode is output

VIODE_B = OUTPUT(OPNDRN(A1L218));


--BD[0] is BD[0] at PIN_52
--operation mode is bidir

BD[0] = BIDIR(OPNDRN(VCC));


--BD[1] is BD[1] at PIN_53
--operation mode is bidir

BD[1] = BIDIR(OPNDRN(VCC));


--BD[2] is BD[2] at PIN_54
--operation mode is bidir

BD[2] = BIDIR(OPNDRN(VCC));


--BD[3] is BD[3] at PIN_55
--operation mode is bidir

BD[3] = BIDIR(OPNDRN(VCC));


--BD[4] is BD[4] at PIN_56
--operation mode is bidir

BD[4] = BIDIR(OPNDRN(VCC));


--BD[5] is BD[5] at PIN_57
--operation mode is bidir

BD[5] = BIDIR(OPNDRN(VCC));


--BD[6] is BD[6] at PIN_58
--operation mode is bidir

BD[6] = BIDIR(OPNDRN(VCC));


--BD[7] is BD[7] at PIN_61
--operation mode is bidir

BD[7] = BIDIR(OPNDRN(VCC));


--A1L176 is FORTH~_wirecell at LC_X7_Y1_N2
--operation mode is normal

A1L176 = !FORTH;


⌨️ 快捷键说明

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