Monday, 2021-05-17

*** tpb has joined #litex00:00
*** pftbest has quit IRC00:08
*** Bertl is now known as Bertl_zZ01:45
*** thorns51_ has quit IRC01:48
*** shorne has joined #litex02:01
*** shorne has quit IRC03:29
*** shorne has joined #litex03:31
*** Degi_ has joined #litex03:44
*** Degi has quit IRC03:47
*** Degi_ is now known as Degi03:47
*** cr1901_modern has quit IRC04:12
*** shorne has quit IRC04:25
*** pftbest has joined #litex04:33
promach3Do anyone see anything wrong with the DDR3 initialization sequence shown in https://github.com/promach/DDR/blob/main/ddr3_memory_controller.v#L789-L987 ?05:00
*** TMM has quit IRC05:54
*** TMM has joined #litex05:54
*** kgugala_ has joined #litex06:00
*** kgugala has quit IRC06:00
*** kgugala_ has quit IRC06:00
*** kgugala has joined #litex06:01
*** Priyanshu has joined #litex06:29
*** Priyanshu has quit IRC06:38
*** pftbest has joined #litex06:47
*** pftbest_ has joined #litex07:01
*** pftbest has quit IRC07:05
*** shorne has joined #litex08:19
*** kgugala has quit IRC09:51
*** kgugala has joined #litex09:51
*** cr1901_modern has joined #litex10:22
zyp_florent_, I've got a patch series for litespi coming up; some feature additions, some performance fixes and some unrelated minor fixes -- would you like it all as one big PR, or should I submit the feature stuff and the performance stuff separately?10:28
zyprelated tickets are #46 and #45 respectively10:29
_florent_promach3: I would recommend doing a simulation of your controller with a DDR3 memory model from Micron, this can be very useful to debug your initialization issue10:49
_florent_Here is the code generating the DDR3 initialization sequence in LiteDRAM is this can be useful: https://github.com/enjoy-digital/litedram/blob/master/litedram/init.py#L119-L22610:51
zyp_florent_, side note: is there a mechanism to hook stuff into the bios firmware from outside the litex repo? it'd be nice to have stuff like liblitespi in the litespi repo instead, so it's easier to keep the software and gateware in sync10:53
_florent_zyp: Thanks, I'm not well familiar yet with the LiteSPI code, so if that's too complicated for you, small PRs for each fix/features will be easier to review/merge10:54
zypyeah, I think I just decided to submit a PR for the feature stuff now, since that's mostly done, and then I'll do another later for the performance stuff10:55
_florent_zyp: for now no, but I also want to go in this direct in the long term: https://github.com/enjoy-digital/litex/issues/75710:55
_florent_sorry it can sometimes takes a bit of time for things to move :)10:56
zypI think you were pretty quick about merging the PR I submitted yesterday :)10:56
zypdo you have any thoughts about how the software libs should hook into the bios? I'd be happy to have a look at that when I can find time10:58
_florent_Sorry I also still need to have a closer look at it, if you want have a quick look and have idea, feel free to discuss this in #75710:59
_florent_The idea is also to move the gateware integration methods to the core itself11:00
_florent_sorry I have to go11:01
zypthat sounds reasonable, means the main repo doesn't need to know about all the subprojects11:01
zypnp11:01
*** chipdsgr has quit IRC11:01
_florent_yes, this way LiteX would just do the plumbing :)11:05
*** shorne has quit IRC11:06
*** Wolf` has joined #litex11:09
Wolf`Anyone playing with Xilinx Virtex Ultrascale HBM parts?11:09
promach3<_florent_ "promach: I would recommend doing"> _florent_: however Micron simulation model does not support DLL off mode yet11:11
promach3<_florent_ "Here is the code generating the "> _florent_: How do I exactly use this python script ?  why you specifically highlight those few code segments ?11:12
*** chipdsgr has joined #litex11:12
promach3I ran `python init.py` , but no output files are created. No terminal output as well11:28
promach3or should I use https://github.com/enjoy-digital/litedram#-tests ?11:30
promach3_florent_:11:30
*** Erwann has joined #litex11:36
shoraganis using litex_boards as an installed python module support?11:41
shoragani mean something like python3 -m litex_boards.targets.lambdaconcept_ecpix5 --build11:41
shoraganit seems to work, but i see "RuntimeWarning: 'litex_boards.targets.lambdaconcept_ecpix5' found in sys.modules after import of package 'litex_boards.targets', but prior to execution of 'litex_boards.targets.lambdaconcept_ecpix5'; this may result in unpredictable behaviour"11:42
*** shorne has joined #litex12:08
*** Bertl_zZ is now known as Bertl13:06
promach3_florent_: I am not sure how to generate DDR3 initialization sequence using https://github.com/enjoy-digital/litedram/blob/master/litedram/init.py#L119-L22613:51
*** kgugala has quit IRC13:54
*** kgugala has joined #litex13:55
*** TMM has quit IRC14:10
*** TMM has joined #litex14:10
mithrozyp: Thanks for your interest in litespi!14:12
mithrozyp: I'm going to try and get someone to look at your suggestions14:12
*** Erwann has quit IRC14:36
*** Wolf` has quit IRC14:37
*** rj has quit IRC15:27
*** Yamakaja has joined #litex16:09
*** Bertl is now known as Bertl_oO16:45
*** Windoze has joined #litex17:21
*** Windoze has quit IRC18:32
*** Wolf` has joined #litex18:59
nickoepromach3: _florent_ .. a bit related to dram sim.. do you know why I hw and sim appears to differe like this? https://github.com/enjoy-digital/litedram/issues/25119:06
nickoeOMG, I was wondering why a csr storage value was 3 when I set the reset to something else... it turned out that I very early on in the software app set it to 3...19:16
nickoeSooo that is good, back to stuff working as intended and I understand _why_, at least more or less.19:17
nickoe:D19:17
zypthat's the best combination19:18
nickoezyp: I guess it is ok to take a couple of days break from it once in a while :D19:28
_florent_promach3: I was pointing to LiteDRAM DDR3 initialization just to give you a reference for the initialization sequence19:31
_florent_you don't really need to generate it, but you can just see it as pseudo code to compare with your initialization sequence19:32
*** pftbest_ has quit IRC20:57
*** pftbest has joined #litex20:59
Wolf`unrelated: The HBM2 init sequence is DAMN complex.21:18
*** pftbest has quit IRC21:35
*** pftbest has joined #litex21:36
*** pftbest has quit IRC23:54
*** pftbest has joined #litex23:57
*** lf has quit IRC23:57
*** lf has joined #litex23:58

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