- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
I have a project in which some units have a bigger SRAM. To accomodate this, I've modified the SOPC design by increasing the number of address bits on the SRAM component. However, in order to compile programs to run on boards with the smaller SRAM, I would like to be able to set something in the linker (or hack the .PTF) to restrict the section sizes, so that I can avoid having to constantly modify and rebuild the SOPC design. Is there an easy way for me to do this? I'm using Quartus/NIOS-IDE 7.2.Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Would swapping the (MPU).sopc and (MPU).ptf files in and out, and performing a make-clean, work?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Now that I've built them, it looks as though it's possible to change 1 line in the SREC file (corresponding to the initialisation of the stack pointer) to allow for smaller SRAM.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Or put the stack somewhere else - so that it isn't in high memory ...
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