Forum Discussion
Chris039
Occasional Contributor
3 years agoWhich folder contains the source code for Nios II built in function
Hi,
In the bsp generated using Nios II, there is one file <bsp folder>/HAL/inc/io.h. You may easily find this in the hello world design.
In line below,
#define IORD(BASE, REGNUM) \ __built...
- 3 years ago
Hi Chris,
Sorry about the bad news. Unfortunately after consulting the engineering team, we are unable to provide the definition on how to use the built in function and the source code as it is private and confidential. However, do feel free to use the macros which is the IORD or IOWR that calls the built in function.
I will set your case to close-pending if I do not hear from you the next few days. Thank you.
Regards,
Kelly
KellyJialin_Goh
Frequent Contributor
3 years agoHi,
I will get back to you soon as it needs more time for investigation. May we know the version of GCC compiler that you are using?
Thank you,
Regards,
Kelly
Chris039
Occasional Contributor
3 years agoI think it doesn’t matter which gcc compiler version. It is the source file for nios built in function.
Sure, do let me know when you found the code