kgugala_ has quit [Read error: Connection reset by peer]
kgugala has joined #litex
kgugala_ has joined #litex
kgugala has quit [Ping timeout: 260 seconds]
kgugala has joined #litex
kgugala has quit [Read error: Connection reset by peer]
kgugala has joined #litex
kgugala_ has quit [Ping timeout: 240 seconds]
HoloIRCUser1 has joined #litex
HoloIRCUser has quit [Ping timeout: 256 seconds]
jordigw has quit [Quit: leaving]
lf_ is now known as lf
<lf>
_florent_: ah thx i will take a look at the minerva integration
jaseg has quit [Ping timeout: 260 seconds]
jaseg has joined #litex
gregdavill_ has joined #litex
<zyp>
the way I see it, while integrating a nmigen core by treating it as a black box is easy, it has some disadvantages like not being able to easily hook up litescope to internal signals
<zyp>
that's what's been keeping me on migen so far
loxodes has quit [Quit: WeeChat 1.4]
loxodes has joined #litex
<loxodes>
I'm running into problems writing a burst of words to SRAM over wishbone in a Migen module in a LiteX SoC, and I'm looking for ideas what the cause might be or on how to approach debugging.
<loxodes>
Currently I'm writing the same incrementing number to SRAM, i.e I write "1" 1024 times and then the next time I trigger a burst I'll write "2" 1024 times.
<loxodes>
The first 16 words writes are always sucessful, however after that blocks of writes fail in some multiple of 8 words. I.e, on the second pass I might see "1" on the first 16 words in memory then "0" for the next 8, then "1" for the next 8.
<loxodes>
If I read N words from different portion of memory in C in the firmware memory prior to writing a burst of words, the first N writes during a burst from the Migen module to SRAM work. (Where working is that I read back the expected value for that memory location from the firmware.)
<loxodes>
Do y'all have any ideas on what might be the source of this behavior? (Is there caching or buffering happening when writing to memory somewhere that might overflow but still pass back a high ACK over wishbone but discard a write attempt? Are long bursts of writes over wishbone not expected work?)
<mithro>
_florent_: It might also be worth mentioning that the most popular RISC-V core used with LiteX is not written in Migen but in-fact SpinalHDL