Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
8 years ago

Board Support Package for OpenCL

Hi,

Our university has two older boards that I want to use for FPGA-based OpenCL. The first board is an Altera/terasIC DE4-530 Stratix IV Development Board and an Altera Arria V GT. I downloaded Quartus v17.0 and the corresponding OpenCL SDK. There seems to be no BSP for these boards. Are they available? Has anyone created a custom BSP for these boards? I really want to use these boards for a research project and we just don't have the resources to purchase new boards. I need a large LE size for the problem-set I want to solve...

Thanks,

QG

14 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    For university work, you can easily get free licenses as part of Altera's university program. Getting board donations might be a little bit harder but you can get big discounts just by being part of the university program. There are also always the OpenCL-capable Cyclone V SoCs which are dirt cheap (sub 100$), but of course don't have much to offer in terms of performance compared to Stratix V/Arria 10.

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    PS: I understand the cost involved in doing this, but the best person to write these BSPs are the engineers/company that manufactured the board if this is the technology they want to promote...

    --- Quote End ---

    Here is where it starts to get interesting. In the board support you can put ultra-efficient Verilog code in the BSP and then call that out from OpenCL. I realize that someone who just wants to learn OpenCL might as well download the Intel Processor OpenCL SDK. But if you want to know about reconfigurable computing this is the way to go. In the FPGA version you need to think about how to pipeline your code because that's when the FPGA gets the most powerful performance. OpenCL on FPGAs is not for the beginner. Nothing on FPGAs are for beginners. Power users only at this time. When the FPGA manufactures decide to make it easy it will be but they have to change their devices and basic software to make this work for the beginner.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    You don't really need to attend that class, there are very detailed documents about how you can develop your own BSP based on the reference BSPs:

    https://www.altera.com/content/dam/altera-www/global/en_us/pdfs/literature/hb/opencl-sdk/ug_aocl_s5_net_platform.pdf

    https://www.altera.com/content/dam/altera-www/global/en_us/pdfs/literature/hb/opencl-sdk/ug-aocl-altera-a10pciedk-platform.pdf

    https://www.altera.com/content/dam/altera-www/global/en_us/pdfs/literature/hb/opencl-sdk/ug_aocl_c5soc_devkit_platform.pdf

    Still, as I mentioned earlier, doing so requires considerable knowledge and experience about Quartus, QSYS, Network/PCI-E/DDR interfaces, Timing Closure, Partial Reconfiguration, etc., which not everyone has; without this knowledge and experience, even if you attend that class (or any other class), it won't help you much.