- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi - I'm working with the GHRD, adding my own designs as ARM Peripherals (and editing the Qsys "Address Map" tab to insert the new devices into the address spaces). It seems like there must be an easy way to make Qsys (or some Quartus tool) generate a .h file which contains all the address ranges in the "Address Map" tab. But I can't figure out how to do this. I tried
sopc-create-header-files ghrd_5astfd5k3.sopcinfo --module hps_0 --single system.h. Which I found on another thread, and the resultant system.h mentions my peripherals, but doesn't list where they are in the ARM's H2F address space. Is there a magic command to generate a .h file from the Address Map tab? Thanks VERY Much! /j [ps - I'm using Arria V but I don't think this qn is board-specific]Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You know the base address of the H2F bridge so it's a simply a case of using the .h generated by sopc-create-header-files and adding an offset.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yes, answer seems to be
$ sopc-create-header-files ghrd_5astfd5k3.sopcinfo thanks /j- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
where to run this command?
from Nios II command shell (gcc4)? Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks , $sop-create-header-files xxxx.sopcinfo
works right

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