Forum Discussion
Altera_Forum
Honored Contributor
19 years agoIDT SRAM
hello I am working with stratix II EP2S60. I cant find any documents about nios programming for sram (IDT SRAM). for example, how can i write a 32 bit data in known address in nios. thanks
Altera_Forum
Honored Contributor
19 years ago --- Quote Start --- originally posted by m_llaa+oct 10 2006, 03:30 am--><div class='quotetop'>quote (m_llaa @ oct 10 2006, 03:30 am)</div>
--- quote start ---
<!--quotebegin-jdhar@Oct 9 2006, 11:37 PM you may also use the iord/iowr_32direct functions
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=18611)
--- quote end ---
--- Quote End --- I use these 2 functions but i can just write to memory with IOWR_32DIRECT() and i cant read data with IORD_32DIRECT() <div align='right'><{post_snapback}> (index.php?act=findpost&pid=18618)</div> [/b] --- Quote End --- What do you mean you can't read? If you're not seeing the read strobes on the chip, you might be accessing a cached value. Set bit 31 in the read address to bypass the cache.