FPGA, CPLD, and ASIC solutions from Altera
30 year anniversary logo
English Site
  • 简体中文
  • 日本語
  • Download Center
  • Documentation
  • myAltera Account
  • myAltera / Logout
Forgot my username or password
  • Devices
    • CPLDs
    • FPGAs
    • ASICs
    • SoCs
    • Processors
    • Power
    • Configuration
  • Design Tools & Services
    • Design Software
    • Intellectual Property
    • Development Kits/Cables
    • Design & Support Services
  • End Markets
    • Automotive
    • Broadcast
    • Computer & Storage
    • Consumer
    • Industrial
    • Medical
    • Military
    • Test & Measurement
    • Wireless
    • Wireline
  • Technology
    • Next-Generation Technologies
    • System Design
    • DSP
    • External Memory
    • Transceivers
    • Signal Integrity
  • Training
    • Training Courses
    • Webcasts & Videos
    • Demonstrations
    • University Program
    • Events Calendar
  • Support
    • Design & Support Resources
    • Knowledge Center
    • Devices
    • Quality & Reliability
    • Design Software
    • Intellectual Property
    • Development Kits/Cables
    • Design Examples
    • Downloads
    • Forums & Wiki
    • mySupport
  • About
    • About Us
    • Corporate Responsibility
    • Partners
    • Newsroom
    • Investor Relations
    • Working at Altera
    • Contact Us
  • Buy
    • Devices
    • Design Software
    • Development & Education Kits
    • Cables & Programming Hardware
    • Intellectual Property
    • Training Credits

VHDL

Home > Support > Design Examples > VHDL

The following examples provide instructions for implementing functions using VHDL. For more information on VHDL support, refer to Quartus® II Help.

For more examples of VHDL designs for Altera® devices, refer to the Recommended HDL Coding Styles (PDF) chapter of the Quartus II Handbook. You can also access Verilog HDL examples from the language templates in Quartus II software. For additional hand-crafted techniques you can use to optimize design blocks for the adaptive logic modules (ALMs) in many Altera devices, refer to the Advanced Synthesis Cookbook: A Design Guide for Stratix® II, Stratix III, and Stratix IV Devices (PDF) 

VHDL Embedded Processor Functions

  • Fast Nios® II Hardware Design Example

VHDL Arithmetic Functions

  • Adder/Subtractor 
  • Carry Look-Ahead Adder
  • Down Counter
  • Behavioral Counter
  • Ripple-Carry Adder
  • Binary Adder Tree 
  • Gray Counter 

VHDL Memory Functions

  • Dual Clock Synchronous RAM 
  • Single Clock Synchronous RAM 
  • Cycle-Shared Dual-Port RAM (csdpram)
  • True Dual-Port RAM with a Single Clock 
  • Single-Port RAM 
  • Single-Port ROM 
  • Dual-Port ROM 

VHDL Bus and I/O Functions

  • Bidirectional Bus
  • Tri-State Buses

VHDL Logic Functions

  • 1x64 Shift Register 
  • 8x64 Shift Register with Taps 
  • Counter with Asynchronous Reset
  • Preventing Unintentional Latch Creation 
  • Instantiating a DFFE
  • Instantiating a DFF Using lpm_dff
  • VHDL Templates for State Machines

VHDL Digital Signal Processing (DSP) Functions

  • VHDL Template for Inferring DSP Blocks in Stratix III and IV FPGAs
  • Implementing OFDM Modulation and Demodulation 
  • Node Synchronization Design Example for Viterbi Decoder 
  • Signed Multiplier
  • Signed Multiplier-Accumulator
  • Unsigned Multiplier with Registered I/O
  • Unsigned Multiply-Adder

Other VHDL Functions

  • Creating a Hierachical Design
  • Converting a Hexadecimal Value to a Standard Logic Vector

How to Use VHDL Examples

Altera provides VHDL design examples as downloadable executable files or as text in your web browser. Click the executable file link to download the file to your hard disk. To use VHDL examples displayed as text in your Quartus II software (or legacy MAX+PLUS®  II software), copy and paste the text from your web browser into the Text Editor. Make sure that the file name of the VHDL design file (.vhd) corresponds to the entity name in the example. For instance, if the entity name is myram, you should save the file as myram.vhd.

Design Examples Disclaimer

These design examples may only be used within Altera devices and remain the property of Altera Corporation. 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.

Rate This Page


  • Design Examples
    • All Design Examples
    • DSP
      • Error Detection/Correction
      • Filters & Transforms
      • Modulation & Demodulation
    • Embedded Processors
      • 32/16-Bit Microprocessors
    • Interface Protocols
      • Communications
      • Ethernet
      • PCI
      • Serial
    • External Memory Interfaces
      • DDR Interfaces
      • DDR2 Interfaces
      • DDR3 Interfaces
      • QDR II Interfaces
      • RLDRAM II Interfaces
      • Flash Interfaces
    • Peripherals
      • Display
      • Microcontroller Peripherals
    • Verification
      • Simulation
  • Design Entry/Tool Examples
    • Quartus II
    • Qsys
    • OpenCL
    • Tcl
    • VHDL
    • Verilog HDL
    • TimeQuest
    • On-Chip Debugging
      • SignalTap II
    • Mentor Graphics ModelSim
    • Cadence NCsim
    • Synopsys VCS
Please give us feedback
Devices | Design Tools & Services | End Markets | Technology | Training | Support | About | Buy
Jobs | Investor Relations | Contact Us | Site Map | Privacy | Legal Notice
Copyright © 1995-2012 Altera Corporation. All Rights Reserved.
Altera Forum
Altera
Forum
Altera Wiki
Altera
Wiki
Email Updates
Email
Updates
Follow Us
Follow
Us