Saturday, 2020-07-25

*** tpb has joined #litex00:00
*** HoloIRCUser1 has joined #litex01:00
*** HoloIRCUser2 has joined #litex01:01
*** HoloIRCUser1 has quit IRC01:01
*** Degi has quit IRC01:01
*** Degi has joined #litex01:02
*** HoloIRCUser has quit IRC01:04
*** Degi has quit IRC02:08
*** HoloIRCUser2 has quit IRC02:08
*** tucanae47 has quit IRC02:08
*** somlo has quit IRC02:08
*** keesj has quit IRC02:08
*** palmer has quit IRC02:08
*** miek has quit IRC02:08
*** key2 has quit IRC02:08
*** esden has quit IRC02:08
*** Claude has quit IRC02:08
*** flammit has quit IRC02:08
*** levi has quit IRC02:08
*** _florent_ has quit IRC02:08
*** gruetzkopf has quit IRC02:08
*** spacekookie has quit IRC02:08
*** the_JinX has quit IRC02:08
*** kgugala has quit IRC02:08
*** daddesio has quit IRC02:08
*** mntmn has quit IRC02:08
*** anuejn has quit IRC02:08
*** trabucayre has quit IRC02:08
*** nrossi has quit IRC02:08
*** tnt has quit IRC02:08
*** CarlFK has quit IRC02:08
*** awordnot has quit IRC02:08
*** simeonm has quit IRC02:08
*** goran-mahovlic has quit IRC02:08
*** acathla has quit IRC02:08
*** TMM has quit IRC02:08
*** SpaceCoaster has quit IRC02:08
*** _franck_ has quit IRC02:08
*** tmbinc has quit IRC02:08
*** wizzy has quit IRC02:08
*** peepsalot has quit IRC02:08
*** proteusguy has quit IRC02:08
*** captain_morgan has quit IRC02:08
*** kbeckmann has quit IRC02:08
*** ius has quit IRC02:08
*** jaseg has quit IRC02:08
*** awygle has quit IRC02:08
*** benh has quit IRC02:08
*** mithro has quit IRC02:08
*** felix_ has quit IRC02:08
*** daveshah has quit IRC02:08
*** leons has quit IRC02:08
*** Stary has quit IRC02:08
*** lambda has quit IRC02:08
*** dkozel has quit IRC02:08
*** y2kbugger has quit IRC02:08
*** [Matt] has quit IRC02:08
*** tcal has quit IRC02:08
*** lf has quit IRC02:08
*** FFY00 has quit IRC02:08
*** _whitelogger has quit IRC02:08
*** vup has quit IRC02:08
*** RaYmAn has quit IRC02:08
*** Xesxen has quit IRC02:08
*** zyp has quit IRC02:08
*** david-sawatzke[m has quit IRC02:08
*** CarlFK[m] has quit IRC02:08
*** pdp7 has quit IRC02:08
*** ranzbak has quit IRC02:08
*** carlomaragno has quit IRC02:08
*** guan has quit IRC02:08
*** futarisIRCcloud has quit IRC02:08
*** bubble_buster has quit IRC02:08
*** sorear has quit IRC02:08
*** midnight has quit IRC02:08
*** simeon[m] has quit IRC02:08
*** sajattack[m] has quit IRC02:08
*** disasm[m] has quit IRC02:08
*** xobs has quit IRC02:08
*** rohitksingh has quit IRC02:08
*** CarlFK has joined #litex02:13
*** awordnot has joined #litex02:13
*** simeonm has joined #litex02:13
*** goran-mahovlic has joined #litex02:13
*** kgugala has joined #litex02:13
*** mntmn has joined #litex02:13
*** daddesio has joined #litex02:13
*** trabucayre has joined #litex02:13
*** anuejn has joined #litex02:13
*** tnt has joined #litex02:13
*** tucanae47 has joined #litex02:13
*** HoloIRCUser2 has joined #litex02:13
*** Degi has joined #litex02:13
*** peepsalot has joined #litex02:13
*** tcal has joined #litex02:13
*** lf has joined #litex02:13
*** FFY00 has joined #litex02:13
*** jaseg has joined #litex02:13
*** SpaceCoaster has joined #litex02:13
*** acathla has joined #litex02:13
*** TMM has joined #litex02:13
*** proteusguy has joined #litex02:13
*** zyp has joined #litex02:13
*** Stary has joined #litex02:13
*** lambda has joined #litex02:13
*** tmbinc has joined #litex02:13
*** wizzy has joined #litex02:13
*** _franck_ has joined #litex02:13
*** pdp7 has joined #litex02:13
*** awygle has joined #litex02:13
*** benh has joined #litex02:13
*** ranzbak has joined #litex02:13
*** carlomaragno has joined #litex02:13
*** guan has joined #litex02:13
*** mithro has joined #litex02:13
*** kbeckmann has joined #litex02:13
*** ius has joined #litex02:13
*** captain_morgan has joined #litex02:13
*** futarisIRCcloud has joined #litex02:13
*** daveshah has joined #litex02:13
*** felix_ has joined #litex02:13
*** dkozel has joined #litex02:13
*** [Matt] has joined #litex02:13
*** y2kbugger has joined #litex02:13
*** Xesxen has joined #litex02:13
*** RaYmAn has joined #litex02:13
*** vup has joined #litex02:13
*** bubble_buster has joined #litex02:13
*** rohitksingh has joined #litex02:13
*** sorear has joined #litex02:13
*** midnight has joined #litex02:13
*** the_JinX has joined #litex02:14
*** key2 has joined #litex02:14
*** esden has joined #litex02:14
*** Claude has joined #litex02:14
*** flammit has joined #litex02:14
*** levi has joined #litex02:14
*** _florent_ has joined #litex02:14
*** gruetzkopf has joined #litex02:14
*** spacekookie has joined #litex02:14
*** somlo has joined #litex02:14
*** keesj has joined #litex02:14
*** palmer has joined #litex02:14
*** miek has joined #litex02:14
*** somlo has quit IRC02:14
*** keesj has quit IRC02:14
*** palmer has quit IRC02:14
*** miek has quit IRC02:14
*** key2 has quit IRC02:14
*** esden has quit IRC02:14
*** Claude has quit IRC02:14
*** flammit has quit IRC02:14
*** levi has quit IRC02:14
*** _florent_ has quit IRC02:14
*** gruetzkopf has quit IRC02:14
*** spacekookie has quit IRC02:14
*** the_JinX has quit IRC02:14
*** tnt has quit IRC02:14
*** kgugala has quit IRC02:14
*** daddesio has quit IRC02:14
*** mntmn has quit IRC02:14
*** anuejn has quit IRC02:14
*** trabucayre has quit IRC02:14
*** Degi has quit IRC02:14
*** HoloIRCUser2 has quit IRC02:14
*** tucanae47 has quit IRC02:14
*** peepsalot has quit IRC02:14
*** acathla has quit IRC02:14
*** TMM has quit IRC02:14
*** SpaceCoaster has quit IRC02:14
*** _franck_ has quit IRC02:14
*** tmbinc has quit IRC02:14
*** wizzy has quit IRC02:14
*** proteusguy has quit IRC02:14
*** captain_morgan has quit IRC02:14
*** kbeckmann has quit IRC02:14
*** ius has quit IRC02:14
*** jaseg has quit IRC02:14
*** awygle has quit IRC02:14
*** benh has quit IRC02:14
*** mithro has quit IRC02:14
*** felix_ has quit IRC02:14
*** daveshah has quit IRC02:14
*** Stary has quit IRC02:14
*** lambda has quit IRC02:14
*** dkozel has quit IRC02:14
*** y2kbugger has quit IRC02:14
*** [Matt] has quit IRC02:14
*** tcal has quit IRC02:14
*** lf has quit IRC02:14
*** FFY00 has quit IRC02:14
*** vup has quit IRC02:14
*** RaYmAn has quit IRC02:14
*** Xesxen has quit IRC02:14
*** zyp has quit IRC02:14
*** pdp7 has quit IRC02:14
*** ranzbak has quit IRC02:14
*** carlomaragno has quit IRC02:14
*** guan has quit IRC02:14
*** futarisIRCcloud has quit IRC02:14
*** bubble_buster has quit IRC02:14
*** sorear has quit IRC02:14
*** midnight has quit IRC02:14
*** rohitksingh has quit IRC02:14
*** CarlFK has quit IRC02:14
*** awordnot has quit IRC02:14
*** simeonm has quit IRC02:14
*** goran-mahovlic has quit IRC02:14
*** miek has joined #litex02:19
*** palmer has joined #litex02:19
*** keesj has joined #litex02:19
*** somlo has joined #litex02:19
*** anuejn has joined #litex02:19
*** trabucayre has joined #litex02:19
*** daddesio has joined #litex02:19
*** mntmn has joined #litex02:19
*** kgugala has joined #litex02:19
*** nrossi has joined #litex02:19
*** tnt has joined #litex02:19
*** _whitelogger has joined #litex02:19
*** tucanae47 has joined #litex02:19
*** HoloIRCUser2 has joined #litex02:19
*** Degi has joined #litex02:19
*** peepsalot has joined #litex02:19
*** tcal has joined #litex02:19
*** lf has joined #litex02:19
*** FFY00 has joined #litex02:19
*** jaseg has joined #litex02:19
*** SpaceCoaster has joined #litex02:19
*** acathla has joined #litex02:19
*** TMM has joined #litex02:19
*** proteusguy has joined #litex02:19
*** zyp has joined #litex02:19
*** Stary has joined #litex02:19
*** lambda has joined #litex02:19
*** tmbinc has joined #litex02:19
*** wizzy has joined #litex02:19
*** _franck_ has joined #litex02:19
*** pdp7 has joined #litex02:19
*** awygle has joined #litex02:19
*** benh has joined #litex02:19
*** ranzbak has joined #litex02:19
*** carlomaragno has joined #litex02:19
*** guan has joined #litex02:19
*** kbeckmann has joined #litex02:19
*** ius has joined #litex02:19
*** captain_morgan has joined #litex02:19
*** daveshah has joined #litex02:19
*** felix_ has joined #litex02:19
*** dkozel has joined #litex02:19
*** [Matt] has joined #litex02:19
*** y2kbugger has joined #litex02:19
*** Xesxen has joined #litex02:19
*** RaYmAn has joined #litex02:19
*** vup has joined #litex02:19
*** bubble_buster has joined #litex02:19
*** rohitksingh has joined #litex02:19
*** sorear has joined #litex02:19
*** midnight has joined #litex02:19
*** the_JinX has joined #litex02:19
*** key2 has joined #litex02:19
*** Claude has joined #litex02:19
*** flammit has joined #litex02:19
*** levi has joined #litex02:19
*** _florent_ has joined #litex02:19
*** gruetzkopf has joined #litex02:19
*** spacekookie has joined #litex02:19
*** esden has joined #litex02:19
*** esden has quit IRC02:20
*** esden has joined #litex02:20
*** CarlFK has joined #litex02:20
*** awordnot has joined #litex02:20
*** simeonm has joined #litex02:20
*** goran-mahovlic has joined #litex02:20
*** mithro has joined #litex02:21
*** futarisIRCcloud has joined #litex02:23
*** jaseg has quit IRC02:30
*** jaseg has joined #litex02:32
*** simeon[m] has joined #litex02:44
*** xobs has joined #litex02:45
*** CarlFK[m] has joined #litex02:45
*** sajattack[m] has joined #litex02:45
*** david-sawatzke[m has joined #litex02:45
*** disasm[m] has joined #litex02:45
*** leons has joined #litex02:45
*** levi has quit IRC04:26
*** m4ssi has joined #litex05:01
awygledoes 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 #litex05:34
*** HoloIRCUser2 has quit IRC05:36
*** mibus[m] has joined #litex05:45
*** m4ssi has quit IRC06:22
*** mibus has joined #litex06:31
*** mibus has quit IRC06:35
*** _whitelogger has quit IRC07:39
*** _whitelogger has joined #litex07: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 IRC08:20
*** HoloIRCUser has joined #litex08: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 match09:01
awyglebut it does seem that pipelined mode is much more commonly used so if there is a way to make it work that would be nice09:03
*** HoloIRCUser is now known as dasdgw09: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 a09:13
_florent_closer look.09:13
awygleAll right, thank you09:17
*** kgugala_ has joined #litex09:34
tntawygle: 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
tntso you can do things like  0 1 2 3 16 17 18 19  in a single burst for instance09:37
*** kgugala has quit IRC09:38
*** kgugala_ has quit IRC09:39
*** kgugala has joined #litex09:39
*** _whitelogger has quit IRC09:45
*** kgugala_ has joined #litex09:46
*** _whitelogger has joined #litex09:47
*** kgugala has quit IRC09:48
awyglethe 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 #litex12:03
*** kgugala_ has quit IRC12:04
SpaceCoasterWhen 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.py13:09
tpbTitle: litespi/colorlight.py at ecp5_and_colorlight · derekmulcahy/litespi · GitHub (at github.com)13:09
SpaceCoasterI guess I need separate clocks for cpu/Ethernet/sdram. Is this possible and is there an example. Thanks.13:10
zypIIRC 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 block13:14
_florent_SpaceCoaster: with recent changes, it's not longer requires for the sys_clk to be >= 125MHz to use Etherbone13:14
zyp_florent_, ah, the data path width stuff is merged now?13:14
*** m4ssi has joined #litex13: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
SpaceCoasterWell 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_clk13:21
SpaceCoasterBTW I am assuming Mbps is mega BYTES per second13: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 boards13: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 bus13:23
_florent_SpaceCoaster: the real DRAM speed that you could have with a DMA is a lot higher13: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
SpaceCoasterThanks that makes sense.13:49
SpaceCoasterI noticed that the spi flash speed with LiteSPI is 1/4 of the cpu speed. Is that configurable?13:52
SpaceCoasterOr is that the same deal as for the sdram? Is it the speed seen by the CPU?13:59
*** kgugala_ has joined #litex14:14
*** kgugala has quit IRC14:16
_florent_SpaceCoaster: i would need to check, but that's also probably the speed seen by the CPU14:34
*** st-gourichon-fid has joined #litex16:29
*** m4ssi has quit IRC16: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 #litex17:38
*** kgugala_ has quit IRC17:41
SpaceCoasterDumb stuff like read/erase/write but it is useful as documentation.17:48
*** HoloIRCUser has joined #litex19:26
*** dasdgw has quit IRC19:26
*** HoloIRCUser1 has joined #litex19:27
*** HoloIRCUser has quit IRC19:27
*** HoloIRCUser has joined #litex19:37
*** HoloIRCUser1 has quit IRC19:38
*** HoloIRCUser has quit IRC19:54
*** HoloIRCUser1 has joined #litex19:54
*** HoloIRCUser1 has quit IRC20:01
*** HoloIRCUser has joined #litex20:02
*** HoloIRCUser1 has joined #litex20:05
*** HoloIRCUser has quit IRC20: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-resources20:33
tpbTitle: 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 #litex20:43
*** kgugala has quit IRC20:47
*** HoloIRCUser1 has quit IRC21:08
*** HoloIRCUser has joined #litex21:18
*** st-gourichon-fid has quit IRC22:08
*** _whitelogger has quit IRC23:00
*** _whitelogger has joined #litex23:02
*** lf has quit IRC23:34
*** lf has joined #litex23:35

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!