--A1L62 is Y7~21 at LC3
A1L62_p1_out = !G2B & G1 & !G2A & A & B & C;
A1L62_or_out = A1L62_p1_out;
A1L62 = !(A1L62_or_out);


--A1L42 is Y6~13 at LC5
A1L42_p1_out = B & C & !G2B & G1 & !G2A & !A;
A1L42_or_out = A1L42_p1_out;
A1L42 = !(A1L42_or_out);


--A1L81 is Y3~11 at LC6
A1L81_p1_out = !G2B & G1 & !G2A & A & B & !C;
A1L81_or_out = A1L81_p1_out;
A1L81 = !(A1L81_or_out);


--A1L61 is Y2~13 at LC7
A1L61_p1_out = !G2B & G1 & !G2A & !A & B & !C;
A1L61_or_out = A1L61_p1_out;
A1L61 = !(A1L61_or_out);


--A1L22 is Y5~11 at LC8
A1L22_p1_out = C & !G2B & G1 & !G2A & A & !B;
A1L22_or_out = A1L22_p1_out;
A1L22 = !(A1L22_or_out);


--A1L02 is Y4~11 at LC10
A1L02_p1_out = C & !B & !G2B & G1 & !G2A & !A;
A1L02_or_out = A1L02_p1_out;
A1L02 = !(A1L02_or_out);


--A1L41 is Y1~16 at LC2
A1L41_p1_out = !C & !G2B & G1 & !G2A & A & !B;
A1L41_or_out = A1L41_p1_out;
A1L41 = !(A1L41_or_out);


--A1L21 is Y0~15 at LC1
A1L21_p1_out = !C & !B & !G2B & G1 & !G2A & !A;
A1L21_or_out = A1L21_p1_out;
A1L21 = !(A1L21_or_out);


--G1 is G1 at PIN_24
--operation mode is input

G1 = INPUT();


--G2A is G2A at PIN_40
--operation mode is input

G2A = INPUT();


--G2B is G2B at PIN_21
--operation mode is input

G2B = INPUT();


--C is C at PIN_16
--operation mode is input

C = INPUT();


--B is B at PIN_33
--operation mode is input

B = INPUT();


--A is A at PIN_36
--operation mode is input

A = INPUT();


--Y7 is Y7 at PIN_6
--operation mode is output

Y7 = OUTPUT(A1L62);


--Y6 is Y6 at PIN_8
--operation mode is output

Y6 = OUTPUT(A1L42);


--Y3 is Y3 at PIN_9
--operation mode is output

Y3 = OUTPUT(A1L81);


--Y2 is Y2 at PIN_11
--operation mode is output

Y2 = OUTPUT(A1L61);


--Y5 is Y5 at PIN_12
--operation mode is output

Y5 = OUTPUT(A1L22);


--Y4 is Y4 at PIN_14
--operation mode is output

Y4 = OUTPUT(A1L02);


--Y1 is Y1 at PIN_5
--operation mode is output

Y1 = OUTPUT(A1L41);


--Y0 is Y0 at PIN_4
--operation mode is output

Y0 = OUTPUT(A1L21);






