Intel® FPGA SDK for OpenCL™ Pro Edition: Custom Platform Toolkit User Guide

ID 683085
Date 3/28/2022
Public
Document Table of Contents

2.2.2. device

The device element of the board_spec.xml file provides the device model and the resources that the board design uses.
Example XML code:
<device device_model="5sgsed8k2f40c2_dm.xml">
   <used_resources>
     <alms num="45000"/> 
     <!-- ALMs used in final placement - ALMs used for registers -->
     <ffs num="117500"/>
     <dsps num="0"/>
     <rams num="511"/>
   </used_resources>
 </device>
Table 11.  Attributes for the device Element
Attribute Description
device_model The file name of the device model file that describes the available FPGA resources on the accelerator board.
used_resources Reports the number of adaptive logic modules (ALMs), flip-flops, digital signal processor (DSP) blocks and RAM blocks that the board design consumes, in the absence of any kernel, to the Intel® FPGA SDK for OpenCL™ Pro Edition. If you create a defined partition around all the board logic, you can obtain the used resources data from the Partition Statistics section of the Fitter report.

Extract the information from the following parameters:

  • alms num—The number of logic ALMs used, excluding the number of ALMs with only their registers used. The value should correspond to [a]+[b]+[d] from part [A] of the Fitter Partition Statistics.
  • ffs num—The number of flip flops.
  • dsps num—The number of DSP blocks.
  • rams num—The number of RAM blocks.