Altera_Forum
Honored Contributor
18 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
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, - slackerThanks, I found all types of configurations I had done in that list on the right hand side.
I want to use the on chip memory in my design. So, Do I just address the memory by looking at the address in the memory map? or do I have to look for some readymade function to write in that memory for me... Thanks a lot --- Quote Start --- originally posted by slacker@Jan 30 2007, 05:38 PM 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
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=21042)
--- quote end ---
--- Quote End ---
Yes, though if you want to locate one of the main linker sections (.rodata, .rwdata, .text) in that memory, you'll want to set those options in System Library Properties.
Cheers, - slacker