Embedded Design Handbook

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

7.2.2.2.2. Accelerating Hardware

Slow software algorithms can be accelerated with the use of custom instructions, dedicated hardware accelerators. The following techniques can increase processor efficiency in running your application:

  • Custom instructions—Use custom instructions to augment the Nios® II processor's arithmetic and logic unit (ALU) with a block of dedicated, user-defined hardware to accelerate a task-specific, computational operation. This hardware accelerator is associated with a user-defined operation code, which the application software can call.

    For information about how to create a custom instruction, refer to Nios® II Custom Instruction User Guide.

  • Hardware accelerators—Use hardware accelerators for bulk processing operations that can be performed independently of the Nios® II processor. Hardware accelerators are custom, user-defined peripherals designed to speed up the processing of a specific system task. They increase the efficiency of operations that are performed independently of the Nios® II processor.

    For more information about hardware acceleration, refer to the Hardware Acceleration and Coprocessing chapter.