Forum Discussion
Altera_Forum
Honored Contributor
20 years agoExternal RAM as data memory
hello, we have a 32 bit wide sram memory connected to nios2 and would like to use it for heap, stack and data memory.
if we set it as "user interface" it does not appears in select lists. how set up it correctly? thank you4 Replies
- Altera_Forum
Honored Contributor
remeber the avalon addressing : memory (dynamic ) - Altera_Forum
Honored Contributor
--- Quote Start --- originally posted by mountain8848@Feb 10 2006, 12:18 PM see: www.altera.com/literature/hb/qts_qii54005.pdfremeber the avalon addressing : memory (dynamic ) --- Quote End --- link broken we have set user logic as "avalon memory slave" so it seems be ok. what it does mean, dynamic addressing? also, does anybody knows, is it possible to connect one 16 bit ram or flash chip and use it as program memory. i mean, does nios make two access cycles to make 32 bit word or it will use memory assuming 32 bit ram?
- Altera_Forum
Honored Contributor
You should have,
in the device ptf. (PS, I dont know how to do it in the wizard, I would prefer spell it directly with an editor.)Is_Memory_Device = "1"; Data_Width = "16"; - Altera_Forum
Honored Contributor
sorry for my mistake.
here is the link which I got the answer from http://www.altera.com/literature/lit-qts.jsp (http://www.altera.com/literature/lit-qts.jsp). In the page your should take a look at volume 4: sopc builder: avalon switch fabric