Lpm_counter (counter), Features, Lpm_counter (counter) -1 – Altera Integer Arithmetic IP User Manual

Page 19: Features -1

Advertising
background image

LPM_COUNTER (Counter)

2

2014.12.19

UG-01063

Subscribe

Send Feedback

The LPM_COUNTER megafunction is a binary counter that creates up counters, down counters and up

or down counters with outputs of up to 256 bits wide.
The following figure shows the ports for the LPM_COUNTER megafunction.

Figure 2-1: LPM_COUNTER Ports

ssclr

sload

inst

LPM_COUNTER

q[]

sset

cout

data[]

clk_en

cnt_en

cin

aclr

aload

aset

updown

Features

The LPM_COUNTER megafunction offers the following features:
• Generates up, down, and up/down counters

• Generates the following counter types:

• Plain binary— the counter increments starting from zero or decrements starting from 255

• Modulus—the counter increments to or decrements from the modulus value specified by the user

and repeats

• Supports optional synchronous clear, load, and set input ports

• Supports optional asynchronous clear, load, and set input ports

• Supports optional count enable and clock enable input ports

• Supports optional carry-in and carry-out ports

©

2014 Altera Corporation. All rights reserved. ALTERA, ARRIA, CYCLONE, ENPIRION, MAX, MEGACORE, NIOS, QUARTUS and STRATIX words and logos are

trademarks of Altera Corporation and registered in the U.S. Patent and Trademark Office and in other countries. All other words and logos identified as

trademarks or service marks are the property of their respective holders as described at

www.altera.com/common/legal.html

. Altera warrants performance

of its semiconductor products to current specifications in accordance with Altera's standard warranty, but reserves the right to make changes to any

products and services at any time without notice. Altera assumes no responsibility or liability arising out of the application or use of any information,

product, or service described herein except as expressly agreed to in writing by Altera. Altera customers are advised to obtain the latest version of device

specifications before relying on any published information and before placing orders for products or services.

ISO

9001:2008

Registered

www.altera.com

101 Innovation Drive, San Jose, CA 95134

Advertising