Thursday, 2019-11-14

*** tpb has joined #tomu00:00
*** js has quit IRC00:13
*** earthnative has quit IRC00:27
*** earthnative has joined #tomu00:27
*** rohitksingh has joined #tomu00:31
*** nrossi has joined #tomu02:11
*** CarlFK has joined #tomu02:18
*** jsquire has joined #tomu03:24
jsquireGood Evening. I've been trying to tinker with the foboot code. However, making even the most trivial of changes to the bios code causes the place and route step to fail due to the clk48_$glb_click not hitting it's timing constraints. Why does changing the software affect that?03:26
*** CarlFK has quit IRC04:31
*** jsquire has quit IRC04:35
*** emeb has quit IRC04:47
xobsjsquire: I'm not sure, and it worries me a little bit. But one thing you can do is change the seed with the --seed parameter.05:13
xobsThe weird bit is that changing the seed can affect the LC count as well. That's partly because we encode the seed in the Version block, so it does affect the gate layout by a bit, but I've seen swings of +/- 100 LCs just by changing that constant.05:14
*** ppisati has quit IRC05:36
*** ppisati has joined #tomu05:43
*** xkapastel has joined #tomu05:43
tannewtnice to see your tinyusb PR xobs!06:01
tannewtis it related to the hackaday supercon badge or separate?06:01
futarisIRCcloudhttps://github.com/hathach/tinyusb/pull/21706:07
tpbTitle: WIP: Add Valentyusb eptri by xobs · Pull Request #217 · hathach/tinyusb · GitHub (at github.com)06:07
tannewtthese docs look awesome! https://rm.fomu.im/index.html06:20
tpbTitle: Documentation for Fomu Bootloader Fomu Bootloader documentation (at rm.fomu.im)06:20
tannewtvery cool to see the bitmasks for each register06:21
xobstannewt: separate, but a nice coincidence that I just got eptri to be reliable yesterday.06:27
xobsNow I'm working on fixing foboot to work with eptri so I can actually release it.06:28
tannewtawesome! how are you generating those docs?06:28
xobsThey come from sphinx via https://github.com/xobs/lxsocdoc06:28
tpbTitle: GitHub - xobs/lxsocdoc: Document System-on-Chip for LiteX (at github.com)06:29
tannewtvery cool!06:32
tannewtdoes it use rst as the format before sphinx-build?06:33
tannewtI wonder how we could support verilog this way too06:33
xobsIt generates (or includes) rst files that get fed to sphinx. Or it'll also generate svd files which we use with svd2rust.06:34
tannewtnice! svd is handy for gdb too06:34
tannewthttps://github.com/bnahill/PyCortexMDebug06:35
tpbTitle: GitHub - bnahill/PyCortexMDebug: A set of GDB/Python-based utilities to make life debugging ARM Cortex M processors a bit easier (at github.com)06:35
xobsThe actual register definitions are just expanded csr definitions https://github.com/im-tomu/valentyusb/blob/4223cba71d1ebd3706b6b3e4d1bc49e421903b31/valentyusb/usbcore/cpu/eptri.py#L23006:35
tpbTitle: valentyusb/eptri.py at 4223cba71d1ebd3706b6b3e4d1bc49e421903b31 · im-tomu/valentyusb · GitHub (at github.com)06:35
tannewtI'm not familiar with CSR06:35
xobsOr https://github.com/im-tomu/valentyusb/blob/4223cba71d1ebd3706b6b3e4d1bc49e421903b31/valentyusb/usbcore/cpu/eptri.py#L625 (with the event handler down below)06:36
tpbTitle: valentyusb/eptri.py at 4223cba71d1ebd3706b6b3e4d1bc49e421903b31 · im-tomu/valentyusb · GitHub (at github.com)06:36
xobsFor pure Verilog you might have to do specialised comment detection.06:37
tannewtya06:37
xobsCsrs are dynamically generated memory mapped registers. In litex they're usually 8-bits, so larger values get spread out.06:37
tannewtwe do `//|` in our C source to indicate rst and it works fine06:37
tannewtah06:38
xobsThat's why you get things like this: http://rm.fomu.im/reboot.html#reboot-addr306:39
tpbTitle: REBOOT Fomu Bootloader documentation (at rm.fomu.im)06:39
tannewtya, I noticed that06:39
tannewtI'm used to seeing C structs of the registers for a peripheral too06:39
xobsCsrs only wire up 8 bits by default because it makes the routing easier on an fpga, from what I understand.06:42
tannewtah. are you attending supercon?06:42
xobsI am!06:43
tannewtwhen do you arrive? I got in today06:44
xobsMy train arrives at Union Station tomorrow at around 12:40.06:45
tannewtkk, hopefully I'll see you tomorrow evening then06:46
xobsDefinitely.06:47
xobsI did a partial port of litex to the badge, and TomKeddie has been adding patches. The generated  documentation for that one is at https://haddecks.xobs.io/06:48
tpbTitle: Documentation for Hack a Day Supercon 2019 Badge Hack a Day Supercon 2019 Badge documentation (at haddecks.xobs.io)06:48
xobsBut the problem I've run into is that eptri doesn't deal so well with clock domain crossing. It assumes its running at 12 MHz, which is super slow on the badge.06:49
tannewtah, interesting!06:56
tannewtskip straight to high speed usb :-P06:57
nrossii noticed that fomu-workshop sources do not have a license/copying file, what license is it under?06:57
tannewtits neat to see the progress being made on fpgas06:58
xobsnrossi (@freenode_nrossi:matrix.org): I like Apache-2.0. If you open an issue I can clarify that tomorrow.06:59
*** im-tomu has left #tomu06:59
*** im-tomu has joined #tomu07:00
nrossixobs: sure, i assumed Apache-2.0 since that is what foboot is under. Will open an issue. Thanks07:00
tannewtxobs: safe travels tomorrow. see you tomorrow night! I'm headed to bed07:01
xobsI'm going to turn in for the night, too. Goodnight!07:05
*** CarlFK has joined #tomu07:29
*** cdmatter has quit IRC08:04
*** cdmatter has joined #tomu08:05
*** ff has joined #tomu09:04
*** ff is now known as Guest3759709:04
*** Guest37597 has quit IRC09:26
*** rohitksingh has quit IRC10:29
*** rohitksingh has joined #tomu10:31
*** rohitksingh has quit IRC10:50
*** GNUtoo has joined #tomu12:21
*** nrossi has quit IRC12:51
*** cedric has quit IRC12:51
*** acathla has quit IRC12:51
*** chrissi^ has quit IRC12:51
*** imdeni has quit IRC12:51
*** guan has quit IRC12:51
*** kcnickerson____ has quit IRC12:51
*** eddyb[legacy] has quit IRC12:51
*** esden has quit IRC12:51
*** nrossi has joined #tomu12:54
*** cedric has joined #tomu12:54
*** acathla has joined #tomu12:54
*** chrissi^ has joined #tomu12:54
*** imdeni has joined #tomu12:54
*** guan has joined #tomu12:54
*** kcnickerson____ has joined #tomu12:54
*** eddyb[legacy] has joined #tomu12:54
*** esden has joined #tomu12:54
*** xkapastel has quit IRC13:45
*** CarlFK has quit IRC15:07
*** CarlFK has joined #tomu15:17
*** emeb has joined #tomu15:18
*** CarlFK has quit IRC15:22
*** CarlFK has joined #tomu15:46
*** CarlFK has quit IRC15:53
*** CarlFK has joined #tomu16:08
*** CarlFK has quit IRC17:06
*** earthnative has quit IRC17:10
*** earthnative has joined #tomu17:23
*** jimt[m] has quit IRC18:21
*** leons has quit IRC18:21
*** synaption[m] has quit IRC18:21
*** AmosSam_ has quit IRC18:21
*** foosinn[m] has quit IRC18:21
*** EmilKarlson has quit IRC18:22
*** shalzz has quit IRC18:22
*** kaeso[m] has quit IRC18:22
*** xobs has quit IRC18:22
*** manf[m] has quit IRC18:22
*** CarlFK has joined #tomu20:11
*** js has joined #tomu20:55
*** alexhw has quit IRC21:04
*** alexhw has joined #tomu21:05
*** rohitksingh has joined #tomu21:07
*** nrossi has quit IRC21:27
*** cedric has quit IRC22:57
*** cedric has joined #tomu22:58
*** cedric has joined #tomu22:58
*** emeb has quit IRC23:39

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