Forum Discussion
4 Replies
- Altera_Forum
Honored Contributor
In the BSP editor, add it as a new section to the Nios memory map.
- Altera_Forum
Honored Contributor
I tried it , but it says error something like- memory block withe the name "my custom logic" not found in sopc design. I explored the .IP file of onchip that taken from IP catalog and compared with .IP file of my custom logic. I can see there are certain .xml like lines in the ip file
Like IsMemoryDevice =1 in alteration ocm and it is zero in my case. I am thinking in this direction. - Altera_Forum
Honored Contributor
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:
(where iname is the name of your avalon interface) And add a parameter in the list:# # connection point iname # add_interface iname avalon end
replacing iname with the name of your interface. Then regenerate the QSys project and recompile.set_interface_property iname isMemoryDevice true - Altera_Forum
Honored Contributor
--- 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:
(where iname is the name of your avalon interface) And add a parameter in the list:# # connection point iname # add_interface iname avalon end
replacing 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 youset_interface_property iname isMemoryDevice true