Altera_Forum
Honored Contributor
14 years agoQsys SDRAM wire export, clk missing
Hi All,
This is a newbie question. I don’t have much luck adding SDRAM to my project. I’ve completed the “Nios II Hardware Development Tutorial” and the first count binary demo is working as expected on the DE0 using onchip memory. When I added SDRAM to the project it didn’t work to troubleshoot my problem I’ve changed the linker memory regions in BSP editor so now sdram_0 is only used by the heap. The demo is working again and to verify SDRAM I’m using malloc() to print a string. The malloc() is working if the linker memory is pointed to onchip mem. I’m just using malloc to check SDRAM. I’m confused by the qsys implementation of SDRAM export wire. There is no CLK among the export wires (wire_export.jpg) However PIN E5 supposed to be connected to DRAM_CLK.(de0_doc.jpg) Because of this DRAM_CLK is not shown in pin planner so I cannot connect it. There may be other problems but I assume this is a blocking one. The DE0 examples are based on SOPC Builder but I’d like to use Qsys. (qsys_contents.jpg) Qsys contents looks like this: Thanks, James