AN 977: Nios® V Processor Custom Instruction

ID 773194
Date 4/14/2023
Public
Document Table of Contents

2.4. External Interface Custom Instructions

External interface custom instruction is an extension to the multicycle custom instructions. External interface custom instructions allow you to add an interface for communicating with logic that is not in the processor's datapath. You can generate conduits based on the available interconnects. Refer to the Intel® Quartus® Prime Pro Edition User Guide: Platform Designer - Platform Designer Interconnect.

At system generation, you can export an interface in the Platform Designer by double clicking on the interface to export it allowing external logic to access the signals. By enabling custom instruction logic to access memory external to the processor, external interface custom instructions extend the capabilities of the custom instruction logic.

Figure 8. Custom Instruction with External Interface

Custom instruction logic can perform various tasks such as storing intermediate results or reading memory to control the custom instruction operation. The conduit interface provides a dedicated path for data to flow into or out of the Nios® V processor. For example, custom instruction logic with an external interface can feed data directly from the Nios® V processor’s register file to an external first-in first-out (FIFO) memory buffer.