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:
sequence.gdf
For more information on using this example in your project, go to:
Feedback
Did this information help you?
If not, please log onto mySupport to file a technical request or enhancement.
Altera does not warrant that this solution will work for the customer's intended purpose and disclaims all liability for use of or reliance on the solution.
|