Embedded Design Handbook

ID 683689
Date 8/28/2023
Public
Document Table of Contents

7.1.2.3.2. High-Speed State Machines

You should implement high throughput state machine using a Nios® II/f core. To maximize performance, focus on the I/O interfaces and memory types. The following recommendations on memory usage can maximize the throughput of your state machine:

  • Use on-chip memory to store logic for high-speed decision making.
  • Use tightly-coupled memory if the state machine must operate with deterministic latency. Tightly-coupled memory has the same access time as cache memory; consequently, you can avoid using cache memory and the cache coherency problems that might result.

For more information about tightly-coupled memory, refer to the Cache and Tightly-Coupled Memory chapter of the Nios® II Gen2 Software Developer's Handbook.