®
Altera Corporation v
Contents
December 1996
About this Quick Reference Guide...............................................................................................................iii
How to Contact Altera ..........................................................................................................................iii
Typographic Conventions ....................................................................................................................iv
Section 1: Introduction
............................................................................................................................... 1
Overview.................................................................................................................................................. 1
History of LPM........................................................................................................................................1
LPM Features........................................................................................................................................... 2
LPM Functions ........................................................................................................................................ 2
Section 2: Gate Functions
.......................................................................................................................... 3
lpm_and
................................................................................................................................................... 4
lpm_bustri
............................................................................................................................................ 5
lpm_clshift
......................................................................................................................................... 6
lpm_constant
....................................................................................................................................... 7
lpm_decode
............................................................................................................................................ 8
lpm_inv
................................................................................................................................................... 9
lpm_mux
................................................................................................................................................. 10
busmux
................................................................................................................................................... 11
mux
.......................................................................................................................................................... 12
lpm_or
................................................................................................................................................... 13
lpm_xor
................................................................................................................................................. 14
Section 3: Arithmetic Functions
............................................................................................................ 15
lpm_abs
................................................................................................................................................. 16
lpm_add_sub
....................................................................................................................................... 17
lpm_compare
....................................................................................................................................... 19
lpm_counter
....................................................................................................................................... 21
lpm_mult
.............................................................................................................................................. 23