*** tpb has joined #timvideos | 00:00 | |
mithro | https://github.com/timvideos/litex-buildenv/wiki/Xilinx-ISE | 00:00 |
---|---|---|
tpb | Title: Xilinx ISE · timvideos/litex-buildenv Wiki · GitHub (at github.com) | 00:01 |
mithro | pavelow: The setup script should probably check for that... | 00:06 |
mithro | pavelow: The enter-env.sh script already can tell the difference between Vivado and ISE here -> https://github.com/timvideos/litex-buildenv/blob/master/scripts/enter-env.sh#L200-L233 | 00:07 |
tpb | Title: litex-buildenv/enter-env.sh at master · timvideos/litex-buildenv · GitHub (at github.com) | 00:07 |
* tumbleweed told pavelow that he doesn't need any xilinx stuff, if he just uses download-prebuilt | 00:08 | |
*** TheAssassin has quit IRC | 00:08 | |
tumbleweed | mithro: do you have some spare cycles? | 00:10 |
tumbleweed | hdmi2usbd and unbind methods | 00:11 |
mithro | tumbleweed: only some types of cycles.... | 00:11 |
mithro | Do you mean modeswitch? | 00:12 |
tumbleweed | I mean hdmi2usbd, and (separately) unbind methods in modeswitch | 00:13 |
*** TheAssassin has joined #timvideos | 00:13 | |
tumbleweed | hdmi2usbd doesn't seem to work with current opsis. This is the kin dof thing I was talking about when I asked about maintained | 00:21 |
* tumbleweed moves on to tally lights | 00:23 | |
CarlFK | https://github.com/timvideos/HDMI2USB-litex-firmware | 00:28 |
tpb | Title: 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 github.com) | 00:29 |
mithro | tumbleweed: unbind stuff -> https://github.com/timvideos/HDMI2USB-mode-switch/blob/master/udev/99-hdmi2usb-permissions.rules#L15-L29 | 00:38 |
tpb | Title: HDMI2USB-mode-switch/99-hdmi2usb-permissions.rules at master · timvideos/HDMI2USB-mode-switch · GitHub (at github.com) | 00:38 |
mithro | ewen: Thinking of going fo a walk to get lunch... | 00:39 |
ewen | mithro: Happy to go for a walk :-) | 00:40 |
mithro | ewen: https://github.com/m-labs/migen/blob/e6ff283a467dc0657019dedadc5b06fa7130b744/migen/fhdl/tracer.py | 00:41 |
tpb | Title: migen/tracer.py at e6ff283a467dc0657019dedadc5b06fa7130b744 · m-labs/migen · GitHub (at github.com) | 00:41 |
tumbleweed | mithro: sooo we have that | 00:43 |
* tumbleweed investigates why they don't do what we need | 00:44 | |
CarlFK | tumbleweed: gst-launch-1.0 v4l2src device=/dev/video0 ! jpegdec ! fakesink | 01:14 |
mithro | ewen: Ran 19 tests in 559.027s | 01:15 |
ewen | mithro: That's around 10 minutes?! | 01:51 |
ewen | mithro: https://github.com/m-labs/migen/blob/e6ff283a467dc0657019dedadc5b06fa7130b744/migen/fhdl/tracer.py#L65-L70 I think is where it's walking back to find "not good" names. | 01:52 |
tpb | Title: migen/tracer.py at e6ff283a467dc0657019dedadc5b06fa7130b744 · m-labs/migen · GitHub (at github.com) | 01:52 |
ewen | Seems to assume "derived from us" is an indication of "skip this one". | 01:52 |
mithro | ewen: But they all passed! | 01:53 |
xobs | mithro: he mentioned to me that he got it working! | 01:58 |
mithro | xobs: He did the same 12mhz clock domain thing | 01:58 |
xobs | as 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 |
ewen | mithro: All passed is indeed great progress. Well done! | 01:59 |
ewen | mithro: I believe I know the root cause of the FSM signal name issue now: https://github.com/mithro/valentyusb/issues/18#issuecomment-455738731 | 02:00 |
tpb | Title: Fix the resetinserter / clockdomainrenamer names in vcd output · Issue #18 · mithro/valentyusb · GitHub (at github.com) | 02:00 |
mithro | ewen: Yeah | 02:00 |
ewen | Just 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 |
xobs | mithro: though there is a lot of interesting stuff to learn from in there. | 02:00 |
mithro | xobs: He hasn't updated the pull request info | 02:01 |
mithro | xobs: But see the latest commits - @osresearch - Tomu: use 12 MHz clock for USB endpoint | 02:01 |
mithro | xobs: Clock crossing success - endpoint runs at 12 Mhz | 02:02 |
xobs | oh, that's really cool! | 02:05 |
xobs | Going to flash Hacker Boards, then? | 02:06 |
mithro | xobs: Haven't thought about it yet | 02:06 |
ewen | mithro: 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_modern | mithro: Is Trammel also working on Tomu USB? | 02:38 |
mithro | cr1901_modern: Apparently | 02:38 |
mithro | ewen: Hrm? | 02:38 |
ewen | mithro: Best guess is that it's implicitly done by this bit of code tracer.trace_back: https://github.com/m-labs/migen/blob/e6ff283a467dc0657019dedadc5b06fa7130b744/migen/fhdl/tracer.py#L90-L136 | 02:40 |
tpb | Title: migen/tracer.py at e6ff283a467dc0657019dedadc5b06fa7130b744 · m-labs/migen · GitHub (at github.com) | 02:40 |
ewen | (Rather than get_obj_var_name() which I was assuming before.) | 02:40 |
mithro | ewen: Maybe ask in #m-labs ? | 02:40 |
CarlFK | mithro: hdmi2usb jpeg error: last good version: v0.0.4-399-g33b53ba next version is v0.0.4-404-g57fb821 | 02:42 |
mithro | CarlFK: Great! that is useful info | 02:42 |
ewen | mithro: Looks like maybe this is the relevant line: frame = inspect.currentframe().f_back.f_back. | 02:42 |
ewen | Which obviously assumes there's exactly two levels to go back. And a decorator will add another level... | 02:43 |
mithro | CarlFK: can you log a bug? | 02:43 |
mithro | ewen: Can you just skip things which inherit from the decorator class or something? | 02:43 |
ewen | mithro: Yes, that's my plan. I think I'll need to create a flagname SuperClass to be able to detect that. | 02:48 |
tumbleweed | pavelow: https://github.com/timvideos/litex-buildenv/wiki/Networking | 03:31 |
tpb | Title: Networking · timvideos/litex-buildenv Wiki · GitHub (at github.com) | 03:31 |
mithro | At a hackfest previously, we get *very* close to making DHCP work on the Opsis | 03:31 |
*** Kripton has quit IRC | 03:45 | |
*** Kripton has joined #timvideos | 03:46 | |
ewen | mithro: 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 |
ewen | mithro: https://github.com/mithro/valentyusb/issues/18#issuecomment-455746736 has a bunch of details on what I'm getting / how I've kludged it. | 03:57 |
tpb | Title: Fix the resetinserter / clockdomainrenamer names in vcd output · Issue #18 · mithro/valentyusb · GitHub (at github.com) | 03:57 |
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 |
mithro | ewen: functools.wraps ? | 03:59 |
mithro | ewen: https://docs.python.org/3/library/functools.html#functools.wraps | 04:00 |
tpb | Title: functools — Higher-order functions and operations on callable objects Python 3.7.2 documentation (at docs.python.org) | 04:00 |
ewen | mithro: 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 |
mithro | ewen: Well, I was wondering if it did something to the stack to was detectable in some way | 04:11 |
ewen | Looks 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 |
ewen | Oh, and it appears get_fragment name is coming from https://github.com/m-labs/migen/blob/57c44674c2a6c38bd01804e69db61a9efd287524/migen/fhdl/decorators.py#L25 within the wrapper :-( | 04:20 |
tpb | Title: migen/decorators.py at 57c44674c2a6c38bd01804e69db61a9efd287524 · m-labs/migen · GitHub (at github.com) | 04:20 |
ewen | mithro: So it appears I might need to move the "skip this stack frame" earlier. | 04:20 |
ewen | mithro: Revised version, which gets more sensible results for the names: https://github.com/mithro/valentyusb/issues/18#issuecomment-455748887 | 04:43 |
tpb | Title: Fix the resetinserter / clockdomainrenamer names in vcd output · Issue #18 · mithro/valentyusb · GitHub (at github.com) | 04:43 |
*** springermac has quit IRC | 04:57 | |
*** springermac has joined #timvideos | 04:58 | |
thaytan | hiyas | 05:03 |
*** ewen has quit IRC | 05:10 | |
CarlFK | thaytan: hi!! | 05:23 |
CarlFK | off to dinner! | 05:23 |
thaytan | cya :) | 05:23 |
mithro | thaytan: you in Christchurch yet? | 05:31 |
thaytan | mithro, yes, we're in the pavilions hotel for the week | 05:34 |
thaytan | where are you all holed up? | 05:34 |
mithro | Will be in the uni accom from tomorrow morning | 05:44 |
mithro | Want an FPGA Tomu? | 05:44 |
*** rohitksingh has joined #timvideos | 05:48 | |
thaytan | mithro, yes! | 05:50 |
thaytan | mithro, any more hacking tonight? | 05:51 |
mithro | Probably, at dinner now | 05:51 |
*** rails[I] has joined #timvideos | 05:58 | |
*** rails[I] has quit IRC | 05:59 | |
*** rails[I] has joined #timvideos | 05:59 | |
*** rails[I] is now known as evilRails | 05:59 | |
*** evilRails has joined #timvideos | 06:00 | |
*** ewen has joined #timvideos | 06:49 | |
*** rohitksingh has quit IRC | 07:40 | |
mithro | https://hackaday.com/2019/01/18/hackaday-podcast-ep2-curious-gadgets-and-the-fpga-brain-trust/ | 07:45 |
ewen | mithro: Updated attempt, using __wrapped__ attributes (in semi-random locations): https://github.com/mithro/valentyusb/issues/18#issuecomment-455758727 | 08:05 |
tpb | Title: Fix the resetinserter / clockdomainrenamer names in vcd output · Issue #18 · mithro/valentyusb · GitHub (at github.com) | 08:05 |
mithro | thaytan: Take a look at https://github.com/timvideos/litex-buildenv/wiki/HowTo-FuPy-on-iCE40-Boards | 08:07 |
tpb | Title: HowTo FuPy on iCE40 Boards · timvideos/litex-buildenv Wiki · GitHub (at github.com) | 08:07 |
*** evilRails has quit IRC | 08:08 | |
*** rohitksingh has joined #timvideos | 08:12 | |
*** rohitksingh has quit IRC | 08:40 | |
mithro | thaytan: https://en.wikipedia.org/wiki/Speaker_diarisation | 09:08 |
tpb | Title: Speaker diarisation - Wikipedia (at en.wikipedia.org) | 09:08 |
*** ewen has quit IRC | 09:16 | |
nats` | morning ! | 10:03 |
*** rohitksingh has joined #timvideos | 10:08 | |
*** ewen has joined #timvideos | 10:17 | |
*** ewen has quit IRC | 10:22 | |
mithro | https://makecode.com/blog/one-chip-to-flash-them-all | 10:26 |
tpb | Title: One chip to flash them all - Microsoft MakeCode (at makecode.com) | 10:26 |
xobs | Boarding now. See people tomorrow in Christchurch. | 11:38 |
mithro | Getting closer! https://www.irccloud.com/pastebin/kst0YJgO/ | 12:40 |
tpb | Title: Snippet | IRCCloud (at www.irccloud.com) | 12:40 |
*** Kripton has quit IRC | 18:00 | |
*** Kripton has joined #timvideos | 18:16 | |
*** rohitksingh has quit IRC | 18:19 | |
*** CarlFK has quit IRC | 18:49 | |
*** CarlFK has joined #timvideos | 19:21 | |
*** ChanServ sets mode: +v CarlFK | 19:21 | |
CarlFK | mithro: coffee run? leaving in about .. now. | 19:30 |
mithro | CarlFK: I won't be ready from ~20mins | 19:31 |
*** ewen has joined #timvideos | 19:53 | |
*** ewen has quit IRC | 20:11 | |
*** CarlFK has quit IRC | 20:24 | |
mithro | If anyone is at Linux.conf.au 2019 I have FPGA Tomu boards and other give aways for people! | 20:38 |
rails | oooh tomu boards | 22:07 |
*** CarlFK has joined #timvideos | 23:16 | |
*** ChanServ sets mode: +v CarlFK | 23:16 | |
*** ewen has joined #timvideos | 23:55 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!