- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks, 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 ---
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page