Hi all, I am having problems debugging my memory controller. My initial idea is to capture a frame and display the same frame continuously. But I see problems in the pattern captured (some spots with colours that arent expected to be there). When I simulate the controller it works as it is expected. I understand that the timing has to be right and I modified everything so that its alright. The input pattern is a simulated timing generator to generate vga timing (640 x 480 @ 60Hz).
I think that the problem lies with an asynchronous fifo used to buffer data at 25Mhz. The controller can take data from here at 100Mhz and write into memory. Can anyone see a potential problem with this? I use an async fifo for output buffering and there is no problem here. Also can i use 2 clocks in the same module? some 'always' loops operating at
1 clock and the others at another clock?Can someone think of a test that I do to figure out the problems? I tried using different lenght fifos, with and without fifo and digging into memory location and can do some minor corrections but I am not able to spot any major mistake. Any help is greatly appreciated.
Thanks Subhasri.K