*** tpb has joined #litex | 00:00 | |
*** Degi has quit IRC | 02:22 | |
*** Degi has joined #litex | 02:24 | |
*** HEGAZY has joined #litex | 03:26 | |
*** HEGAZY has quit IRC | 03:59 | |
*** kbeckmann1 has joined #litex | 10:01 | |
*** kbeckmann has quit IRC | 10:04 | |
lambda | how does the native interface for litedram work? there's the cmd_ signals, which I assume are used to start a transaction, but how do they relate to wdata? they have separate _ready signals, do both have to be asserted to start a write? | 10:37 |
---|---|---|
*** lambda has quit IRC | 10:42 | |
*** lambda has joined #litex | 10:44 | |
*** gregdavill has quit IRC | 12:38 | |
*** _whitelogger has quit IRC | 15:12 | |
*** _whitelogger has joined #litex | 15:14 | |
lambda | or, if they're independent, what are the maximum delays between the two? | 15:19 |
*** kbeckmann1 has quit IRC | 15:54 | |
*** kbeckmann has joined #litex | 15:54 | |
_florent_ | lambda: you have 3 streams: cmd/wdata/rdata, cmd is used to pass the write/read addresses. When you present the write cmd on cmd, you also need to provide the write data on wdata. If you present a read cmd on cmd, you must be sure rdata interface will be able to accept the return data. The dma frontend module can help you understand it. It's also possible to expose an AXI port if that's easier for you. | 17:50 |
lambda | _florent_: I'll have a look at the DMA. The thing I'm still wondering about: is it possible for cmd_ready to be asserted while wdata_ready isn't? And if so, do I have to wait for the write stream to become available before issuing the write command? | 18:04 |
_florent_ | yes for a write you'll have cmd_ready asserted before wdata_ready. But since the delay between cmd_ready and wdata_ready is unknown (it depends of the internal state of the DRAM, if the row already open, etc...), i would recommend setting wdata when issuing the command. | 18:29 |
*** gregdavill has joined #litex | 20:45 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!