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
  

Graphic Editor: Sequencer lpm_rom

This example implements a sequencer using lpm_rom, lpm_counter, and a Memory Initialization File (.mif). This example only sequences through 19 states. The control signals determine when the sequencer will run. The number of states is not a power of 2, so you must set the modulus of lpm_counter to 19 to ensure that it will automatically return to the first state.

This example only uses a small section of an EAB (19 out of 256-address locations), but it shows how you can build a sequencer with more addresses or longer words. The outputs of each state in this example were chosen at random, but an EAB can also be used as a state machine where its outputs determine its inputs (see State Machine Implemented in an EAB).

Download the Graphic Editor and MIF files used in this example:

The use of this design is governed by, and subject to, the terms and conditions of the Altera Hardware Reference Design License Agreement.


sequence.gdf
sequence.gdf

For more information on using this example in your project, go to:


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