Cyclone V: FPGA to SDRAM interface not working
Hello.
Part: Cyclone V 5CSXFC5D6F31C7, about 85% utilized.
I've written RTL in verilog for a simple MM interface from the FPGA to SDRAM 1 HPS interface. I created a test bench utilizing an MM DRAM interface model and debugged my hardware until it worked.
However, in the actual FPGA, the MM interface appears to hang. I have very little visibility into the design at this point so I'm not entirely sure what is happening.
The SDRAM 0 interface is working because I have an PCIe NVMe interface working under linux.
I have attempted to generate a full simulation model of the HPS system in Platform Designer but I get an error message:
Error: TB_Gen: pcie_cv_hip_avmm_0.hip_ctrl is not exported for sim partner
I don't need to simulate that, is there a way to disable it for simulation or do I have to create a new platform designer qsys missing the hip and PCIe?
I have also changed the MM interface to use the FPGA to HPS bus and it's behavior is basically the same. I can see my state machine running, but the data in the destination registers that are supposed to be updated from DRAM don't change. So the state machine appears to hang on a read, but restarts on the next 1ms cycle and hangs again.
Bandwidth is not an issue because the most reads the hardware will ever do is 48, 32 bit words every millisecond.
I'm hoping someone can offer guidance on how to debug this.
Thanks.