This example describes an 8-bit counter with asynchronous reset and count enable inputs in Verilog HDL. Synthesis tools detect counter designs in HDL code and infer lpm_counter megafunction.
Download the files used in this example:
The use of this design is governed by, and subject to, the terms and conditions of the Intel® Design Example License Agreement.
Table 1 lists the ports and gives a description for each.