Altera Home Page
Literature Licensing
Buy On-Line Download

  Home   |   Products   |   Support   |   End Markets   |   Technology Center   |   Education & Events   |   Corporate   |   Buy On-Line  
  Knowledge Database   |   Devices   |   Design Software   |   Intellectual Property   |   Reference Designs   |   Design Examples   |   mySupport  

 Products
      MAX/MAX II
      Stratix/Stratix GX
      Nios II
  
 Functionality
      Arithmetic
      Memory
      Bus & I/O
      Logic
      Interfaces & Peripherals
      DSP
      Communications
      PLL & Clocking
  
 Design Entry
      Quartus II Project
      Tcl
      VHDL
      Verilog HDL
      C Code Examples
      DSP Builder
      TimeQuest
   On-Chip Debugging
  
 Simulation Tools
      Mentor Graphics ModelSim
      Cadence NCsim
      Synopsys VCS
  
 Legacy Examples
      Graphic Editor
      AHDL
  

Arithmetic Design Examples

Table 1 contains arithmetic design examples for use in designs for Altera® devices. Select the design entry method icon to see the design example.

Table 1. Arithmetic Design Examples

Function Design Entry Method
Adder/Subtractor NEW Verilog HDL
VHDL
Binary Adder Tree NEW Verilog HDL
Ternary Adder Tree NEW

Verilog HDL

Examples for altfp_add_sub Megafunction User Guide NEW Quartus® II Software
Examples for altmult_add Megafunction User Guide NEW Quartus II Software

Parameterized Counter (lpm_counter)

Verilog HDL 

Behavorial Counter

Verilog HDL
VHDL

Carry Look-Ahead Adder

VHDL

Ripple-Carry Adder

VHDL

Down Counter

VHDL

Legacy Examples

Parameterized Multiplier (lpm_mult)

AHDL
MAX+PLUS® II Graphic Editor

Parameterized Counter (lpm_counter)

AHDL 

Design Examples Disclaimer

These design examples may only be used within Altera Corporation devices and remain the property of Altera. They are being provided on an “as-is” basis and as an accommodation; therefore, all warranties, representations, or guarantees of any kind (whether express, implied, or statutory) including, without limitation, warranties of merchantability, non-infringement, or fitness for a particular purpose, are specifically disclaimed. Altera expressly does not recommend, suggest, or require that these examples be used in combination with any other product not provided by Altera.

  Please Give Us Feedback