Altera_Forum
Honored Contributor
19 years agoNIOS II IDE
I need information on where I can find the Macros which are to be used to access the registers in peripheral devices. Any help is appreciated
The IDE should be able to tell you where any header file is coming from, by clicking on the element in the right hand side column.
However, there's also a simple convention that is used for all Avalon components. The header file, you're looking for is defined in the the <component_dir>/inc/<component_dir>.h file. The generated_all.mk file (in the system_description directory of your System Library) will tell you the specific paths to hunt down....though, like I say in the first statement, the IDE should be intelligent enough to figure this out for you....should being the operative word! Cheers, - slacker