Intel® FPGA SDK for OpenCL™ Pro Edition: Custom Platform Toolkit User Guide
                    
                        ID
                        683085
                    
                
                
                    Date
                    3/28/2022
                
                
                    Public
                
            
                
                    
                        1. Intel® FPGA SDK for OpenCL™ Pro Edition Custom Platform Toolkit User Guide
                    
                    
                
                    
                        2. Intel® FPGA SDK for OpenCL™ Pro Edition Custom Platform Toolkit Reference Material
                    
                    
                
                    
                    
                        3. Intel FPGA SDK for OpenCL Pro Edition Custom Platform Toolkit Archives
                    
                
                    
                    
                        4. Document Revision History for Intel® FPGA SDK for OpenCL™ Pro Edition Custom Platform Toolkit User Guide
                    
                
            
        
                        
                        
                            
                            
                                1.1. Prerequisites for the Intel® FPGA SDK for OpenCL™ Pro Edition Custom Platform Toolkit
                            
                        
                            
                                1.2. Overview of the Intel® FPGA SDK for OpenCL™ Pro Edition Custom Platform
                            
                            
                        
                            
                                1.3. Custom Platform Automigration for Forward Compatibility
                            
                            
                        
                            
                                1.4. Creating an Intel® FPGA SDK for OpenCL™ Custom Platform
                            
                            
                        
                            
                            
                                1.5. Applying for the Intel® FPGA SDK for OpenCL™ Pro Edition Preferred Board Status
                            
                        
                            
                            
                                1.6. Shipping Recommendations
                            
                        
                    
                
                                    
                                    
                                        
                                        
                                            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_device_interrupt_handler
                                        
                                        
                                    
                                        
                                        
                                            2.3.10. aocl_mmd_set_status_handler
                                        
                                        
                                    
                                        
                                        
                                            2.3.11. aocl_mmd_yield
                                        
                                        
                                    
                                        
                                        
                                            2.3.12. aocl_mmd_shared_mem_alloc
                                        
                                        
                                    
                                        
                                        
                                            2.3.13. aocl_mmd_shared_mem_free
                                        
                                        
                                    
                                        
                                            2.3.14. aocl_mmd_program
                                        
                                        
                                        
                                    
                                        
                                        
                                            2.3.15. aocl_mmd_reprogram
                                        
                                        
                                    
                                        
                                        
                                            2.3.16. aocl_mmd_hostchannel_create
                                        
                                        
                                    
                                        
                                        
                                            2.3.17. aocl_mmd_hostchannel_destroy
                                        
                                        
                                    
                                        
                                        
                                            2.3.18. aocl_mmd_hostchannel_get_buffer
                                        
                                        
                                    
                                        
                                        
                                            2.3.19. aocl_mmd_hostchannel_ack_buffer
                                        
                                        
                                    
                                        
                                        
                                            2.3.20. aocl_mmd_host_alloc
                                        
                                        
                                    
                                        
                                        
                                            2.3.21. aocl_mmd_free
                                        
                                        
                                    
                                        
                                        
                                            2.3.22. aocl_mmd_device_alloc
                                        
                                        
                                    
                                        
                                        
                                            2.3.23. aocl_mmd_shared_alloc
                                        
                                        
                                    
                                        
                                        
                                            2.3.24. aocl_mmd_shared_migrate
                                        
                                        
                                    
                                
                            2.2.5. channels
   The  Intel® FPGA SDK for OpenCL™  Pro Edition supports data streaming directly between kernels and I/O via explicitly named channels.  Include the channels element in the board_spec.xml file if your accelerator board provides channels for direct kernel-to-I/O accesses.  For the channels element, you must identify all the channel interfaces, which are implemented using the Avalon®-ST specification. Specify each channel interface via the interface attribute. Refer to the interface section for the parameters you must specify for each interface. The channel interface only supports data, and valid and ready Avalon-ST signals. The I/O channel defaults to 8-bit symbols and big-endian ordering at the interface level. 
  
 
  
   Example XML code:
   
 
 <channels> <interface name="udp_0" port="udp0_out" type="streamsource" width="256" chan_id="eth0_in"/> <interface name="udp_0" port="udp0_in" type="streamsink" width="256" chan_id="eth0_out"/> <interface name="udp_0" port="udp1_out" type="streamsource" width="256" chan_id="eth1_in"/> <interface name="udp_0" port="udp1_in" type="streamsink" width="256" chan_id="eth1_out"/> </channels>
   Related Information