--A1L4 is floor_arrive~166
A1L4_p0_out = !now_floor[3] & !now_floor[0] & now_floor[2] & !now_floor[1] & !Reset & !En & num4;
A1L4_p1_out = num3 & !now_floor[3] & now_floor[0] & !now_floor[2] & now_floor[1] & !Reset & !En;
A1L4_p2_out = !now_floor[3] & now_floor[0] & !now_floor[2] & !now_floor[1] & !Reset & !En & num1;
A1L4_p3_out = !now_floor[3] & !now_floor[0] & !now_floor[2] & now_floor[1] & !Reset & !En & num2;
A1L4_p4_out = !now_floor[3] & !now_floor[0] & now_floor[2] & now_floor[1] & !Reset & !En & num6;
A1L4_or_out = A1L5 # A1L4_p0_out # A1L4_p1_out # A1L4_p2_out # A1L4_p3_out # A1L4_p4_out;
A1L4 = A1L4_or_out;


--A1L5 is floor_arrive~167
A1L5_p1_out = num9 & now_floor[3] & now_floor[0] & !now_floor[2] & !now_floor[1] & !Reset & !En;
A1L5_p2_out = now_floor[3] & !now_floor[0] & !now_floor[2] & !now_floor[1] & !Reset & !En & num8;
A1L5_p3_out = !now_floor[3] & now_floor[0] & now_floor[2] & now_floor[1] & !Reset & !En & num7;
A1L5_p4_out = !now_floor[3] & now_floor[0] & now_floor[2] & !now_floor[1] & !Reset & !En & num5;
A1L5 = A1L5_p1_out # A1L5_p2_out # A1L5_p3_out # A1L5_p4_out;


--Reset is Reset
--operation mode is input

Reset = INPUT();


--En is En
--operation mode is input

En = INPUT();


--num1 is num1
--operation mode is input

num1 = INPUT();


--num2 is num2
--operation mode is input

num2 = INPUT();


--num3 is num3
--operation mode is input

num3 = INPUT();


--num4 is num4
--operation mode is input

num4 = INPUT();


--num5 is num5
--operation mode is input

num5 = INPUT();


--num6 is num6
--operation mode is input

num6 = INPUT();


--num7 is num7
--operation mode is input

num7 = INPUT();


--num8 is num8
--operation mode is input

num8 = INPUT();


--num9 is num9
--operation mode is input

num9 = INPUT();


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

now_floor[3] = INPUT();


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

now_floor[2] = INPUT();


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

now_floor[1] = INPUT();


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

now_floor[0] = INPUT();


--floor_arrive is floor_arrive
--operation mode is output

floor_arrive = OUTPUT(A1L4);


