Saturday, 2019-01-19

*** tpb has joined #timvideos00:00
tpbTitle: Xilinx ISE · timvideos/litex-buildenv Wiki · GitHub (at
mithropavelow: The setup script should probably check for that...00:06
mithropavelow: The script already can tell the difference between Vivado and ISE here ->
tpbTitle: litex-buildenv/ at master · timvideos/litex-buildenv · GitHub (at
* tumbleweed told pavelow that he doesn't need any xilinx stuff, if he just uses download-prebuilt00:08
*** TheAssassin has quit IRC00:08
tumbleweedmithro: do you have some spare cycles?00:10
tumbleweedhdmi2usbd and unbind methods00:11
mithrotumbleweed: only some types of cycles....00:11
mithroDo you mean modeswitch?00:12
tumbleweedI mean hdmi2usbd, and (separately) unbind methods in modeswitch00:13
*** TheAssassin has joined #timvideos00:13
tumbleweedhdmi2usbd doesn't seem to work with current opsis. This is the kin dof thing I was talking about when I asked about maintained00:21
* tumbleweed moves on to tally lights00:23
tpbTitle: GitHub - timvideos/HDMI2USB-litex-firmware: A version of the HDMI2USB firmware based around LiteX tools produced by @Enjoy-Digital (based on misoc+migen created by @M-Labs) (at
mithrotumbleweed: unbind stuff ->
tpbTitle: HDMI2USB-mode-switch/99-hdmi2usb-permissions.rules at master · timvideos/HDMI2USB-mode-switch · GitHub (at
mithroewen: Thinking of going fo a walk to get lunch...00:39
ewenmithro: Happy to go for a walk :-)00:40
tpbTitle: migen/ at e6ff283a467dc0657019dedadc5b06fa7130b744 · m-labs/migen · GitHub (at
tumbleweedmithro: sooo we have that00:43
* tumbleweed investigates why they don't do what we need00:44
CarlFKtumbleweed: gst-launch-1.0 v4l2src device=/dev/video0 ! jpegdec ! fakesink01:14
mithroewen: Ran 19 tests in 559.027s01:15
ewenmithro: That's around 10 minutes?!01:51
ewenmithro: I think is where it's walking back to find "not good" names.01:52
tpbTitle: migen/ at e6ff283a467dc0657019dedadc5b06fa7130b744 · m-labs/migen · GitHub (at
ewenSeems to assume "derived from us" is an indication of "skip this one".01:52
mithroewen: But they all passed!01:53
xobsmithro: he mentioned to me that he got it working!01:58
mithroxobs: He did the same 12mhz clock domain thing01:58
xobsas you can see, 19 MHz doesn't meet timing at all, and is kinda like how NeTV1 could do 1080p rock-solid on about 40% of the boards we shipped.01:58
ewenmithro: All passed is indeed great progress.  Well done!01:59
ewenmithro: I believe I know the root cause of the FSM signal name issue now:
tpbTitle: Fix the resetinserter / clockdomainrenamer names in vcd output · Issue #18 · mithro/valentyusb · GitHub (at
mithroewen: Yeah02:00
ewenJust need to figure out how to actually fix it.  (As I'd guessed the decorators are *not* being skipped, due to the class hierachy of them / the skipping code).02:00
xobsmithro: though there is a lot of interesting stuff to learn from in there.02:00
mithroxobs: He hasn't updated the pull request info02:01
mithroxobs: But see the latest commits - @osresearch - Tomu: use 12 MHz clock for USB endpoint02:01
mithroxobs: Clock crossing success - endpoint runs at 12 Mhz02:02
xobsoh, that's really cool!02:05
xobsGoing to flash Hacker Boards, then?02:06
mithroxobs: Haven't thought about it yet02:06
ewenmithro: Looks like maybe that bit of the tracer is only being used for naming the *clocks*, not the Signals.  At least based on trying to trace it.  (And the clocks all have overrides.)02:34
ewen(or maybe migen has some cache of things I don't know about?)02:36
cr1901_modernmithro: Is Trammel also working on Tomu USB?02:38
mithrocr1901_modern: Apparently02:38
mithroewen: Hrm?02:38
ewenmithro: Best guess is that it's implicitly done by this bit of code tracer.trace_back:
tpbTitle: migen/ at e6ff283a467dc0657019dedadc5b06fa7130b744 · m-labs/migen · GitHub (at
ewen(Rather than get_obj_var_name() which I was assuming before.)02:40
mithroewen: Maybe ask in #m-labs ?02:40
CarlFKmithro: hdmi2usb jpeg error: last good version: v0.0.4-399-g33b53ba   next version is v0.0.4-404-g57fb82102:42
mithroCarlFK: Great! that is useful info02:42
ewenmithro: Looks like maybe this is the relevant line: frame = inspect.currentframe().f_back.f_back.02:42
ewenWhich obviously assumes there's exactly two levels to go back.  And a decorator will add another level...02:43
mithroCarlFK: can you log a bug?02:43
mithroewen: Can you just skip things which inherit from the decorator class or something?02:43
ewenmithro: Yes, that's my plan.  I think I'll need to create a flagname SuperClass to be able to detect that.02:48
tpbTitle: Networking · timvideos/litex-buildenv Wiki · GitHub (at
mithroAt a hackfest previously, we get *very* close to making DHCP work on the Opsis03:31
*** Kripton has quit IRC03:45
*** Kripton has joined #timvideos03:46
ewenmithro: decorator skipping kludge looks plausible on my machine, although I'm not 100% sure the resulting name is the best yet (get_fragment -- does that make sense?).03:57
ewenmithro: has a bunch of details on what I'm getting / how I've kludged it.03:57
tpbTitle: Fix the resetinserter / clockdomainrenamer names in vcd output · Issue #18 · mithro/valentyusb · GitHub (at
ewen(I'm not really happy with how it's done -- it's definitely a kludge -- but if the results are useful maybe we find a way to do this?)03:57
mithroewen: functools.wraps ?03:59
tpbTitle: functools — Higher-order functions and operations on callable objects Python 3.7.2 documentation (at
ewenmithro: Isn't that for *defining* a decorator?  Here we want to *detect* that a class in the call stack *is* a decorator (and thus that we do not care about its name, we care about something else)04:10
ewen(I'm also not sure whether we want to ignore *all* decorators.  Or just these certain magic ones that insert extra Signals...)04:11
mithroewen: Well, I was wondering if it did something to the stack to was detectable in some way04:11
ewenLooks like if they *are* using functools.wraps *and* we assume Python 3.2+ there's an attribute we can look for: "New in version 3.2: Automatic addition of the __wrapped__ attribute."04:17
ewen(But I suspect migen is still trying to be compatible with Python 2.7...)04:18
ewenOh, and it appears get_fragment name is coming from within the wrapper :-(04:20
tpbTitle: migen/ at 57c44674c2a6c38bd01804e69db61a9efd287524 · m-labs/migen · GitHub (at
ewenmithro: So it appears I might need to move the "skip this stack frame" earlier.04:20
ewenmithro: Revised version, which gets more sensible results for the names:
tpbTitle: Fix the resetinserter / clockdomainrenamer names in vcd output · Issue #18 · mithro/valentyusb · GitHub (at
*** springermac has quit IRC04:57
*** springermac has joined #timvideos04:58
*** ewen has quit IRC05:10
CarlFKthaytan: hi!!05:23
CarlFKoff to dinner!05:23
thaytancya :)05:23
mithrothaytan: you in Christchurch yet?05:31
thaytanmithro, yes, we're in the pavilions hotel for the week05:34
thaytanwhere are you all holed up?05:34
mithroWill be in the uni accom from tomorrow morning05:44
mithroWant an FPGA Tomu?05:44
*** rohitksingh has joined #timvideos05:48
thaytanmithro, yes!05:50
thaytanmithro, any more hacking tonight?05:51
mithroProbably, at dinner now05:51
*** rails[I] has joined #timvideos05:58
*** rails[I] has quit IRC05:59
*** rails[I] has joined #timvideos05:59
*** rails[I] is now known as evilRails05:59
*** evilRails has joined #timvideos06:00
*** ewen has joined #timvideos06:49
*** rohitksingh has quit IRC07:40
ewenmithro: Updated attempt, using __wrapped__ attributes (in semi-random locations):
tpbTitle: Fix the resetinserter / clockdomainrenamer names in vcd output · Issue #18 · mithro/valentyusb · GitHub (at
mithrothaytan: Take a look at
tpbTitle: HowTo FuPy on iCE40 Boards · timvideos/litex-buildenv Wiki · GitHub (at
*** evilRails has quit IRC08:08
*** rohitksingh has joined #timvideos08:12
*** rohitksingh has quit IRC08:40
tpbTitle: Speaker diarisation - Wikipedia (at
*** ewen has quit IRC09:16
nats`morning !10:03
*** rohitksingh has joined #timvideos10:08
*** ewen has joined #timvideos10:17
*** ewen has quit IRC10:22
tpbTitle: One chip to flash them all - Microsoft MakeCode (at
xobsBoarding now. See people tomorrow in Christchurch.11:38
mithroGetting closer!
tpbTitle: Snippet | IRCCloud (at
*** Kripton has quit IRC18:00
*** Kripton has joined #timvideos18:16
*** rohitksingh has quit IRC18:19
*** CarlFK has quit IRC18:49
*** CarlFK has joined #timvideos19:21
*** ChanServ sets mode: +v CarlFK19:21
CarlFKmithro: coffee run? leaving in about .. now.19:30
mithroCarlFK: I won't be ready from ~20mins19:31
*** ewen has joined #timvideos19:53
*** ewen has quit IRC20:11
*** CarlFK has quit IRC20:24
mithroIf anyone is at 2019 I have FPGA Tomu boards and other give aways for people!20:38
railsoooh tomu boards22:07
*** CarlFK has joined #timvideos23:16
*** ChanServ sets mode: +v CarlFK23:16
*** ewen has joined #timvideos23:55

Generated by 2.13.1 by Marius Gedminas - find it at!