--A1L8 is floor_arrive~166 at LC3
A1L8_p0_out = !now_floor[3] & !now_floor[0] & now_floor[2] & !now_floor[1] & !Reset & !En & num4;
A1L8_p1_out = num3 & !now_floor[3] & now_floor[0] & !now_floor[2] & now_floor[1] & !Reset & !En;
A1L8_p2_out = !now_floor[3] & now_floor[0] & !now_floor[2] & !now_floor[1] & !Reset & !En & num1;
A1L8_p3_out = !now_floor[3] & !now_floor[0] & !now_floor[2] & now_floor[1] & !Reset & !En & num2;
A1L8_p4_out = !now_floor[3] & !now_floor[0] & now_floor[2] & now_floor[1] & !Reset & !En & num6;
A1L8_or_out = A1L9 # A1L8_p0_out # A1L8_p1_out # A1L8_p2_out # A1L8_p3_out # A1L8_p4_out;
A1L8 = A1L8_or_out;


--A1L9 is floor_arrive~167 at LC2
A1L9_p1_out = num9 & now_floor[3] & now_floor[0] & !now_floor[2] & !now_floor[1] & !Reset & !En;
A1L9_p2_out = now_floor[3] & !now_floor[0] & !now_floor[2] & !now_floor[1] & !Reset & !En & num8;
A1L9_p3_out = !now_floor[3] & now_floor[0] & now_floor[2] & now_floor[1] & !Reset & !En & num7;
A1L9_p4_out = !now_floor[3] & now_floor[0] & now_floor[2] & !now_floor[1] & !Reset & !En & num5;
A1L9 = A1L9_p1_out # A1L9_p2_out # A1L9_p3_out # A1L9_p4_out;


--Reset is Reset at PIN_12
--operation mode is input

Reset = INPUT();


--En is En at PIN_63
--operation mode is input

En = INPUT();


--num1 is num1 at PIN_35
--operation mode is input

num1 = INPUT();


--num2 is num2 at PIN_50
--operation mode is input

num2 = INPUT();


--num3 is num3 at PIN_28
--operation mode is input

num3 = INPUT();


--num4 is num4 at PIN_57
--operation mode is input

num4 = INPUT();


--num5 is num5 at PIN_21
--operation mode is input

num5 = INPUT();


--num6 is num6 at PIN_64
--operation mode is input

num6 = INPUT();


--num7 is num7 at PIN_22
--operation mode is input

num7 = INPUT();


--num8 is num8 at PIN_73
--operation mode is input

num8 = INPUT();


--num9 is num9 at PIN_27
--operation mode is input

num9 = INPUT();


--now_floor[3] is now_floor[3] at PIN_58
--operation mode is input

now_floor[3] = INPUT();


--now_floor[2] is now_floor[2] at PIN_34
--operation mode is input

now_floor[2] = INPUT();


--now_floor[1] is now_floor[1] at PIN_51
--operation mode is input

now_floor[1] = INPUT();


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

now_floor[0] = INPUT();


--floor_arrive is floor_arrive at PIN_10
--operation mode is output

floor_arrive = OUTPUT(A1L8);






