--A1L21 is reduce_or~61 at LC1
A1L21_p1_out = A0 & A1;
A1L21_or_out = !A2;
A1L21 = A1L21_p1_out $ A1L21_or_out;


--A1L31 is reduce_or~65 at LC2
A1L31_p1_out = !A0 & A1;
A1L31_or_out = !A2;
A1L31 = A1L31_p1_out $ A1L31_or_out;


--A1L41 is reduce_or~69 at LC3
A1L41_p1_out = A0 & !A1;
A1L41_or_out = !A2;
A1L41 = A1L41_p1_out $ A1L41_or_out;


--A1L51 is reduce_or~73 at LC5
A1L51_or_out = A0 # A1;
A1L51 = A2 $ A1L51_or_out;


--A2 is A2 at PIN_24
--operation mode is input

A2 = INPUT();


--A1 is A1 at PIN_21
--operation mode is input

A1 = INPUT();


--A0 is A0 at PIN_25
--operation mode is input

A0 = INPUT();


--D3 is D3 at PIN_4
--operation mode is output

D3 = OUTPUT(A1L21);


--D2 is D2 at PIN_5
--operation mode is output

D2 = OUTPUT(A1L31);


--D1 is D1 at PIN_6
--operation mode is output

D1 = OUTPUT(A1L41);


--D0 is D0 at PIN_8
--operation mode is output

D0 = OUTPUT(A1L51);






