Forum Discussion
Altera_Forum
Honored Contributor
8 years agoHow to include custom onchip memory block into the Linker section mappings ?
Hello, I have a custom onchip memory (block memory) with a avalon slave interface. I want this to show up in the linker section mappings of eclipse SDK. So, that i will use this to load rodata,heap,...
Altera_Forum
Honored Contributor
8 years ago --- Quote Start --- You need to edit your IP's *_hw.tcl file with a text editor. Find the section describing the Avalon Slave interface for your memory component, that should be like this:
#
# connection point iname
#
add_interface iname avalon end
(where iname is the name of your avalon interface) And add a parameter in the list: set_interface_property iname isMemoryDevice truereplacing iname with the name of your interface. Then regenerate the QSys project and recompile. --- Quote End --- Hehe !!! Worked This is exactly what I want I can now select my peripheral in linker script pulldown menu. Trivial thing is ,In settings.html file attribute name is empty. Thank you