--A1L44 is always0~131 at LC2
A1L44_or_out = Position_Set[8];
A1L44 = Position_Data[8] $ A1L44_or_out;


--A1L54 is always0~135 at LC3
A1L54_or_out = Position_Set[9];
A1L54 = Position_Data[9] $ A1L54_or_out;


--A1L64 is always0~139 at LC4
A1L64_or_out = Position_Set[10];
A1L64 = Position_Data[10] $ A1L64_or_out;


--A1L74 is always0~143 at LC6
A1L74_or_out = Position_Set[11];
A1L74 = Position_Data[11] $ A1L74_or_out;


--A1L3 is Position_Adjust_Out~10 at LC1
A1L3_p1_out = !A1L44 & !A1L54 & !A1L64 & !A1L74 & A1L63 & A1L65 & A1L73 & A1L75 & A1L83 & A1L85 & A1L93 & A1L95 & A1L04 & A1L06 & A1L14 & A1L16 & A1L24 & A1L26 & A1L34 & A1L36;
A1L3_or_out = A1L3_p1_out # !Position_Adjust_Select # Reset # En;
A1L3 = !(A1L3_or_out);


--A1L63 is always0~99sexp at SEXP4
A1L63 = EXP(Position_Data[0] & !Position_Set[0]);


--A1L65 is always0~155 at SEXP6
A1L65 = EXP(!Position_Data[0] & Position_Set[0]);


--A1L73 is always0~103sexp at SEXP5
A1L73 = EXP(Position_Data[1] & !Position_Set[1]);


--A1L75 is always0~156 at SEXP7
A1L75 = EXP(!Position_Data[1] & Position_Set[1]);


--A1L83 is always0~107sexp at SEXP8
A1L83 = EXP(Position_Data[2] & !Position_Set[2]);


--A1L85 is always0~157 at SEXP9
A1L85 = EXP(!Position_Data[2] & Position_Set[2]);


--A1L93 is always0~111sexp at SEXP10
A1L93 = EXP(Position_Data[3] & !Position_Set[3]);


--A1L95 is always0~158 at SEXP11
A1L95 = EXP(!Position_Data[3] & Position_Set[3]);


--A1L04 is always0~115sexp at SEXP12
A1L04 = EXP(Position_Data[4] & !Position_Set[4]);


--A1L06 is always0~159 at SEXP13
A1L06 = EXP(!Position_Data[4] & Position_Set[4]);


--A1L14 is always0~119sexp at SEXP14
A1L14 = EXP(Position_Data[5] & !Position_Set[5]);


--A1L16 is always0~160 at SEXP15
A1L16 = EXP(!Position_Data[5] & Position_Set[5]);


--A1L24 is always0~123sexp at SEXP16
A1L24 = EXP(Position_Data[6] & !Position_Set[6]);


--A1L26 is always0~161 at SEXP3
A1L26 = EXP(!Position_Data[6] & Position_Set[6]);


--A1L34 is always0~127sexp at SEXP2
A1L34 = EXP(Position_Data[7] & !Position_Set[7]);


--A1L36 is always0~162 at SEXP1
A1L36 = EXP(!Position_Data[7] & Position_Set[7]);


--Reset is Reset at PIN_31
--operation mode is input

Reset = INPUT();


--En is En at PIN_43
--operation mode is input

En = INPUT();


--Position_Adjust_Select is Position_Adjust_Select at PIN_40
--operation mode is input

Position_Adjust_Select = INPUT();


--Position_Data[11] is Position_Data[11] at PIN_39
--operation mode is input

Position_Data[11] = INPUT();


--Position_Data[10] is Position_Data[10] at PIN_8
--operation mode is input

Position_Data[10] = INPUT();


--Position_Data[9] is Position_Data[9] at PIN_37
--operation mode is input

Position_Data[9] = INPUT();


--Position_Data[8] is Position_Data[8] at PIN_24
--operation mode is input

Position_Data[8] = INPUT();


--Position_Data[7] is Position_Data[7] at PIN_21
--operation mode is input

Position_Data[7] = INPUT();


--Position_Data[6] is Position_Data[6] at PIN_25
--operation mode is input

Position_Data[6] = INPUT();


--Position_Data[5] is Position_Data[5] at PIN_20
--operation mode is input

Position_Data[5] = INPUT();


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

Position_Data[4] = INPUT();


--Position_Data[3] is Position_Data[3] at PIN_18
--operation mode is input

Position_Data[3] = INPUT();


--Position_Data[2] is Position_Data[2] at PIN_28
--operation mode is input

Position_Data[2] = INPUT();


--Position_Data[1] is Position_Data[1] at PIN_17
--operation mode is input

Position_Data[1] = INPUT();


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

Position_Data[0] = INPUT();


--Position_Set[11] is Position_Set[11] at PIN_16
--operation mode is input

Position_Set[11] = INPUT();


--Position_Set[10] is Position_Set[10] at PIN_33
--operation mode is input

Position_Set[10] = INPUT();


--Position_Set[9] is Position_Set[9] at PIN_12
--operation mode is input

Position_Set[9] = INPUT();


--Position_Set[8] is Position_Set[8] at PIN_34
--operation mode is input

Position_Set[8] = INPUT();


--Position_Set[7] is Position_Set[7] at PIN_11
--operation mode is input

Position_Set[7] = INPUT();


--Position_Set[6] is Position_Set[6] at PIN_9
--operation mode is input

Position_Set[6] = INPUT();


--Position_Set[5] is Position_Set[5] at PIN_36
--operation mode is input

Position_Set[5] = INPUT();


--Position_Set[4] is Position_Set[4] at PIN_6
--operation mode is input

Position_Set[4] = INPUT();


--Position_Set[3] is Position_Set[3] at PIN_44
--operation mode is input

Position_Set[3] = INPUT();


--Position_Set[2] is Position_Set[2] at PIN_5
--operation mode is input

Position_Set[2] = INPUT();


--Position_Set[1] is Position_Set[1] at PIN_26
--operation mode is input

Position_Set[1] = INPUT();


--Position_Set[0] is Position_Set[0] at PIN_27
--operation mode is input

Position_Set[0] = INPUT();


--Position_Adjust_Out is Position_Adjust_Out at PIN_4
--operation mode is output

Position_Adjust_Out = OUTPUT(A1L3);






