Altera_Forum
Honored Contributor
15 years agoHelp for counter programme
Design a 4-bit up/down counter with synchronous counting and asynchronous master reset. Write a VHDL design description of the counter based on the following criteria:
a) The counter increments or decrements on a negative clock edge only if its active-LOW enable b) The master reset (MR) is an active-HIGH input that resets the counter to 0000 state. c) The count outputs are Q3Q2Q1Q0 where Q0 is the LSB and Q3 is the MSB. d) For up counting, a LOW at the UP_DW input. A HIGH at UP_DW input causes the counter to decrement.