Forum Discussion
Altera_Forum
Honored Contributor
11 years agoTo detect the condition you want you must specifically look for the condition when all six digits are equal to the wrap values. This will be an extension of what (I assume) you are doing for other digits.
E.g. in order to increment the first minute digit (3rd digit from right) you must see both 9 on digit 1 and 5 on digit 2. Incrementing digit 4 is conditional on the values on digits 1-3 - and so on. So, the condition for the wrap you are looking for is conditional on the values on all 6 digits. So, you will have to create some logic to look for this condition. It sounds like your 'DAYSET' register is an attempt at this. So, you're heading in the right direction. Regards, Alex PS. Please don't open identical threads on different sections of the forum :)