FFY00 has quit [Remote host closed the connection]
FFY00 has joined #litex
FFY00 has quit [Remote host closed the connection]
FFY00 has joined #litex
<davidcorrigan714>
avg alan?
<avg>
Yes!
<davidcorrigan714>
Cool, was about to leave some notes about trying to connect to untangle some commits. Not sure you if it's alerted you yet for some of the comments I had left on things
* avg
checks
<avg>
ah yes - the list of primitives is confusing
<avg>
The SP512K primitive corresponds to the architecture of the LRAMs
<avg>
and then SP16K matches the Crosslink EBRAMs
<avg>
The reference guide is light on helpful detail
<avg>
SP256K is the iCE40 SPRAM
<davidcorrigan714>
ok, found the section of the datasheet that kind of spells that out more. So you did the SP512K which would do LRAM and I went for the SP16K which is block ram. Not sure how the distributed RAM bits work or if those mostly get used in other things. Seems like just names need sorting then since both types are useful.
<avg>
If i'm reading it correctly, distributed RAM uses FFs, so probably not generally useful connected to Wishbone
<avg>
Agree both BRAM and LRAM ram is useful - on the NX/40, I'm planning to use 256kB BRAM + 256kB LRAM
<avg>
fwiw, Radiant is telling me that the 125MHz clock can't be used directly - it looks like it is intended only for use with the SERDES block
<avg>
So, working on getting the 12MHz clock going
<davidcorrigan714>
I've got the 450 Mhz one setup and you can divide it down. Pushed those a few minutes ago
<avg>
Ah, the internal oscillator? nice
<davidcorrigan714>
yeah, the accuracy is something like 15% but it works. I accidentally had it at 90 Mhz the first go and it actually worked but I set the default to 75 Mhz.
<davidcorrigan714>
The OSCA block has the 450 Mhz core with 2 divided outputs, then a slower clock as well, forget the exact speed, but I haven't quite figured out how to nicely expose that slower one with the way the faster two output are structured in the code.
<davidcorrigan714>
I've got to run for the evening, but I'm curious about the tooling naming difference. May just have to put an OS check for the name if they're really separate on the two platforms.
davidcorrigan714 has quit [Remote host closed the connection]
<daveshah>
avg: is there any need to use RAM primitives?
<daveshah>
A big enough main ram in LiteX should hopefully end up inferred to LRAM anyway
<avg>
@daveshah I will check that out in the near future
<avg>
Is there an example of another FPGA with largish special purpose rams that are inferred? I"m only familiar with iCE40 and Artix7
<daveshah>
Yes, UltraScale+ URAMs are inferred
<avg>
ty!
kgugala has joined #litex
kgugala has quit [Read error: Connection reset by peer]
kgugala has joined #litex
kgugala__ has quit [Ping timeout: 246 seconds]
CarlFK has quit [Quit: Leaving.]
<avg>
@daveshah Radiant seems to be inferring BRAMs instead of LRAMs.
<daveshah>
Ah, that's a shame
avg has quit [Remote host closed the connection]
CarlFK has joined #litex
kgugala_ has joined #litex
kgugala has quit [Ping timeout: 256 seconds]
kgugala_ has quit [Read error: Connection reset by peer]
kgugala has joined #litex
kgugala_ has joined #litex
kgugala has quit [Read error: Connection reset by peer]
_whitelogger has joined #litex
FFY00 has quit [Remote host closed the connection]
davidcorrigan714 has joined #litex
davidcorrigan714 has quit [Remote host closed the connection]
m4ssi has joined #litex
m4ssi has quit [Remote host closed the connection]
avg has joined #litex
davidcorrigan714 has joined #litex
davidcorrigan714 has quit [Remote host closed the connection]