--A1L02Q is disp_drive[0]~reg0 at LC6
A1L02Q_reg_input = VCC;
A1L02Q = TFFE(A1L02Q_reg_input, GLOBAL(SW1), , , EN2);


--A1L22Q is disp_drive[1]~reg0 at LC7
A1L22Q_or_out = A1L02Q;
A1L22Q_reg_input = A1L22Q_or_out;
A1L22Q = TFFE(A1L22Q_reg_input, GLOBAL(SW1), , , EN2);


--B4_dffs[0] is lpm_counter:month_set1_rtl_0|dffs[0] at LC8
B4_dffs[0]_p1_out = !B4_dffs[1] & !B4_dffs[0];
B4_dffs[0]_or_out = B4_dffs[0]_p1_out;
B4_dffs[0]_reg_input = B4_dffs[0]_or_out;
B4_dffs[0]_p3_out = !A1L22Q & !A1L02Q;
B4_dffs[0] = DFFE(B4_dffs[0]_reg_input, GLOBAL(SW2), , , B4_dffs[0]_p3_out);


--B3_dffs[0] is lpm_counter:month_set0_rtl_1|dffs[0] at LC1
B3_dffs[0]_p1_out = !B3_dffs[0] & !B3_dffs[3];
B3_dffs[0]_p2_out = !B3_dffs[0] & !B3_dffs[2] & !B3_dffs[1];
B3_dffs[0]_or_out = B3_dffs[0]_p1_out # B3_dffs[0]_p2_out;
B3_dffs[0]_reg_input = B3_dffs[0]_or_out;
B3_dffs[0]_p3_out = !A1L22Q & A1L02Q;
B3_dffs[0] = DFFE(B3_dffs[0]_reg_input, GLOBAL(SW2), , , B3_dffs[0]_p3_out);


--B2_dffs[0] is lpm_counter:day_set1_rtl_2|dffs[0] at LC3
B2_dffs[0]_reg_input = VCC;
B2_dffs[0]_p3_out = A1L22Q & !A1L02Q;
B2_dffs[0] = TFFE(B2_dffs[0]_reg_input, GLOBAL(SW2), , , B2_dffs[0]_p3_out);


--B1_dffs[0] is lpm_counter:day_set0_rtl_3|dffs[0] at LC13
B1_dffs[0]_p1_out = !B1_dffs[0] & !B1_dffs[3];
B1_dffs[0]_p2_out = !B1_dffs[0] & !B1_dffs[2] & !B1_dffs[1];
B1_dffs[0]_or_out = B1_dffs[0]_p1_out # B1_dffs[0]_p2_out;
B1_dffs[0]_reg_input = B1_dffs[0]_or_out;
B1_dffs[0]_p3_out = A1L22Q & A1L02Q;
B1_dffs[0] = DFFE(B1_dffs[0]_reg_input, GLOBAL(SW2), , , B1_dffs[0]_p3_out);


--B4_dffs[1] is lpm_counter:month_set1_rtl_0|dffs[1] at LC15
B4_dffs[1]_p1_out = !B4_dffs[1] & B4_dffs[0];
B4_dffs[1]_or_out = B4_dffs[1]_p1_out;
B4_dffs[1]_reg_input = B4_dffs[1]_or_out;
B4_dffs[1]_p3_out = !A1L22Q & !A1L02Q;
B4_dffs[1] = DFFE(B4_dffs[1]_reg_input, GLOBAL(SW2), , , B4_dffs[1]_p3_out);


--B3_dffs[1] is lpm_counter:month_set0_rtl_1|dffs[1] at LC16
B3_dffs[1]_p1_out = !B3_dffs[3] & B3_dffs[1] & !B3_dffs[0];
B3_dffs[1]_p2_out = !B3_dffs[3] & !B3_dffs[1] & B3_dffs[0];
B3_dffs[1]_or_out = B3_dffs[1]_p1_out # B3_dffs[1]_p2_out;
B3_dffs[1]_reg_input = B3_dffs[1]_or_out;
B3_dffs[1]_p3_out = !A1L22Q & A1L02Q;
B3_dffs[1] = DFFE(B3_dffs[1]_reg_input, GLOBAL(SW2), , , B3_dffs[1]_p3_out);


--B2_dffs[1] is lpm_counter:day_set1_rtl_2|dffs[1] at LC12
B2_dffs[1]_or_out = !B2_dffs[0];
B2_dffs[1]_reg_input = !B2_dffs[1]_or_out;
B2_dffs[1]_p3_out = A1L22Q & !A1L02Q;
B2_dffs[1] = TFFE(B2_dffs[1]_reg_input, GLOBAL(SW2), , , B2_dffs[1]_p3_out);


--B1_dffs[1] is lpm_counter:day_set0_rtl_3|dffs[1] at LC11
B1_dffs[1]_p1_out = !B1_dffs[3] & B1_dffs[1] & !B1_dffs[0];
B1_dffs[1]_p2_out = !B1_dffs[3] & !B1_dffs[1] & B1_dffs[0];
B1_dffs[1]_or_out = B1_dffs[1]_p1_out # B1_dffs[1]_p2_out;
B1_dffs[1]_reg_input = B1_dffs[1]_or_out;
B1_dffs[1]_p3_out = A1L22Q & A1L02Q;
B1_dffs[1] = DFFE(B1_dffs[1]_reg_input, GLOBAL(SW2), , , B1_dffs[1]_p3_out);


--B3_dffs[2] is lpm_counter:month_set0_rtl_1|dffs[2] at LC10
B3_dffs[2]_p1_out = !B3_dffs[3] & B3_dffs[1] & B3_dffs[0];
B3_dffs[2]_p2_out = B3_dffs[3] & B3_dffs[2];
B3_dffs[2]_or_out = B3_dffs[2]_p1_out # B3_dffs[2]_p2_out;
B3_dffs[2]_reg_input = B3_dffs[2]_or_out;
B3_dffs[2]_p3_out = !A1L22Q & A1L02Q;
B3_dffs[2] = TFFE(B3_dffs[2]_reg_input, GLOBAL(SW2), , , B3_dffs[2]_p3_out);


--B1_dffs[2] is lpm_counter:day_set0_rtl_3|dffs[2] at LC14
B1_dffs[2]_p1_out = !B1_dffs[3] & B1_dffs[1] & B1_dffs[0];
B1_dffs[2]_p2_out = B1_dffs[3] & B1_dffs[2];
B1_dffs[2]_or_out = B1_dffs[2]_p1_out # B1_dffs[2]_p2_out;
B1_dffs[2]_reg_input = B1_dffs[2]_or_out;
B1_dffs[2]_p3_out = A1L22Q & A1L02Q;
B1_dffs[2] = TFFE(B1_dffs[2]_reg_input, GLOBAL(SW2), , , B1_dffs[2]_p3_out);


--B3_dffs[3] is lpm_counter:month_set0_rtl_1|dffs[3] at LC5
B3_dffs[3]_p1_out = B3_dffs[2] & B3_dffs[1] & B3_dffs[0] & !B3_dffs[3];
B3_dffs[3]_p2_out = !B3_dffs[2] & !B3_dffs[1] & !B3_dffs[0] & B3_dffs[3];
B3_dffs[3]_or_out = B3_dffs[3]_p1_out # B3_dffs[3]_p2_out;
B3_dffs[3]_reg_input = B3_dffs[3]_or_out;
B3_dffs[3]_p3_out = !A1L22Q & A1L02Q;
B3_dffs[3] = DFFE(B3_dffs[3]_reg_input, GLOBAL(SW2), , , B3_dffs[3]_p3_out);


--B1_dffs[3] is lpm_counter:day_set0_rtl_3|dffs[3] at LC2
B1_dffs[3]_p1_out = B1_dffs[2] & B1_dffs[1] & B1_dffs[0] & !B1_dffs[3];
B1_dffs[3]_p2_out = !B1_dffs[2] & !B1_dffs[1] & !B1_dffs[0] & B1_dffs[3];
B1_dffs[3]_or_out = B1_dffs[3]_p1_out # B1_dffs[3]_p2_out;
B1_dffs[3]_reg_input = B1_dffs[3]_or_out;
B1_dffs[3]_p3_out = A1L22Q & A1L02Q;
B1_dffs[3] = DFFE(B1_dffs[3]_reg_input, GLOBAL(SW2), , , B1_dffs[3]_p3_out);


--~GND~0 is ~GND~0 at LC21
~GND~0_or_out = GND;
~GND~0 = ~GND~0_or_out;


--~GND~1 is ~GND~1 at LC19
~GND~1_or_out = GND;
~GND~1 = ~GND~1_or_out;


--~GND~2 is ~GND~2 at LC18
~GND~2_or_out = GND;
~GND~2 = ~GND~2_or_out;


--~GND~3 is ~GND~3 at LC17
~GND~3_or_out = GND;
~GND~3 = ~GND~3_or_out;


--EN2 is EN2 at PIN_24
--operation mode is input

EN2 = INPUT();


--SW1 is SW1 at PIN_43
--operation mode is input

SW1 = INPUT();


--SW2 is SW2 at PIN_2
--operation mode is input

SW2 = INPUT();


--month_set1[3] is month_set1[3] at PIN_37
--operation mode is output

month_set1[3] = OUTPUT(~GND~0);


--month_set1[2] is month_set1[2] at PIN_39
--operation mode is output

month_set1[2] = OUTPUT(~GND~1);


--day_set1[3] is day_set1[3] at PIN_40
--operation mode is output

day_set1[3] = OUTPUT(~GND~2);


--day_set1[2] is day_set1[2] at PIN_41
--operation mode is output

day_set1[2] = OUTPUT(~GND~3);


--disp_drive[0] is disp_drive[0] at PIN_9
--operation mode is output

disp_drive[0] = OUTPUT(A1L02Q);


--disp_drive[1] is disp_drive[1] at PIN_11
--operation mode is output

disp_drive[1] = OUTPUT(A1L22Q);


--month_set1[0] is month_set1[0] at PIN_12
--operation mode is output

month_set1[0] = OUTPUT(B4_dffs[0]);


--month_set0[0] is month_set0[0] at PIN_4
--operation mode is output

month_set0[0] = OUTPUT(B3_dffs[0]);


--day_set1[0] is day_set1[0] at PIN_6
--operation mode is output

day_set1[0] = OUTPUT(B2_dffs[0]);


--day_set0[0] is day_set0[0] at PIN_18
--operation mode is output

day_set0[0] = OUTPUT(B1_dffs[0]);


--month_set1[1] is month_set1[1] at PIN_20
--operation mode is output

month_set1[1] = OUTPUT(B4_dffs[1]);


--month_set0[1] is month_set0[1] at PIN_21
--operation mode is output

month_set0[1] = OUTPUT(B3_dffs[1]);


--day_set1[1] is day_set1[1] at PIN_17
--operation mode is output

day_set1[1] = OUTPUT(B2_dffs[1]);


--day_set0[1] is day_set0[1] at PIN_16
--operation mode is output

day_set0[1] = OUTPUT(B1_dffs[1]);


--month_set0[2] is month_set0[2] at PIN_14
--operation mode is output

month_set0[2] = OUTPUT(B3_dffs[2]);


--day_set0[2] is day_set0[2] at PIN_19
--operation mode is output

day_set0[2] = OUTPUT(B1_dffs[2]);


--month_set0[3] is month_set0[3] at PIN_8
--operation mode is output

month_set0[3] = OUTPUT(B3_dffs[3]);


--day_set0[3] is day_set0[3] at PIN_5
--operation mode is output

day_set0[3] = OUTPUT(B1_dffs[3]);






