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
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.
|