<zyp>
oter_, I would assume the address is a direct offset into the ram; a 25 bit address for a 128 bit word can address 512MB
<zyp>
to translate addr from a normal byte address to a 25-bit DMA address, I figure you'd do something like addr[4:29]
<zyp>
i.e. you're not interested in the lowest four bits, since you're adressing a whole 128 bit word, and you're also not interested in the top three bits since that's just the dram offset on the main bus
Dolu has quit [Ping timeout: 246 seconds]
<zyp>
translating the other way you'd append four zero bits on the LSB end and the offset bits on the MSB end
chgavilana has quit [Ping timeout: 245 seconds]
<oter>
Thanks a ton, zyp!
<oter>
no dice (yet) - am not getting the value I wrote to the 0-offset rambase if I just supply 0 as the DMA read address - must be doing something else wrong in the handshake. I'
<oter>
l'll keep digging in 2021 :-).
tweakoz has joined #litex
tweakoz has quit [Remote host closed the connection]
Degi_ has joined #litex
Degi has quit [Ping timeout: 246 seconds]
Degi_ is now known as Degi
proteusguy has quit [Ping timeout: 246 seconds]
proteusguy has joined #litex
CarlFK has joined #litex
Bertl_oO is now known as Bertl_zZ
peeps[zen] has joined #litex
peepsalot has quit [Ping timeout: 256 seconds]
peeps[zen] is now known as peepsalot
CarlFK has quit [Ping timeout: 260 seconds]
peepsalot has quit [Quit: Connection reset by peep]
peepsalot has joined #litex
m4ssi has joined #litex
martinraison has joined #litex
martinraison has quit [Ping timeout: 240 seconds]
Dolu has joined #litex
martinraison has joined #litex
martinraison has quit [Remote host closed the connection]
CarlFK has joined #litex
m4ssi has quit [Remote host closed the connection]
acathla has quit [Ping timeout: 256 seconds]
acathla has joined #litex
acathla has quit [Changing host]
acathla has joined #litex
martinraison has joined #litex
acathla has quit [Ping timeout: 256 seconds]
acathla has joined #litex
martinraison has quit [Remote host closed the connection]