*** tpb has joined #litex | 00:00 | |
*** HoloIRCUser1 has joined #litex | 01:00 | |
*** HoloIRCUser2 has joined #litex | 01:01 | |
*** HoloIRCUser1 has quit IRC | 01:01 | |
*** Degi has quit IRC | 01:01 | |
*** Degi has joined #litex | 01:02 | |
*** HoloIRCUser has quit IRC | 01:04 | |
*** Degi has quit IRC | 02:08 | |
*** HoloIRCUser2 has quit IRC | 02:08 | |
*** tucanae47 has quit IRC | 02:08 | |
*** somlo has quit IRC | 02:08 | |
*** keesj has quit IRC | 02:08 | |
*** palmer has quit IRC | 02:08 | |
*** miek has quit IRC | 02:08 | |
*** key2 has quit IRC | 02:08 | |
*** esden has quit IRC | 02:08 | |
*** Claude has quit IRC | 02:08 | |
*** flammit has quit IRC | 02:08 | |
*** levi has quit IRC | 02:08 | |
*** _florent_ has quit IRC | 02:08 | |
*** gruetzkopf has quit IRC | 02:08 | |
*** spacekookie has quit IRC | 02:08 | |
*** the_JinX has quit IRC | 02:08 | |
*** kgugala has quit IRC | 02:08 | |
*** daddesio has quit IRC | 02:08 | |
*** mntmn has quit IRC | 02:08 | |
*** anuejn has quit IRC | 02:08 | |
*** trabucayre has quit IRC | 02:08 | |
*** nrossi has quit IRC | 02:08 | |
*** tnt has quit IRC | 02:08 | |
*** CarlFK has quit IRC | 02:08 | |
*** awordnot has quit IRC | 02:08 | |
*** simeonm has quit IRC | 02:08 | |
*** goran-mahovlic has quit IRC | 02:08 | |
*** acathla has quit IRC | 02:08 | |
*** TMM has quit IRC | 02:08 | |
*** SpaceCoaster has quit IRC | 02:08 | |
*** _franck_ has quit IRC | 02:08 | |
*** tmbinc has quit IRC | 02:08 | |
*** wizzy has quit IRC | 02:08 | |
*** peepsalot has quit IRC | 02:08 | |
*** proteusguy has quit IRC | 02:08 | |
*** captain_morgan has quit IRC | 02:08 | |
*** kbeckmann has quit IRC | 02:08 | |
*** ius has quit IRC | 02:08 | |
*** jaseg has quit IRC | 02:08 | |
*** awygle has quit IRC | 02:08 | |
*** benh has quit IRC | 02:08 | |
*** mithro has quit IRC | 02:08 | |
*** felix_ has quit IRC | 02:08 | |
*** daveshah has quit IRC | 02:08 | |
*** leons has quit IRC | 02:08 | |
*** Stary has quit IRC | 02:08 | |
*** lambda has quit IRC | 02:08 | |
*** dkozel has quit IRC | 02:08 | |
*** y2kbugger has quit IRC | 02:08 | |
*** [Matt] has quit IRC | 02:08 | |
*** tcal has quit IRC | 02:08 | |
*** lf has quit IRC | 02:08 | |
*** FFY00 has quit IRC | 02:08 | |
*** _whitelogger has quit IRC | 02:08 | |
*** vup has quit IRC | 02:08 | |
*** RaYmAn has quit IRC | 02:08 | |
*** Xesxen has quit IRC | 02:08 | |
*** zyp has quit IRC | 02:08 | |
*** david-sawatzke[m has quit IRC | 02:08 | |
*** CarlFK[m] has quit IRC | 02:08 | |
*** pdp7 has quit IRC | 02:08 | |
*** ranzbak has quit IRC | 02:08 | |
*** carlomaragno has quit IRC | 02:08 | |
*** guan has quit IRC | 02:08 | |
*** futarisIRCcloud has quit IRC | 02:08 | |
*** bubble_buster has quit IRC | 02:08 | |
*** sorear has quit IRC | 02:08 | |
*** midnight has quit IRC | 02:08 | |
*** simeon[m] has quit IRC | 02:08 | |
*** sajattack[m] has quit IRC | 02:08 | |
*** disasm[m] has quit IRC | 02:08 | |
*** xobs has quit IRC | 02:08 | |
*** rohitksingh has quit IRC | 02:08 | |
*** CarlFK has joined #litex | 02:13 | |
*** awordnot has joined #litex | 02:13 | |
*** simeonm has joined #litex | 02:13 | |
*** goran-mahovlic has joined #litex | 02:13 | |
*** kgugala has joined #litex | 02:13 | |
*** mntmn has joined #litex | 02:13 | |
*** daddesio has joined #litex | 02:13 | |
*** trabucayre has joined #litex | 02:13 | |
*** anuejn has joined #litex | 02:13 | |
*** tnt has joined #litex | 02:13 | |
*** tucanae47 has joined #litex | 02:13 | |
*** HoloIRCUser2 has joined #litex | 02:13 | |
*** Degi has joined #litex | 02:13 | |
*** peepsalot has joined #litex | 02:13 | |
*** tcal has joined #litex | 02:13 | |
*** lf has joined #litex | 02:13 | |
*** FFY00 has joined #litex | 02:13 | |
*** jaseg has joined #litex | 02:13 | |
*** SpaceCoaster has joined #litex | 02:13 | |
*** acathla has joined #litex | 02:13 | |
*** TMM has joined #litex | 02:13 | |
*** proteusguy has joined #litex | 02:13 | |
*** zyp has joined #litex | 02:13 | |
*** Stary has joined #litex | 02:13 | |
*** lambda has joined #litex | 02:13 | |
*** tmbinc has joined #litex | 02:13 | |
*** wizzy has joined #litex | 02:13 | |
*** _franck_ has joined #litex | 02:13 | |
*** pdp7 has joined #litex | 02:13 | |
*** awygle has joined #litex | 02:13 | |
*** benh has joined #litex | 02:13 | |
*** ranzbak has joined #litex | 02:13 | |
*** carlomaragno has joined #litex | 02:13 | |
*** guan has joined #litex | 02:13 | |
*** mithro has joined #litex | 02:13 | |
*** kbeckmann has joined #litex | 02:13 | |
*** ius has joined #litex | 02:13 | |
*** captain_morgan has joined #litex | 02:13 | |
*** futarisIRCcloud has joined #litex | 02:13 | |
*** daveshah has joined #litex | 02:13 | |
*** felix_ has joined #litex | 02:13 | |
*** dkozel has joined #litex | 02:13 | |
*** [Matt] has joined #litex | 02:13 | |
*** y2kbugger has joined #litex | 02:13 | |
*** Xesxen has joined #litex | 02:13 | |
*** RaYmAn has joined #litex | 02:13 | |
*** vup has joined #litex | 02:13 | |
*** bubble_buster has joined #litex | 02:13 | |
*** rohitksingh has joined #litex | 02:13 | |
*** sorear has joined #litex | 02:13 | |
*** midnight has joined #litex | 02:13 | |
*** the_JinX has joined #litex | 02:14 | |
*** key2 has joined #litex | 02:14 | |
*** esden has joined #litex | 02:14 | |
*** Claude has joined #litex | 02:14 | |
*** flammit has joined #litex | 02:14 | |
*** levi has joined #litex | 02:14 | |
*** _florent_ has joined #litex | 02:14 | |
*** gruetzkopf has joined #litex | 02:14 | |
*** spacekookie has joined #litex | 02:14 | |
*** somlo has joined #litex | 02:14 | |
*** keesj has joined #litex | 02:14 | |
*** palmer has joined #litex | 02:14 | |
*** miek has joined #litex | 02:14 | |
*** somlo has quit IRC | 02:14 | |
*** keesj has quit IRC | 02:14 | |
*** palmer has quit IRC | 02:14 | |
*** miek has quit IRC | 02:14 | |
*** key2 has quit IRC | 02:14 | |
*** esden has quit IRC | 02:14 | |
*** Claude has quit IRC | 02:14 | |
*** flammit has quit IRC | 02:14 | |
*** levi has quit IRC | 02:14 | |
*** _florent_ has quit IRC | 02:14 | |
*** gruetzkopf has quit IRC | 02:14 | |
*** spacekookie has quit IRC | 02:14 | |
*** the_JinX has quit IRC | 02:14 | |
*** tnt has quit IRC | 02:14 | |
*** kgugala has quit IRC | 02:14 | |
*** daddesio has quit IRC | 02:14 | |
*** mntmn has quit IRC | 02:14 | |
*** anuejn has quit IRC | 02:14 | |
*** trabucayre has quit IRC | 02:14 | |
*** Degi has quit IRC | 02:14 | |
*** HoloIRCUser2 has quit IRC | 02:14 | |
*** tucanae47 has quit IRC | 02:14 | |
*** peepsalot has quit IRC | 02:14 | |
*** acathla has quit IRC | 02:14 | |
*** TMM has quit IRC | 02:14 | |
*** SpaceCoaster has quit IRC | 02:14 | |
*** _franck_ has quit IRC | 02:14 | |
*** tmbinc has quit IRC | 02:14 | |
*** wizzy has quit IRC | 02:14 | |
*** proteusguy has quit IRC | 02:14 | |
*** captain_morgan has quit IRC | 02:14 | |
*** kbeckmann has quit IRC | 02:14 | |
*** ius has quit IRC | 02:14 | |
*** jaseg has quit IRC | 02:14 | |
*** awygle has quit IRC | 02:14 | |
*** benh has quit IRC | 02:14 | |
*** mithro has quit IRC | 02:14 | |
*** felix_ has quit IRC | 02:14 | |
*** daveshah has quit IRC | 02:14 | |
*** Stary has quit IRC | 02:14 | |
*** lambda has quit IRC | 02:14 | |
*** dkozel has quit IRC | 02:14 | |
*** y2kbugger has quit IRC | 02:14 | |
*** [Matt] has quit IRC | 02:14 | |
*** tcal has quit IRC | 02:14 | |
*** lf has quit IRC | 02:14 | |
*** FFY00 has quit IRC | 02:14 | |
*** vup has quit IRC | 02:14 | |
*** RaYmAn has quit IRC | 02:14 | |
*** Xesxen has quit IRC | 02:14 | |
*** zyp has quit IRC | 02:14 | |
*** pdp7 has quit IRC | 02:14 | |
*** ranzbak has quit IRC | 02:14 | |
*** carlomaragno has quit IRC | 02:14 | |
*** guan has quit IRC | 02:14 | |
*** futarisIRCcloud has quit IRC | 02:14 | |
*** bubble_buster has quit IRC | 02:14 | |
*** sorear has quit IRC | 02:14 | |
*** midnight has quit IRC | 02:14 | |
*** rohitksingh has quit IRC | 02:14 | |
*** CarlFK has quit IRC | 02:14 | |
*** awordnot has quit IRC | 02:14 | |
*** simeonm has quit IRC | 02:14 | |
*** goran-mahovlic has quit IRC | 02:14 | |
*** miek has joined #litex | 02:19 | |
*** palmer has joined #litex | 02:19 | |
*** keesj has joined #litex | 02:19 | |
*** somlo has joined #litex | 02:19 | |
*** anuejn has joined #litex | 02:19 | |
*** trabucayre has joined #litex | 02:19 | |
*** daddesio has joined #litex | 02:19 | |
*** mntmn has joined #litex | 02:19 | |
*** kgugala has joined #litex | 02:19 | |
*** nrossi has joined #litex | 02:19 | |
*** tnt has joined #litex | 02:19 | |
*** _whitelogger has joined #litex | 02:19 | |
*** tucanae47 has joined #litex | 02:19 | |
*** HoloIRCUser2 has joined #litex | 02:19 | |
*** Degi has joined #litex | 02:19 | |
*** peepsalot has joined #litex | 02:19 | |
*** tcal has joined #litex | 02:19 | |
*** lf has joined #litex | 02:19 | |
*** FFY00 has joined #litex | 02:19 | |
*** jaseg has joined #litex | 02:19 | |
*** SpaceCoaster has joined #litex | 02:19 | |
*** acathla has joined #litex | 02:19 | |
*** TMM has joined #litex | 02:19 | |
*** proteusguy has joined #litex | 02:19 | |
*** zyp has joined #litex | 02:19 | |
*** Stary has joined #litex | 02:19 | |
*** lambda has joined #litex | 02:19 | |
*** tmbinc has joined #litex | 02:19 | |
*** wizzy has joined #litex | 02:19 | |
*** _franck_ has joined #litex | 02:19 | |
*** pdp7 has joined #litex | 02:19 | |
*** awygle has joined #litex | 02:19 | |
*** benh has joined #litex | 02:19 | |
*** ranzbak has joined #litex | 02:19 | |
*** carlomaragno has joined #litex | 02:19 | |
*** guan has joined #litex | 02:19 | |
*** kbeckmann has joined #litex | 02:19 | |
*** ius has joined #litex | 02:19 | |
*** captain_morgan has joined #litex | 02:19 | |
*** daveshah has joined #litex | 02:19 | |
*** felix_ has joined #litex | 02:19 | |
*** dkozel has joined #litex | 02:19 | |
*** [Matt] has joined #litex | 02:19 | |
*** y2kbugger has joined #litex | 02:19 | |
*** Xesxen has joined #litex | 02:19 | |
*** RaYmAn has joined #litex | 02:19 | |
*** vup has joined #litex | 02:19 | |
*** bubble_buster has joined #litex | 02:19 | |
*** rohitksingh has joined #litex | 02:19 | |
*** sorear has joined #litex | 02:19 | |
*** midnight has joined #litex | 02:19 | |
*** the_JinX has joined #litex | 02:19 | |
*** key2 has joined #litex | 02:19 | |
*** Claude has joined #litex | 02:19 | |
*** flammit has joined #litex | 02:19 | |
*** levi has joined #litex | 02:19 | |
*** _florent_ has joined #litex | 02:19 | |
*** gruetzkopf has joined #litex | 02:19 | |
*** spacekookie has joined #litex | 02:19 | |
*** esden has joined #litex | 02:19 | |
*** esden has quit IRC | 02:20 | |
*** esden has joined #litex | 02:20 | |
*** CarlFK has joined #litex | 02:20 | |
*** awordnot has joined #litex | 02:20 | |
*** simeonm has joined #litex | 02:20 | |
*** goran-mahovlic has joined #litex | 02:20 | |
*** mithro has joined #litex | 02:21 | |
*** futarisIRCcloud has joined #litex | 02:23 | |
*** jaseg has quit IRC | 02:30 | |
*** jaseg has joined #litex | 02:32 | |
*** simeon[m] has joined #litex | 02:44 | |
*** xobs has joined #litex | 02:45 | |
*** CarlFK[m] has joined #litex | 02:45 | |
*** sajattack[m] has joined #litex | 02:45 | |
*** david-sawatzke[m has joined #litex | 02:45 | |
*** disasm[m] has joined #litex | 02:45 | |
*** leons has joined #litex | 02:45 | |
*** levi has quit IRC | 04:26 | |
*** m4ssi has joined #litex | 05:01 | |
awygle | does LiteDRAM with the Wishbone frontend use the pipelined mode, or the cti/bte registered mode, or the "classic" mode? or does it care? | 05:33 |
---|---|---|
*** HoloIRCUser has joined #litex | 05:34 | |
*** HoloIRCUser2 has quit IRC | 05:36 | |
*** mibus[m] has joined #litex | 05:45 | |
*** m4ssi has quit IRC | 06:22 | |
*** mibus has joined #litex | 06:31 | |
*** mibus has quit IRC | 06:35 | |
*** _whitelogger has quit IRC | 07:39 | |
*** _whitelogger has joined #litex | 07:41 | |
_florent_ | awygle: currently it's using the classic mode (since it was not a bottleneck with the CPUs supported initially and since we are using the native ports when high throughput is required for DMAs), but we are planning to support pipelined mode in the near future since there are a few cases were it would be useful and would simplify things. | 08:18 |
*** HoloIRCUser has quit IRC | 08:20 | |
*** HoloIRCUser has joined #litex | 08:20 | |
awygle | _florent_: do you know how you will use the pipelined mode with the inherently bursty DRAM? it seemed to me that cti/bte would be a better match | 09:01 |
awygle | but it does seem that pipelined mode is much more commonly used so if there is a way to make it work that would be nice | 09:03 |
*** HoloIRCUser is now known as dasdgw | 09:03 | |
_florent_ | LiteDRAM's native interfaces already support bursts (the native interface will aggregate accesses to the DRAM when possible), so supporting Wishbone pipelined will mostly consist or revisiting the Wishbone frontend that convert Wishbone to LiteDRAM's native interface. I'm not well aware of the Wishbone specification regarding bursts, but we have a current need for it with VexRiscv SMP DMA interface, so will have a | 09:13 |
_florent_ | closer look. | 09:13 |
awygle | All right, thank you | 09:17 |
*** kgugala_ has joined #litex | 09:34 | |
tnt | awygle: having distinct address can actually be nice fro DRAM because despite burts, you can still do random access within columns as part of the same burst. | 09:36 |
tnt | so you can do things like 0 1 2 3 16 17 18 19 in a single burst for instance | 09:37 |
*** kgugala has quit IRC | 09:38 | |
*** kgugala_ has quit IRC | 09:39 | |
*** kgugala has joined #litex | 09:39 | |
*** _whitelogger has quit IRC | 09:45 | |
*** kgugala_ has joined #litex | 09:46 | |
*** _whitelogger has joined #litex | 09:47 | |
*** kgugala has quit IRC | 09:48 | |
awygle | the problem is there's no way of knowing when the "burst" is over with pipelined wishbone. so you either must require all transactions be a full burst or not support bursts at all. unless I misunderstand the spec. | 10:08 |
*** kgugala has joined #litex | 12:03 | |
*** kgugala_ has quit IRC | 12:04 | |
SpaceCoaster | When I use etherbone I set sys_clk_freq to 125e6 but then my sdram doesn’t work :-) The code is https://github.com/derekmulcahy/litespi/blob/ecp5_and_colorlight/examples/colorlight.py | 13:09 |
tpb | Title: litespi/colorlight.py at ecp5_and_colorlight · derekmulcahy/litespi · GitHub (at github.com) | 13:09 |
SpaceCoaster | I guess I need separate clocks for cpu/Ethernet/sdram. Is this possible and is there an example. Thanks. | 13:10 |
zyp | IIRC the sys clock and ethernet phy clocks are already separate, I believe the sys clock just needs to be fast enough to keep up with the phy block | 13:14 |
_florent_ | SpaceCoaster: with recent changes, it's not longer requires for the sys_clk to be >= 125MHz to use Etherbone | 13:14 |
zyp | _florent_, ah, the data path width stuff is merged now? | 13:14 |
*** m4ssi has joined #litex | 13:16 | |
_florent_ | zyp: not yet, the mac/ip/udp layers will still work at 125MHz but Etherbone that is already using a 32-bit data path can run with a lower clock (should work down to 31.25MHz) | 13:18 |
SpaceCoaster | Well that worked! Is there a way to tweak the sdram clock this board has 200 MHz sdram chips and I was wondering if 139 Mbps writes and 115 Mbps reads is the limit. | 13:19 |
_florent_ | SpaceCoaster: Ah great! | 13:20 |
_florent_ | SpaceCoaster: we indeed currently working on a 1:2 PHY that will allow dram_clk = 2xsys_clk | 13:21 |
SpaceCoaster | BTW I am assuming Mbps is mega BYTES per second | 13:21 |
_florent_ | SpaceCoaster: this has already been validated on some boards (Minispartan6 with 80MHz sys_clk/160MHz sdram_clk, DE10Nano with 50/100MHz), but we need to do more testing and also validate this on ECP5 boards | 13:22 |
_florent_ | SpaceCoaster: no, this is bits per second, this is not really the DRAM speed, but the speed seen by the CPU, which is currently limited by the softcore/wishbone bus | 13:23 |
_florent_ | SpaceCoaster: the real DRAM speed that you could have with a DMA is a lot higher | 13:24 |
_florent_ | SpaceCoaster: basically for a SDRAM: number of data bits * freq * 80-90% efficiency if you use simple access patterns (incrementing address). | 13:26 |
SpaceCoaster | Thanks that makes sense. | 13:49 |
SpaceCoaster | I noticed that the spi flash speed with LiteSPI is 1/4 of the cpu speed. Is that configurable? | 13:52 |
SpaceCoaster | Or is that the same deal as for the sdram? Is it the speed seen by the CPU? | 13:59 |
*** kgugala_ has joined #litex | 14:14 | |
*** kgugala has quit IRC | 14:16 | |
_florent_ | SpaceCoaster: i would need to check, but that's also probably the speed seen by the CPU | 14:34 |
*** st-gourichon-fid has joined #litex | 16:29 | |
*** m4ssi has quit IRC | 16:35 | |
SpaceCoaster | _florent_: I have a firmware library for accessing the flash and a RemoteClient app for doing the same. Does the LiteX ecosystem have a place for peripheral libraries and examples? | 17:34 |
*** kgugala has joined #litex | 17:38 | |
*** kgugala_ has quit IRC | 17:41 | |
SpaceCoaster | Dumb stuff like read/erase/write but it is useful as documentation. | 17:48 |
*** HoloIRCUser has joined #litex | 19:26 | |
*** dasdgw has quit IRC | 19:26 | |
*** HoloIRCUser1 has joined #litex | 19:27 | |
*** HoloIRCUser has quit IRC | 19:27 | |
*** HoloIRCUser has joined #litex | 19:37 | |
*** HoloIRCUser1 has quit IRC | 19:38 | |
*** HoloIRCUser has quit IRC | 19:54 | |
*** HoloIRCUser1 has joined #litex | 19:54 | |
*** HoloIRCUser1 has quit IRC | 20:01 | |
*** HoloIRCUser has joined #litex | 20:02 | |
*** HoloIRCUser1 has joined #litex | 20:05 | |
*** HoloIRCUser has quit IRC | 20:05 | |
_florent_ | SpaceCoaster: nice, that would be useful. In a first time if you host it somewhere, we could add a link to it in https://github.com/enjoy-digital/litex/wiki/Tutorials-Resources#useful-resources | 20:33 |
tpb | Title: Tutorials Resources · enjoy-digital/litex Wiki · GitHub (at github.com) | 20:33 |
_florent_ | SpaceCoaster: and later it could make sense indeed to have a place for these kind if examples, the main issue is to maintain them :) | 20:34 |
*** kgugala_ has joined #litex | 20:43 | |
*** kgugala has quit IRC | 20:47 | |
*** HoloIRCUser1 has quit IRC | 21:08 | |
*** HoloIRCUser has joined #litex | 21:18 | |
*** st-gourichon-fid has quit IRC | 22:08 | |
*** _whitelogger has quit IRC | 23:00 | |
*** _whitelogger has joined #litex | 23:02 | |
*** lf has quit IRC | 23:34 | |
*** lf has joined #litex | 23:35 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!