Forum Discussion
How to Generate Altera HAL for HPS?
Hi, I am using Quartus 26.1 with the Agilex 5 Modular Development Kit (Device number: A5ED065BB32AE6SR0) and I have a few questions about BSP Generation for Hard Processor System (HPS). For reference I am following the Quartus Prime Pro Edition Version 26.1 User Guide.
1. How do I generate Altera HAL for HPS? When I use the BSP Editor in platform designer, I can only generate the system.h file that only has macros for EMIF, even though other peripherals are also connected to the HPS. How do I generate macros for the H2F bridges and HAL API Files for the HPS?
2. How do I input a SOPCINFO file into the BSP Editor? The Quartus Prime Pro Edition User Guide shows that I should be able to input SOPCINFO file as the system file (see above image) but Quartus only gives me the options of QSYS and IP file (see below image).
Thank you for the help!
Hi,
Altera HAL doesn't support HPS currently. Altera HAL is meant generate Nios V BSP.
Can you tell me more what are the uses case you want to have with Altera HAL.
5 Replies
- KelvinK_Altera
Occasional Contributor
Hi,
Altera HAL doesn't support HPS currently. Altera HAL is meant generate Nios V BSP.
Can you tell me more what are the uses case you want to have with Altera HAL.- opexsys
New Contributor
Hi Kelvin, thank you for the reply.
Our use case is for high-speed networking. We want to implement the upper layers of the OSI stack in the HPS and the lower levels of the OSI stack in the FPGA fabric. We were interested in the Altera HAL for a few reasons:
1. Portability of the code between different FPGA boards
2. Further decoupling of work between Software Engineers and Hardware Engineers
3. Reducing development time
4. Increasing maintainability of the code
On a side note, is there a reason why the BSP editor is not able to accept SOPCINFO files as the system file for Quartus version 26.1?
Thank you again!
- KelvinK_Altera
Occasional Contributor
SOPCINFO files only can apply on Quartus Standard version of BSP editor.
Quartus Pro version BSP editor not able to accept SOPCINFO, only qsys.file can be accept.
- sonycman
New Contributor
But if i bult baremetal design, based on HPS, is there any memory map header file generated?
Vivado does it, why Quartus don't?
- SueC_Altera
Contributor
Hi sonycman,
We will be releasing new Bare Metal support for Agilex 5 in 26.3. I suggest you wait for that update.
Thanks,
Sue