Beruflich Dokumente
Kultur Dokumente
2.
INTRODUCTION
LED
Year
Date
Display
Subsystem
Month
Days
The figure above show the IOBD of the system. From the
diagram there are 14 inputs of the system, 10 inputs for the
Year and 4 inputs for the Month. Since this is combinational
circuit, no clock is needed.
1
1
1
1
1
1
0
0
1
1
1
1
1
1
0
0
1
1
0
1
0
1
0
1
0
0
0
0
0
0
Y01
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
F4
0
1
0
1
0
1
0
1
0
1
0
0
0
0
0
0
Table 3: 2, 6
Y04
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
Y02
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
Y01
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
Y08
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
F1
1
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
Y04
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
Y02
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
nd
Table 1: 0, 4, 8
Y08
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
Y04
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
Y02
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
Y01
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
F2
1
0
1
0
1
0
1
0
1
0
0
0
0
0
0
0
nd
Y08
0
0
0
0
0
0
0
0
1
1
Y04
0
0
0
0
1
1
1
1
0
0
Y02
0
0
1
1
0
0
1
1
0
0
Y01
0
1
0
1
0
1
0
1
0
1
F3
0
0
1
0
0
0
1
0
0
0
Y04
0
0
0
0
1
1
1
1
0
0
0
0
Y02
0
0
1
1
0
0
1
1
0
0
1
1
Y01
0
1
0
1
0
1
0
1
0
1
0
1
F5
1
0
0
0
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
0
0
1
1
0
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
1
1
1
1
1
1
1
1
1
1
1
0
0
0
0
1
1
1
1
1
1
1
1
1
1
1
1
0
0
0
0
1
1
1
1
1
1
1
1
1
1
1
1
0
0
0
0
1
1
0
1
1
1
1
1
1
1
1
1
0
0
0
0
1
1
0 (1)
0
1
0
1
1
0
1
0
1
0
0
0
A2
A1
A0
D4
D3
D2
D1
D0
D2
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
D1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
D0
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
O3
0
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
O2
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
O1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
O0
0
0
0
0
0
1
0
1
0
0
0
0
0
0
0
0
From the table, the desired output is only 28, 29, 30 and
31. However, for 29, it is interchanged during leap year,
separated by multiplexer.
RESULT
The board is tested by set the year and the month. Both
leap and non-leap year is tested.
From the figure above, the year is set to leap year and the
LED is light on indicates the year is leap. Figure 10 shows
February, showing 31 days. Figure 11 is March, has 29 days
because it is leap month and finally figure 12 is June, has 30
days.
Figure 10: Leap year and February days
5.
6.
From the figure above, the year is set to non-leap year and
the LED is light off indicates the year is non-leap. Figure 13
shows June, showing 30 days. Figure 14 is March, has 28 days
because it is non-leap month and finally figure 15 is January,
has 31 days.
4.
DISCUSSION
CONCLUSION
REFERENCE
[1]
http://www.timeanddate.com/date/leapyear.html
[2]