Forum Discussion
Altera_Forum
Honored Contributor
22 years agoNIOS II generating system.h
I am developing software for the NIOS II. Before when I developed sw for NIOS I the "excalibur.h" was created when I generated the NIOS core. With Nios II I know "system.h" replaces the excalibur...
Altera_Forum
Honored Contributor
22 years agoThe reason I would like the system.h is because it provides a complete software description of the Nios II
system hardware, * The hardware configuration of the peripheral * The base address * The IRQ priority (if any) * A symbolic name for the peripheral When I used the excalibur.h file in previous Nios designs I used alot of the# defines in my code so when I migrated to Nios II I was expecting system.h to be the same. I have since heard from ALTERA that the only way system. h is generated is when the project is built. For the time being I have generated the excalibur.h file from the SOPC builder so I can do things the way I have done before. But I will need to make time to work out how I should be doing things properly...I suspect with the HAL. Any way thanks you for your help.