Intel® FPGA SDK for OpenCL™ Standard Edition: Custom Platform Toolkit User Guide
ID
683398
Date
5/04/2018
Public
A newer version of this document is available. Customers should click here to go to the newest version.
1.1. Prerequisites for the Intel® FPGA SDK for OpenCL™ Standard Edition Custom Platform Toolkit
1.2. Overview of the Intel® FPGA SDK for OpenCL™ Standard Edition Custom Platform
1.3. Custom Platform Automigration for Forward Compatibility
1.4. Creating an Intel® FPGA SDK for OpenCL™ Standard Edition Custom Platform
1.5. Applying for the Intel® FPGA SDK for OpenCL™ Standard Edition Preferred Board Status
1.6. Shipping Recommendations
1.7. Intel® FPGA SDK for OpenCL™ Standard Edition Custom Platform Design Revision History
2.3.1. aocl_mmd_get_offline_info
2.3.2. aocl_mmd_get_info
2.3.3. aocl_mmd_open
2.3.4. aocl_mmd_close
2.3.5. aocl_mmd_read
2.3.6. aocl_mmd_write
2.3.7. aocl_mmd_copy
2.3.8. aocl_mmd_set_interrupt_handler
2.3.9. aocl_mmd_set_status_handler
2.3.10. aocl_mmd_yield
2.3.11. aocl_mmd_shared_mem_alloc
2.3.12. aocl_mmd_shared_mem_free
2.3.13. aocl_mmd_reprogram
2.3.14. aocl_mmd_hostchannel_create
2.3.15. aocl_mmd_hostchannel_destroy
2.3.16. aocl_mmd_hostchannel_get_buffer
2.3.17. aocl_mmd_hostchannel_ack_buffer
2.2.6. interfaces
The interfaces element of the board_spec.xml file describes the kernel interfaces which will connect to OpenCL™ kernels and control their behaviors. For this element, include one of each interface of types master, irq and streamsource. Refer to the interface section for the parameters you must specify for each interface.
Example XML code:
<interfaces>
<interface name="board" port="kernel_cra" type="master" width="64" misc="0"/>
<interface name="board" port="kernel_irq" type="irq" width="1"/>
<interface name="board" port="acl_internal_snoop" type="streamsource"
enable="SNOOPENABLE" width="31" clock="board.kernel_clk"/>
<kernel_clk_reset clk="board.kernel_clk" clk2x="board.kernel_clk2x" reset="board.kernel_reset"/>
</interfaces>
In addition to the master, irq, and streamsource interfaces, if your design includes a separate Platform Designer (Standard) subsystem containing the board logic, the kernel clock and reset interfaces exported from it are also part of the interfaces element. Specify these interfaces with the kernel_clk_reset attribute and its corresponding parameters.
Attribute | Description |
---|---|
clk | The Platform Designer (Standard) name for the kernel clock interface. The kernel_clk output from the OpenCL Kernel Clock Generator component drives this interface. |
clk2x | The Platform Designer (Standard) name for the kernel clock interface. The kernel_clk2x output from the OpenCL Kernel Clock Generator component drives this interface. |
reset | The Platform Designer (Standard) connection for the kernel reset. The kernel_reset output from the OpenCL Kernel Interface component drives this interface. |
Related Information