*** tpb has joined #litex | 00:00 | |
*** CarlFK has quit IRC | 00:28 | |
*** _whitelogger has quit IRC | 01:21 | |
*** _whitelogger has joined #litex | 01:24 | |
*** CarlFK has joined #litex | 05:52 | |
*** CarlFK has quit IRC | 08:46 | |
*** CarlFK has joined #litex | 09:03 | |
*** CarlFK has quit IRC | 09:09 | |
*** CarlFK has joined #litex | 09:35 | |
*** CarlFK has quit IRC | 09:40 | |
*** CarlFK has joined #litex | 09:48 | |
*** CarlFK has quit IRC | 09:54 | |
*** CarlFK has joined #litex | 10:13 | |
*** CarlFK has quit IRC | 10:27 | |
*** CarlFK has joined #litex | 10:40 | |
*** CarlFK has quit IRC | 10:51 | |
*** CarlFK has joined #litex | 10:59 | |
*** CarlFK has quit IRC | 11:03 | |
_florent_ | kbeckmann: your ideas are interesting could be nice contributions! The idea with the bios is to keep it simple and flexible, some of the improvements ideas: add sd card boot support, improve oses booting (Linux, Zephyr, micropython, etc...), have the same features for all the suppported CPU, etc... | 11:04 |
---|---|---|
_florent_ | kbeckmann: so being able to re-program the flash directly from the bios would definitely be useful for various use cases (being able to reflash software or the bistream with it without using jtag cable), and should not add too much complexity since we already have the flash support | 11:07 |
*** CarlFK has joined #litex | 11:18 | |
kbeckmann | _florent_: cool then I'll keep that in mind and clean up my patches and submit a few PRs in the coming weeks or so. | 11:46 |
*** CarlFK has quit IRC | 13:20 | |
*** CarlFK has joined #litex | 13:20 | |
*** CarlFK has quit IRC | 14:56 | |
*** somlo has quit IRC | 14:57 | |
*** somlo has joined #litex | 15:12 | |
*** lolsborn has quit IRC | 15:58 | |
*** CarlFK has joined #litex | 16:33 | |
*** CarlFK has quit IRC | 16:48 | |
*** CarlFK has joined #litex | 17:00 | |
*** ironsteel has joined #litex | 18:39 | |
*** ironsteel has quit IRC | 19:03 | |
somlo | _florent_: I'm wondering what the difference is between LiteDRAMWishbone2AXI (https://github.com/enjoy-digital/litedram/blob/master/litedram/frontend/wishbone.py#L55 introduced in litedram commit ca82ac18) on one hand, and the AXI2Wishbone converter in LiteX proper (https://github.com/enjoy-digital/litex/blob/master/litex/soc/interconnect/axi.py#L333) | 20:21 |
tpb | Title: litedram/wishbone.py at master · enjoy-digital/litedram · GitHub (at github.com) | 20:21 |
somlo | are they doing the same general type of thing? The former is not in use anywhere right now that I can find, is it dead code, or were you planning on using it for something specific at some point in the future? | 20:22 |
_florent_ | somlo: the direction are different, one is Wishbone --> AXI, the other AXI --> Wishbone, i'm using Wishbone2AXI on another project, but this should probably be integrated in LiteX directly | 20:26 |
somlo | oh, so the one in LiteDRAM is for when wishbone is the master port, and axi the slave | 20:29 |
somlo | or no, wait, that's *my* scenario, I have axi master -> wishbone master, and litedram has the slave port :) | 20:30 |
somlo | so I think what I *really* need is a native AXI data_width converter, same as what wishbone.Converter() does, except natively for AXI | 20:34 |
scanakci | somlo: I have a question. https://pastebin.com/8bWCnWR5. Here, have CSRs(including DRAM_init), bootrom as wb slaves. In core.py, there are "rom" : 0x10000000, "sram" : 0x11000000, "csr" : 0x12000000,"ethmac" : 0x30000000 | 21:43 |
scanakci | I guess bootrom resides at "rom" address, and the first code that cpu executes. Next, bios is executed, which resides in sram. Is this correct? Also, what does DRAM_init refer to in the figure? | 21:45 |
somlo | IIRC, the bios is in bootrom, located at the "rom" address. It's treated as "read-only", which is why the stack is set to the read/write-able sram | 21:58 |
somlo | dram init is the MMIO register (CSR in the LiteX vernacular) used by the bios to initialize the LiteDRAM controller, before its axi or wishbone datapath can be used to send/receive data from the actual RAM | 21:59 |
somlo | *registerS (plural, there are probably several of them) | 22:00 |
scanakci | I see. Thanks, this clears my confusion. I was a bit confused since you mentioned that bios is in SRAM. "somlo: I think the bios is always in SRAM, whether simulated or part of an fpga bitstream image" | 22:21 |
somlo | well, in that context I *meant* RAM that's on the FPGA (as opposed to DRAM via liteDRAM, or some other off-chip memory) :) | 23:42 |
somlo | Litex uses on-FPGA memory for the "rom" which it *could* write over, but chooses not to, and the "sram" which is the same kind of memory, but designed to be writeable as well | 23:43 |
somlo | scanakci: ^^ | 23:44 |
scanakci | somlo: thanks, it is more clear now :) | 23:48 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!