Putting Altera MAX Series in Hibernation Mode Using User Flash Memory

ID 683668
Date 1/14/2016

1.3.1. 4-Bit Binary Up-Counter

The 4-bit binary up-counter is the user application module that counts from four bits of zeros to four bits of ones. The Reset and Count input pins of the device go to the input ports of the counter, while the output of the counter goes to four output pins.

Every low pulse to the Count input pin increments the count value by one. When the count value reaches its maximum value (four bits of ones), the next low pulse to the Count input port resets the count value to four bits of zeros. To reset the count value to all zeros at any time, assert the Reset signal.