Tuesday, 2020-02-18

*** tpb has joined #litex00:00
*** CarlFK has quit IRC00:54
somlo_florent_: I get these values (in CSRBank init): paging: 2048; paging//4: 512; bus.alignment: 64; aligned_paging:25602:26
somloso aligned_paging is half what it should have been if bus.alignment is 64 and not 32 :)02:26
*** CarlFK has joined #litex04:37
*** rohitksingh has joined #litex04:48
_florent_somlo: sorry for that, this is fixed, aligned_paging was indeed not computed correctly08:16
_florent_somlo: i will probably run some configurations with litex_sim in Travis-CI to catch this more easily08:17
*** m4ssi has joined #litex08:56
*** rohitksingh has quit IRC09:00
somlo_florent_: thanks, I'll give it another spin when I get into the office in an hour or so :)11:43
_florent_somlo: ok, FYI i reproduced your issue with litex_sim --cpu-type=rocket11:44
acathlawhat's the difference between litex/litex/boards/platforms (litex repository) and litex-board/plateforms (litex-boards) ? Some files are identical.14:47
acathla_florent_?14:51
*** rohitksingh has joined #litex15:44
*** rohitksingh has quit IRC15:45
*** rohitksingh has joined #litex15:49
somloacathla: afaik, litex-boards is a super-set of litex/litex/boards15:51
somloit *used* to have things split into "official", "community", and "partner" to differentiate the levels of support for each category, and "official" was the same set as what's currently in litex/litex/boards15:52
somlobut then _florent_ removed the official/community/partner distinction and now litex-boards is just "everything in upstream LiteX plus a bunch more"15:53
*** rohitksingh has quit IRC16:44
*** rohitksingh has joined #litex16:46
*** rohitksingh has quit IRC16:51
*** m4ssi has quit IRC17:02
*** rohitksingh has joined #litex17:08
_florent_acathla: litex-boards is indeed a super-set of the supported ones in LiteX. You could see the one in LiteX as the ones used for regression testing, we'll see in the future of we keep both or only litex-boards17:09
acathla_florent_, ok17:09
acathla_florent_, so if I want to add support for a new board, the best place is in litex-boards?17:10
_florent_there was indeed a distinction in litex-boards, for level of support, but this was introducing more complexity and all platforms were maintained similarly, so i removed the distinction for simplicity17:13
_florent_acathla: yes, litex-boards is the right place for new boards17:14
somlo_florent_: I noticed the litesdcard nexys4ddr example uses S7PLL, but the litex builder uses S7MMCM17:15
somlowondering if that's why I'm getting timing issues when trying to add litesdcard to my litex EthernetSoC17:16
somlobuilding the nexys4ddr litesdcard example works fine (no timing issues like when trying to add it to EthernetSoC in "upstream" litex)17:19
*** ambro718 has joined #litex17:57
*** rohitksingh has quit IRC18:36
*** rohitksingh has joined #litex18:53
_florent_somlo: sorry i haven't been able to look at the nexys4ddr design yet19:06
_florent_you can maybe try to switch between S7MMCM and S7PLL19:07
*** ambro718 has quit IRC19:21
somlo_florent_: I did, the litesdcard example works with both, while the modified EthernetSoC doesn't like either :) I'm studying the clock situation (perhaps when adding litesdcard to "upstream" EthernetSoC we should generate its clock signal there and drop litesdcard.clocker)19:36
*** ambro718 has joined #litex19:36
somloSo if/when you have a chance to look and put me out of my misery, that's fine with me... I'll learn something either way (by digging around blindly until things start making sense, or by studying your patch that just fixes stuff) :)19:38
*** m4ssi has joined #litex19:42
*** rohitksingh has quit IRC19:59
*** m4ssi has quit IRC20:07
*** m4ssi has joined #litex20:11
*** CarlFK has quit IRC21:25
*** m4ssi has quit IRC21:43
somlo_florent_: so far, I believe that when I try to glue litesdcard into litex-proper's EthernetSoC, the litesdcard clocker module grabs the wrong ClockSignal() here: https://github.com/enjoy-digital/litesdcard/blob/master/litesdcard/clocker.py#L12521:50
tpbTitle: litesdcard/clocker.py at master · enjoy-digital/litesdcard · GitHub (at github.com)21:50
somlosince EthernetSoC has a large number of clock domains, I think I end up getting something other than "clk100" (vivado complains that because CLKIN1_PERIOD = 33.33333, the output would be 192MHz which is way below the minimum 600MHz required by speedgrade -1)21:52
somlowhereas when built as part of the litesdcard/examples/nexys4ddr.py, ClockSignal() is the one-and-only "clk100", and things work fine21:52
*** ambro718 has quit IRC22:13

Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!