|
||
|
BCD counter modulo 60 (seconds or minutes counter) |
|
|
1. Specifications
Our goal is to design an minute or seconds counter to be used in a real-time clock device. Fig. 1 represents the symbol and function table. It is for counting using BCD code from 00 up to 59.
Fig 1. Symbol for the proposed entity. |
2. Planning
Let us use plan C2. Inventing the Counter_BCD_mod60 requires chaining Counter_mod16 components using truncation techniques in the way discussed at L7.3.
|
Fig 3. Proposed internal architecture for Counter_BCD_mod60. |
Project location:
C:\CSD\P7\Counter_BCD_mod60\(files)
3. Development
Example file translation of schematics above in Fig. 3: Counter_BCD_mod60.vhd, Quad_MUX_2.vhd, and copy the Counter_mod16.vhd from its plan Y tutorial Counter_mod16.
4. Test (functional)