--A1L98 is always0~1124 at LC29
A1L98_p1_out = !Slave_Floor7[4] & !Master_Floor7;
A1L98_p2_out = !Master_Floor7 & Slave_Floor7[2];
A1L98_p3_out = !Master_Floor7 & !Slave_Floor7[3];
A1L98_p4_out = Now_Floor[2] & Now_Floor[0] & Now_Floor[1];
A1L98_or_out = Now_Floor[3] # A1L98_p1_out # A1L98_p2_out # A1L98_p3_out # A1L98_p4_out;
A1L98 = A1L98_or_out;


--A1L19 is always0~1138 at LC28
A1L19_p1_out = !Now_Floor[3] & !Now_Floor[2] & Slave_Floor4[4] & !Slave_Floor4[2] & Slave_Floor4[3];
A1L19_p2_out = !Now_Floor[3] & !Now_Floor[2] & Master_Floor4;
A1L19_or_out = A1L19_p1_out # A1L19_p2_out;
A1L19 = A1L19_or_out;


--A1L29 is always0~1143 at LC11
A1L29_p1_out = Slave_Floor3[4] & !Slave_Floor3[2] & Slave_Floor3[3] & !Now_Floor[0] & !Now_Floor[3] & !Now_Floor[2];
A1L29_p2_out = Slave_Floor3[4] & !Slave_Floor3[2] & Slave_Floor3[3] & !Now_Floor[3] & !Now_Floor[2] & !Now_Floor[1];
A1L29_p3_out = !Now_Floor[0] & !Now_Floor[3] & !Now_Floor[2] & Master_Floor3;
A1L29_p4_out = !Now_Floor[3] & !Now_Floor[2] & !Now_Floor[1] & Master_Floor3;
A1L29_or_out = A1L29_p1_out # A1L29_p2_out # A1L29_p3_out # A1L29_p4_out;
A1L29 = A1L29_or_out;


--A1L39 is always0~1146 at LC27
A1L39_p1_out = !Now_Floor[1] & !Now_Floor[3] & !Now_Floor[2] & Slave_Floor2[4] & !Slave_Floor2[2] & Slave_Floor2[3];
A1L39_p2_out = !Now_Floor[1] & !Now_Floor[3] & !Now_Floor[2] & Master_Floor2;
A1L39_or_out = A1L39_p1_out # A1L39_p2_out;
A1L39 = A1L39_or_out;


--A1L58 is Up_En~15 at LC10
A1L58_p1_out = A1L98 & !A1L19 & !A1L29 & !A1L39 & A1L91 & A1L78 & A1L88 & A1L09;
A1L58_p2_out = !Now_Direction[1] & A1L91;
A1L58_p3_out = Now_Direction[0] & A1L91;
A1L58_or_out = A1L58_p1_out # A1L58_p2_out # A1L58_p3_out # A1L68;
A1L58 = A1L58_or_out;


--A1L49 is always0~1151 at LC42
A1L49_p1_out = !Now_Floor[0] & !Now_Floor[1] & !Now_Floor[2];
A1L49_p2_out = !Master_Floor8 & !Slave_Floor8[4];
A1L49_p3_out = !Master_Floor8 & Slave_Floor8[1];
A1L49_p4_out = !Master_Floor8 & !Slave_Floor8[0];
A1L49_or_out = !Now_Floor[3] # A1L49_p1_out # A1L49_p2_out # A1L49_p3_out # A1L49_p4_out;
A1L49 = A1L49_or_out;


--A1L79 is always0~1171 at LC26
A1L79_p0_out = !Master_Floor4 & !Slave_Floor4[0];
A1L79_p1_out = !Now_Floor[0] & !Now_Floor[3] & !Now_Floor[1];
A1L79_p2_out = !Now_Floor[3] & !Now_Floor[2];
A1L79_p3_out = !Slave_Floor4[4] & !Master_Floor4;
A1L79_p4_out = !Master_Floor4 & Slave_Floor4[1];
A1L79_or_out = A1L79_p0_out # A1L79_p1_out # A1L79_p2_out # A1L79_p3_out # A1L79_p4_out;
A1L79 = A1L79_or_out;


--A1L201 is always0~1182 at LC25
A1L201_p0_out = !Master_Floor2 & !Slave_Floor2[0];
A1L201_p1_out = !Now_Floor[3] & !Now_Floor[2] & !Now_Floor[0];
A1L201_p2_out = !Now_Floor[3] & !Now_Floor[2] & !Now_Floor[1];
A1L201_p3_out = !Slave_Floor2[4] & !Master_Floor2;
A1L201_p4_out = !Master_Floor2 & Slave_Floor2[1];
A1L201_or_out = A1L201_p0_out # A1L201_p1_out # A1L201_p2_out # A1L201_p3_out # A1L201_p4_out;
A1L201 = A1L201_or_out;


--A1L301 is always0~1187 at LC41
A1L301_p1_out = !Now_Floor[1] & !Now_Floor[3] & !Now_Floor[2];
A1L301_p2_out = Slave_Floor1[1] & !Master_Floor1;
A1L301_p3_out = !Master_Floor1 & !Slave_Floor1[0];
A1L301_p4_out = !Master_Floor1 & !Slave_Floor1[4];
A1L301_or_out = A1L301_p1_out # A1L301_p2_out # A1L301_p3_out # A1L301_p4_out;
A1L301 = A1L301_or_out;


--A1L3 is Down_En~13 at LC9
A1L3_p1_out = A1L49 & A1L79 & A1L201 & A1L301 & A1L02 & A1L59 & A1L69 & A1L89 & A1L99 & A1L001 & A1L101;
A1L3_p2_out = Now_Direction[1] & A1L02;
A1L3_p3_out = !Now_Direction[0] & A1L02;
A1L3_or_out = A1L3_p1_out # A1L3_p2_out # A1L3_p3_out # A1L68;
A1L3 = A1L3_or_out;


--A1L401 is always0~1191 at LC2
A1L401_p1_out = A1L98 & !A1L19 & !A1L29 & !A1L39 & A1L91 & A1L78 & A1L88 & A1L09;
A1L401_p2_out = !Now_Direction[1] & A1L91;
A1L401_p3_out = Now_Direction[0] & A1L91;
A1L401_or_out = A1L401_p1_out # A1L401_p2_out # A1L401_p3_out;
A1L401 = A1L401_or_out;


--A1L2 is Down_En$latch~10 at LC3
A1L2_p1_out = !A1L3 & A1L58;
A1L2_p2_out = !A1L58 & A1L2;
A1L2_p3_out = !A1L3 & A1L2;
A1L2_or_out = A1L2_p1_out # A1L2_p2_out # A1L2_p3_out;
A1L2 = A1L2_or_out;


--A1L48 is Up_En$latch~10 at LC1
A1L48_p1_out = !A1L58 & !A1L401;
A1L48_p2_out = A1L48 & A1L401 & !A1L3;
A1L48_p3_out = !A1L58 & A1L48;
A1L48_p4_out = !A1L58 & A1L3;
A1L48_or_out = A1L48_p1_out # A1L48_p2_out # A1L48_p3_out # A1L48_p4_out;
A1L48 = A1L48_or_out;


--A1L91 is Now_Floor[0]~162sexp at SEXP3
A1L91 = EXP(Now_Floor[0] & !Now_Floor[1] & !Now_Floor[3] & !Now_Floor[2]);


--A1L68 is Up_En~18sexp at SEXP9
A1L68 = EXP(!En & !Reset);


--A1L02 is Now_Floor[0]~164sexp at SEXP10
A1L02 = EXP(Now_Floor[0] & Now_Floor[3] & !Now_Floor[1] & !Now_Floor[2]);


--A1L89 is always0~1176sexp1 at SEXP11
A1L89 = EXP(Now_Floor[3] & Master_Floor3);


--A1L99 is always0~1176sexp2 at SEXP4
A1L99 = EXP(Now_Floor[3] & Slave_Floor3[4] & !Slave_Floor3[1] & Slave_Floor3[0]);


--A1L001 is always0~1176sexp3 at SEXP2
A1L001 = EXP(Master_Floor3 & Now_Floor[2]);


--A1L101 is always0~1176sexp4 at SEXP1
A1L101 = EXP(Now_Floor[2] & Slave_Floor3[4] & !Slave_Floor3[1] & Slave_Floor3[0]);


--A1L88 is always0~1119sexp2bal at LC49
A1L88_p0_out = !Now_Floor[3] & !Now_Floor[2] & Master_Floor6;
A1L88_p1_out = !Now_Floor[3] & Master_Floor8;
A1L88_p2_out = !Now_Floor[3] & Slave_Floor6[4] & !Slave_Floor6[2] & Slave_Floor6[3] & !Now_Floor[1];
A1L88_p3_out = !Now_Floor[3] & Slave_Floor6[4] & !Slave_Floor6[2] & Slave_Floor6[3] & !Now_Floor[2];
A1L88_p4_out = !Now_Floor[3] & !Now_Floor[1] & Master_Floor6;
A1L88_or_out = A1L88_p0_out # A1L88_p1_out # A1L88_p2_out # A1L88_p3_out # A1L88_p4_out;
A1L88 = !(A1L88_or_out);


--A1L78 is always0~1116sexp1bal at LC34
A1L78_p0_out = !Now_Floor[3] & Slave_Floor8[4] & !Slave_Floor8[2] & Slave_Floor8[3];
A1L78_p1_out = !Slave_Floor9[2] & Slave_Floor9[3] & Slave_Floor9[4] & !Now_Floor[3];
A1L78_p2_out = !Slave_Floor9[2] & Slave_Floor9[3] & Slave_Floor9[4] & !Now_Floor[0] & !Now_Floor[1] & !Now_Floor[2];
A1L78_p3_out = !Now_Floor[3] & Master_Floor9;
A1L78_p4_out = !Now_Floor[0] & !Now_Floor[1] & !Now_Floor[2] & Master_Floor9;
A1L78_or_out = A1L78_p0_out # A1L78_p1_out # A1L78_p2_out # A1L78_p3_out # A1L78_p4_out;
A1L78 = !(A1L78_or_out);


--A1L09 is always0~1135sexp1bal at LC20
A1L09_p1_out = Slave_Floor5[4] & !Slave_Floor5[2] & Slave_Floor5[3] & !Now_Floor[2] & !Now_Floor[3];
A1L09_p2_out = Slave_Floor5[4] & !Slave_Floor5[2] & Slave_Floor5[3] & !Now_Floor[3] & !Now_Floor[0] & !Now_Floor[1];
A1L09_p3_out = !Now_Floor[2] & !Now_Floor[3] & Master_Floor5;
A1L09_p4_out = !Now_Floor[3] & !Now_Floor[0] & !Now_Floor[1] & Master_Floor5;
A1L09_or_out = A1L09_p1_out # A1L09_p2_out # A1L09_p3_out # A1L09_p4_out;
A1L09 = !(A1L09_or_out);


--A1L69 is always0~1160sexp4bal at LC19
A1L69_p0_out = Now_Floor[2] & Now_Floor[1] & Slave_Floor5[4] & !Slave_Floor5[1] & Slave_Floor5[0];
A1L69_p1_out = Now_Floor[2] & Now_Floor[0] & Now_Floor[1] & Slave_Floor6[4] & !Slave_Floor6[1] & Slave_Floor6[0];
A1L69_p2_out = Now_Floor[3] & Master_Floor5;
A1L69_p3_out = Now_Floor[3] & Slave_Floor5[4] & !Slave_Floor5[1] & Slave_Floor5[0];
A1L69_p4_out = Now_Floor[2] & Now_Floor[1] & Master_Floor5;
A1L69_or_out = A1L69_p0_out # A1L69_p1_out # A1L69_p2_out # A1L69_p3_out # A1L69_p4_out;
A1L69 = !(A1L69_or_out);


--A1L59 is always0~1155sexp1bal at LC18
A1L59_p0_out = Master_Floor6 & Now_Floor[2] & Now_Floor[0] & Now_Floor[1];
A1L59_p1_out = Now_Floor[3] & Master_Floor7;
A1L59_p2_out = Now_Floor[3] & Slave_Floor7[4] & !Slave_Floor7[1] & Slave_Floor7[0];
A1L59_p3_out = Now_Floor[3] & Master_Floor6;
A1L59_p4_out = Now_Floor[3] & Slave_Floor6[4] & !Slave_Floor6[1] & Slave_Floor6[0];
A1L59_or_out = A1L59_p0_out # A1L59_p1_out # A1L59_p2_out # A1L59_p3_out # A1L59_p4_out;
A1L59 = !(A1L59_or_out);


--Reset is Reset at PIN_80
--operation mode is input

Reset = INPUT();


--En is En at PIN_99
--operation mode is input

En = INPUT();


--Now_Floor[3] is Now_Floor[3] at PIN_50
--operation mode is input

Now_Floor[3] = INPUT();


--Now_Floor[2] is Now_Floor[2] at PIN_85
--operation mode is input

Now_Floor[2] = INPUT();


--Now_Floor[1] is Now_Floor[1] at PIN_27
--operation mode is input

Now_Floor[1] = INPUT();


--Now_Floor[0] is Now_Floor[0] at PIN_92
--operation mode is input

Now_Floor[0] = INPUT();


--Now_Direction[1] is Now_Direction[1] at PIN_35
--operation mode is input

Now_Direction[1] = INPUT();


--Now_Direction[0] is Now_Direction[0] at PIN_77
--operation mode is input

Now_Direction[0] = INPUT();


--Master_Floor1 is Master_Floor1 at PIN_100
--operation mode is input

Master_Floor1 = INPUT();


--Master_Floor2 is Master_Floor2 at PIN_42
--operation mode is input

Master_Floor2 = INPUT();


--Master_Floor3 is Master_Floor3 at PIN_23
--operation mode is input

Master_Floor3 = INPUT();


--Master_Floor4 is Master_Floor4 at PIN_54
--operation mode is input

Master_Floor4 = INPUT();


--Master_Floor5 is Master_Floor5 at PIN_44
--operation mode is input

Master_Floor5 = INPUT();


--Master_Floor6 is Master_Floor6 at PIN_16
--operation mode is input

Master_Floor6 = INPUT();


--Master_Floor7 is Master_Floor7 at PIN_33
--operation mode is input

Master_Floor7 = INPUT();


--Master_Floor8 is Master_Floor8 at PIN_72
--operation mode is input

Master_Floor8 = INPUT();


--Master_Floor9 is Master_Floor9 at PIN_10
--operation mode is input

Master_Floor9 = INPUT();


--Slave_Floor1[4] is Slave_Floor1[4] at PIN_55
--operation mode is input

Slave_Floor1[4] = INPUT();


--Slave_Floor1[3] is Slave_Floor1[3] at PIN_36
--operation mode is input

Slave_Floor1[3] = INPUT();


--Slave_Floor1[2] is Slave_Floor1[2] at PIN_65
--operation mode is input

Slave_Floor1[2] = INPUT();


--Slave_Floor1[1] is Slave_Floor1[1] at PIN_22
--operation mode is input

Slave_Floor1[1] = INPUT();


--Slave_Floor1[0] is Slave_Floor1[0] at PIN_97
--operation mode is input

Slave_Floor1[0] = INPUT();


--Slave_Floor2[4] is Slave_Floor2[4] at PIN_78
--operation mode is input

Slave_Floor2[4] = INPUT();


--Slave_Floor2[3] is Slave_Floor2[3] at PIN_67
--operation mode is input

Slave_Floor2[3] = INPUT();


--Slave_Floor2[2] is Slave_Floor2[2] at PIN_68
--operation mode is input

Slave_Floor2[2] = INPUT();


--Slave_Floor2[1] is Slave_Floor2[1] at PIN_28
--operation mode is input

Slave_Floor2[1] = INPUT();


--Slave_Floor2[0] is Slave_Floor2[0] at PIN_61
--operation mode is input

Slave_Floor2[0] = INPUT();


--Slave_Floor3[4] is Slave_Floor3[4] at PIN_93
--operation mode is input

Slave_Floor3[4] = INPUT();


--Slave_Floor3[3] is Slave_Floor3[3] at PIN_84
--operation mode is input

Slave_Floor3[3] = INPUT();


--Slave_Floor3[2] is Slave_Floor3[2] at PIN_47
--operation mode is input

Slave_Floor3[2] = INPUT();


--Slave_Floor3[1] is Slave_Floor3[1] at PIN_83
--operation mode is input

Slave_Floor3[1] = INPUT();


--Slave_Floor3[0] is Slave_Floor3[0] at PIN_60
--operation mode is input

Slave_Floor3[0] = INPUT();


--Slave_Floor4[4] is Slave_Floor4[4] at PIN_19
--operation mode is input

Slave_Floor4[4] = INPUT();


--Slave_Floor4[3] is Slave_Floor4[3] at PIN_7
--operation mode is input

Slave_Floor4[3] = INPUT();


--Slave_Floor4[2] is Slave_Floor4[2] at PIN_94
--operation mode is input

Slave_Floor4[2] = INPUT();


--Slave_Floor4[1] is Slave_Floor4[1] at PIN_48
--operation mode is input

Slave_Floor4[1] = INPUT();


--Slave_Floor4[0] is Slave_Floor4[0] at PIN_29
--operation mode is input

Slave_Floor4[0] = INPUT();


--Slave_Floor5[4] is Slave_Floor5[4] at PIN_71
--operation mode is input

Slave_Floor5[4] = INPUT();


--Slave_Floor5[3] is Slave_Floor5[3] at PIN_6
--operation mode is input

Slave_Floor5[3] = INPUT();


--Slave_Floor5[2] is Slave_Floor5[2] at PIN_17
--operation mode is input

Slave_Floor5[2] = INPUT();


--Slave_Floor5[1] is Slave_Floor5[1] at PIN_49
--operation mode is input

Slave_Floor5[1] = INPUT();


--Slave_Floor5[0] is Slave_Floor5[0] at PIN_98
--operation mode is input

Slave_Floor5[0] = INPUT();


--Slave_Floor6[4] is Slave_Floor6[4] at PIN_5
--operation mode is input

Slave_Floor6[4] = INPUT();


--Slave_Floor6[3] is Slave_Floor6[3] at PIN_8
--operation mode is input

Slave_Floor6[3] = INPUT();


--Slave_Floor6[2] is Slave_Floor6[2] at PIN_57
--operation mode is input

Slave_Floor6[2] = INPUT();


--Slave_Floor6[1] is Slave_Floor6[1] at PIN_9
--operation mode is input

Slave_Floor6[1] = INPUT();


--Slave_Floor6[0] is Slave_Floor6[0] at PIN_79
--operation mode is input

Slave_Floor6[0] = INPUT();


--Slave_Floor7[4] is Slave_Floor7[4] at PIN_32
--operation mode is input

Slave_Floor7[4] = INPUT();


--Slave_Floor7[3] is Slave_Floor7[3] at PIN_56
--operation mode is input

Slave_Floor7[3] = INPUT();


--Slave_Floor7[2] is Slave_Floor7[2] at PIN_21
--operation mode is input

Slave_Floor7[2] = INPUT();


--Slave_Floor7[1] is Slave_Floor7[1] at PIN_45
--operation mode is input

Slave_Floor7[1] = INPUT();


--Slave_Floor7[0] is Slave_Floor7[0] at PIN_20
--operation mode is input

Slave_Floor7[0] = INPUT();


--Slave_Floor8[4] is Slave_Floor8[4] at PIN_31
--operation mode is input

Slave_Floor8[4] = INPUT();


--Slave_Floor8[3] is Slave_Floor8[3] at PIN_46
--operation mode is input

Slave_Floor8[3] = INPUT();


--Slave_Floor8[2] is Slave_Floor8[2] at PIN_69
--operation mode is input

Slave_Floor8[2] = INPUT();


--Slave_Floor8[1] is Slave_Floor8[1] at PIN_96
--operation mode is input

Slave_Floor8[1] = INPUT();


--Slave_Floor8[0] is Slave_Floor8[0] at PIN_81
--operation mode is input

Slave_Floor8[0] = INPUT();


--Slave_Floor9[4] is Slave_Floor9[4] at PIN_30
--operation mode is input

Slave_Floor9[4] = INPUT();


--Slave_Floor9[3] is Slave_Floor9[3] at PIN_70
--operation mode is input

Slave_Floor9[3] = INPUT();


--Slave_Floor9[2] is Slave_Floor9[2] at PIN_58
--operation mode is input

Slave_Floor9[2] = INPUT();


--Slave_Floor9[1] is Slave_Floor9[1] at PIN_90
--operation mode is input

Slave_Floor9[1] = INPUT();


--Slave_Floor9[0] is Slave_Floor9[0] at PIN_12
--operation mode is input

Slave_Floor9[0] = INPUT();


--Down_En is Down_En at PIN_1
--operation mode is output

Down_En = OUTPUT(A1L2);


--Up_En is Up_En at PIN_2
--operation mode is output

Up_En = OUTPUT(A1L48);






