_florent_ changed the topic of #litex to: LiteX FPGA SoC builder and Cores / Github : https://github.com/enjoy-digital, https://github.com/litex-hub / Logs: https://libera.irclog.whitequark.org/litex
tpb has quit [Remote host closed the connection]
tpb has joined #litex
Degi has quit [Ping timeout: 255 seconds]
Degi has joined #litex
TMM_ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM_ has joined #litex
<keesj1> _florent_: do you know ... what tutorial to follow?
Brinx has quit [Remote host closed the connection]
Brinx has joined #litex
Brinx has quit [Ping timeout: 255 seconds]
Brinx has joined #litex
Brinx has quit [Ping timeout: 268 seconds]
Brinx has joined #litex
Brinx has quit [Remote host closed the connection]
negut has quit [Read error: Connection reset by peer]
negut has joined #litex
indy has quit [Ping timeout: 252 seconds]
indy has joined #litex
Brinx has joined #litex
Brinx has quit [Remote host closed the connection]
Brinx has joined #litex
xenador77[m] has quit [Ping timeout: 248 seconds]
xenador77[m] has joined #litex
Brinx has quit [Remote host closed the connection]
Brinx has joined #litex
Brinx has quit [Remote host closed the connection]
Guest13 has joined #litex
Guest13 has quit [Client Quit]
<_florent_> keesj1: The bare metal demo should provide you a basis to do what you want. You can also probably have a look at: https://github.com/litex-hub/fpga_101/tree/master/lab004/firmware
<cr1901> _florent_: Do you have a few mins to answer basic litedram qs? If not, I'll be able to figure out the answer myself
<cr1901> asking you is just quicker :)
<cr1901> Such as: Does litedram start out under software control after push-button reset? Or is a CPU or bridge expected to put it into software mode?
<_florent_> cr1901: and software is expected to put it in software control mode when required
<_florent_> cr1901: previously it was software control by default
<_florent_> but this has been changed to simplify simulation
<cr1901> Hmmm, okay... so that means nominally DRAM should "just work" after pushbutton reset
<cr1901> and if it doesn't, then I should put it under software control and play w/ dram control registers via litex_cli until things "just work"?
<_florent_> DRAM requires an initialization, that is done by the software by default with LiteX
<cr1901> Is using litex_cli supported for doing the initialization (just for testing that litedram is working? I saw a BIST core as well)
<_florent_> do it will not work without the initialization for SDR/DDR/DDR2 and calibration is also also required for DDR3/ DDR4 (and recent standards)
<cr1901> Ahhh okay, I thought the initialization was to _optimize_ the core operation, not necessarily required just for testing
Brinx has joined #litex
<_florent_> it can be done over litex_server with python scripts, but this is not integrated in the repository
<cr1901> That's fine, no need to integrate
Brinx has quit [Remote host closed the connection]
Brinx has joined #litex
<_florent_> LiteDRAM can generate the init sequence in python: https://github.com/enjoy-digital/litedram/blob/master/litedram/init.py#L1021
<_florent_> this is what is used by the scripts I just provided before
<cr1901> I have a connection to litex_server already, I've just forgotten how to talk to it directly (aside from litex_cli)
<cr1901> In any case, thanks, this should help very much
<cr1901> I'm trying to get Gowin internal DRAM working on a design w/o a SoC
<_florent_> with litex_server in place, it's very easy to write/read registers:
<_florent_> by looking at https://github.com/enjoy-digital/litex/blob/master/litex/tools/litex_client.py#L97-L147, you'll have different example for registers/memories, etc...
<cr1901> Oh, RemoteClient is exported/intendded for external code to use?
<cr1901> Anyways, tyvm for the help/hints
<_florent_> yes, you can even run multiple scripts/RemoteClient connected to the same LiteXServer, hardware access will automatically be shared
<cr1901> Neat :o! I know litex_server has existed in some form since... well, 2015 at least when I started contributing. But I've since forgotten how to use most of its functionality :P
<cr1901> But looks like, as w/ much of LiteX, it has gotten a lot better over the years
<cr1901> Btw, I know the gateware works because I can talk to the LEDs via UART/litex_server :P. So I've eliminated that problem
TMM_ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM_ has joined #litex
style- has joined #litex
genpaku has quit [Remote host closed the connection]
genpaku has joined #litex
Administrator_ has joined #litex
ilia__s058 has joined #litex
pbsds9 has joined #litex
oter_ has joined #litex
mlaga97_ has joined #litex
shenki_ has joined #litex
rektide_ has joined #litex
style- has quit [Ping timeout: 244 seconds]
oter has quit [Ping timeout: 244 seconds]
shenki has quit [Ping timeout: 244 seconds]
toshywoshy has quit [Ping timeout: 244 seconds]
rektide has quit [Ping timeout: 244 seconds]
negut has quit [Ping timeout: 244 seconds]
ilia__s05 has quit [Ping timeout: 244 seconds]
pbsds has quit [Ping timeout: 244 seconds]
mlaga97 has quit [Ping timeout: 244 seconds]
joseng has quit [Ping timeout: 244 seconds]
style- has joined #litex
oter_ is now known as oter
ilia__s058 is now known as ilia__s05
toshywoshy has joined #litex
pbsds9 is now known as pbsds
Administrator__ has joined #litex
joseng has joined #litex
Administrator_ has quit [Ping timeout: 268 seconds]