Tuesday, 2021-01-12

*** tpb has joined #litex00:00
*** lf has quit IRC00:11
*** lf has joined #litex00:11
*** oter_ has quit IRC00:21
*** oter has quit IRC00:21
*** FFY00 has quit IRC03:02
*** FFY00 has joined #litex03:03
*** Degi_ has joined #litex04:14
*** Degi has quit IRC04:16
*** Degi_ is now known as Degi04:16
*** andrewb1999 has quit IRC05:00
*** awordnot has quit IRC06:03
*** awordnot has joined #litex06:04
*** Bertl_oO is now known as Bertl_zZ06:11
*** kgugala_ has joined #litex06:19
*** kgugala has quit IRC06:23
*** kgugala has joined #litex07:46
*** kgugala_ has quit IRC07:48
*** hansfbaier has joined #litex09:50
*** hansfbaier has quit IRC11:09
*** Bertl_zZ is now known as Bertl12:27
st-gourichon-fidHi! i have a strange condition where only on one specific machine, litex_simple would fail with: ModuleNotFoundError: No module named 'litex.boards'15:02
st-gourichon-fidSeveral machines on Xubuntu 20.04, only this one fails.  Even reinstalled the whole OS on a different partition.15:02
st-gourichon-fidlitex was installed using exactly the same procedure twice. The procedure installs all dependencies in a virtualenv and is repeatable.15:05
st-gourichon-fidWe also reinstalled "from scratch" (inside different directory tree, all components "git clone"d again, and a new python virtualenv) on the machine where things worked, and they still work.15:06
st-gourichon-fidHow to diagnose why one machine would "ModuleNotFoundError: No module named 'litex.boards'"?15:06
_florent_st-gourichon-fid: litex.boards no longer exists (since no longer useful with the separate litex_boards repository)15:08
_florent_st-gourichon-fid: it's possible I forgot to replace some imports. I'll double check15:08
_florent_ah, litex_simple is no longer part of LiteX (was a target). I'll see if I revert it or if we just use the one from litex_boards15:12
_florent_for now you can use: https://github.com/litex-hub/litex-boards/blob/master/litex_boards/targets/simple.py15:12
st-gourichon-fid_florent_ okay, thanks.15:12
st-gourichon-fidOkay, I take it "shouldn't have worked anyway" (or similar), yet it works on other machines installed just the same. ¯\_(ツ)_/¯15:14
st-gourichon-fidThanks _florent_ . Now to check if litex is installed from command line I just do: python3 -m litex.soc.integration.soc_core15:19
st-gourichon-fidThis works on all machines.15:19
cr1901_modern_florent_: I wanted to impl this as multiple PRs, but it became clear I should do it at once: https://github.com/enjoy-digital/litex/pull/77215:20
cr1901_modernFor now, litex_term should "just work" on Windows with these changes15:20
st-gourichon-fidNotice: in a checked-out and populated (including submodules) installation of litex, this command yields 41 matches: fgrep litex.boards -rI15:20
st-gourichon-fidExperienced again Yossy failure. YOSYS 0.9+3819 allocates LCs instead of RAM, LC consumption explodes, yosys fails.  Fixed by using a commit known to work: git checkout aafaeb66dfd839b8223059884d2741dadc9e2d9215:39
st-gourichon-fids/Yossy/Yosys/15:39
*** roboknight has joined #litex15:40
_florent_cr1901_modern: I saw your PR, thanks! I'm finishing something and will look at it16:16
roboknightI was trying to find a definitive answer to the question of how to address the wishbone bus in python.  Are the upper bits of the bus at the lower end of a python array (i.e. would self.bus.adr[4:] exclude the higher bits) or are they at the upper end of a python array (i.e. self.bus.adr[0:28] exclude the higher bits?). I thought I found an answer16:16
roboknighta while back, but I can't find the answer now.16:16
roboknightAnd is the freenode.irclog down?16:17
_florent_roboknight: self.bus.adr[:4] will take the 4 lower bits, self.bus.adr[4:] will take the uppers bits starting from bit 4.16:19
_florent_(bit 0 = first bit)16:19
roboknightThanks.  That is what I thought, and I *KNOW* I saw an example somewhere, but I just couldn't find it again.16:20
roboknightSo, to be clear, if I said something like: self.bus.adr[:-4] ... this will NOT take the lower 4 bits (i.e. I want to ignore them)...16:23
*** roboknight has quit IRC16:25
*** roboknight has joined #litex16:29
_florent_roboknight: to ignore the 4 lowers bits it's: self.bus.adr[4:]16:30
roboknightOh... so then if I wanted to ignore higher order bits it would be self.bus.adr[:4] ?  So self.bus.adr is treated as "little-endian"16:32
roboknight?16:32
_florent_to ignore the 4 MSBs, it's self.bus.adr[:-4]16:45
*** roboknight has quit IRC17:29
*** andrewb1999 has joined #litex18:12
*** peeps[zen] has joined #litex19:54
*** peepsalot has quit IRC19:56
*** peeps[zen] is now known as peepsalot20:15
*** roboknight has joined #litex20:47
*** roboknight has quit IRC20:50
*** TMM has quit IRC22:05
*** TMM has joined #litex22:05

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