Closed mohammadshahidzade closed 1 year ago
Thanks @mohammadshahidzade for reporting, as discussed in https://github.com/enjoy-digital/litex/issues/1557, this has been fixed by https://github.com/enjoy-digital/litedram/commit/d95c1fc5838de0dafe196ab89d5c6ce1de38105d.
Hi, I believe that you have not updated the axis connection of DMA and it is not working. When I try to connect it to the axis it gives me an error like this.
Then, I changed "dma.py" line 107 to rdata.connect(fifo.sink, omit={"id","resp","dest","user"}). it is working now, but it gives me a wrong answer so I believe there is more to it than adding,"dest","user". When I looked at the waveforms it was giving me all zeros not sure where the problem is. Here is my code:
it also works correctly when I make a native connection like this:
self.submodules.mm2s = mm2s = LiteDRAMDMAReader(user_port_mm2s,with_csr=True)