*** tpb has joined #tomu | 00:00 | |
*** js has quit IRC | 00:13 | |
*** earthnative has quit IRC | 00:27 | |
*** earthnative has joined #tomu | 00:27 | |
*** rohitksingh has joined #tomu | 00:31 | |
*** nrossi has joined #tomu | 02:11 | |
*** CarlFK has joined #tomu | 02:18 | |
*** jsquire has joined #tomu | 03:24 | |
jsquire | Good 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 IRC | 04:31 | |
*** jsquire has quit IRC | 04:35 | |
*** emeb has quit IRC | 04:47 | |
xobs | jsquire: 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 |
xobs | The 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 IRC | 05:36 | |
*** ppisati has joined #tomu | 05:43 | |
*** xkapastel has joined #tomu | 05:43 | |
tannewt | nice to see your tinyusb PR xobs! | 06:01 |
tannewt | is it related to the hackaday supercon badge or separate? | 06:01 |
futarisIRCcloud | https://github.com/hathach/tinyusb/pull/217 | 06:07 |
tpb | Title: WIP: Add Valentyusb eptri by xobs · Pull Request #217 · hathach/tinyusb · GitHub (at github.com) | 06:07 |
tannewt | these docs look awesome! https://rm.fomu.im/index.html | 06:20 |
tpb | Title: Documentation for Fomu Bootloader Fomu Bootloader documentation (at rm.fomu.im) | 06:20 |
tannewt | very cool to see the bitmasks for each register | 06:21 |
xobs | tannewt: separate, but a nice coincidence that I just got eptri to be reliable yesterday. | 06:27 |
xobs | Now I'm working on fixing foboot to work with eptri so I can actually release it. | 06:28 |
tannewt | awesome! how are you generating those docs? | 06:28 |
xobs | They come from sphinx via https://github.com/xobs/lxsocdoc | 06:28 |
tpb | Title: GitHub - xobs/lxsocdoc: Document System-on-Chip for LiteX (at github.com) | 06:29 |
tannewt | very cool! | 06:32 |
tannewt | does it use rst as the format before sphinx-build? | 06:33 |
tannewt | I wonder how we could support verilog this way too | 06:33 |
xobs | It generates (or includes) rst files that get fed to sphinx. Or it'll also generate svd files which we use with svd2rust. | 06:34 |
tannewt | nice! svd is handy for gdb too | 06:34 |
tannewt | https://github.com/bnahill/PyCortexMDebug | 06:35 |
tpb | Title: 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 |
xobs | The actual register definitions are just expanded csr definitions https://github.com/im-tomu/valentyusb/blob/4223cba71d1ebd3706b6b3e4d1bc49e421903b31/valentyusb/usbcore/cpu/eptri.py#L230 | 06:35 |
tpb | Title: valentyusb/eptri.py at 4223cba71d1ebd3706b6b3e4d1bc49e421903b31 · im-tomu/valentyusb · GitHub (at github.com) | 06:35 |
tannewt | I'm not familiar with CSR | 06:35 |
xobs | Or https://github.com/im-tomu/valentyusb/blob/4223cba71d1ebd3706b6b3e4d1bc49e421903b31/valentyusb/usbcore/cpu/eptri.py#L625 (with the event handler down below) | 06:36 |
tpb | Title: valentyusb/eptri.py at 4223cba71d1ebd3706b6b3e4d1bc49e421903b31 · im-tomu/valentyusb · GitHub (at github.com) | 06:36 |
xobs | For pure Verilog you might have to do specialised comment detection. | 06:37 |
tannewt | ya | 06:37 |
xobs | Csrs are dynamically generated memory mapped registers. In litex they're usually 8-bits, so larger values get spread out. | 06:37 |
tannewt | we do `//|` in our C source to indicate rst and it works fine | 06:37 |
tannewt | ah | 06:38 |
xobs | That's why you get things like this: http://rm.fomu.im/reboot.html#reboot-addr3 | 06:39 |
tpb | Title: REBOOT Fomu Bootloader documentation (at rm.fomu.im) | 06:39 |
tannewt | ya, I noticed that | 06:39 |
tannewt | I'm used to seeing C structs of the registers for a peripheral too | 06:39 |
xobs | Csrs only wire up 8 bits by default because it makes the routing easier on an fpga, from what I understand. | 06:42 |
tannewt | ah. are you attending supercon? | 06:42 |
xobs | I am! | 06:43 |
tannewt | when do you arrive? I got in today | 06:44 |
xobs | My train arrives at Union Station tomorrow at around 12:40. | 06:45 |
tannewt | kk, hopefully I'll see you tomorrow evening then | 06:46 |
xobs | Definitely. | 06:47 |
xobs | I 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 |
tpb | Title: Documentation for Hack a Day Supercon 2019 Badge Hack a Day Supercon 2019 Badge documentation (at haddecks.xobs.io) | 06:48 |
xobs | But 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 |
tannewt | ah, interesting! | 06:56 |
tannewt | skip straight to high speed usb :-P | 06:57 |
nrossi | i noticed that fomu-workshop sources do not have a license/copying file, what license is it under? | 06:57 |
tannewt | its neat to see the progress being made on fpgas | 06:58 |
xobs | nrossi (@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 #tomu | 06:59 | |
*** im-tomu has joined #tomu | 07:00 | |
nrossi | xobs: sure, i assumed Apache-2.0 since that is what foboot is under. Will open an issue. Thanks | 07:00 |
tannewt | xobs: safe travels tomorrow. see you tomorrow night! I'm headed to bed | 07:01 |
xobs | I'm going to turn in for the night, too. Goodnight! | 07:05 |
*** CarlFK has joined #tomu | 07:29 | |
*** cdmatter has quit IRC | 08:04 | |
*** cdmatter has joined #tomu | 08:05 | |
*** ff has joined #tomu | 09:04 | |
*** ff is now known as Guest37597 | 09:04 | |
*** Guest37597 has quit IRC | 09:26 | |
*** rohitksingh has quit IRC | 10:29 | |
*** rohitksingh has joined #tomu | 10:31 | |
*** rohitksingh has quit IRC | 10:50 | |
*** GNUtoo has joined #tomu | 12:21 | |
*** nrossi has quit IRC | 12:51 | |
*** cedric has quit IRC | 12:51 | |
*** acathla has quit IRC | 12:51 | |
*** chrissi^ has quit IRC | 12:51 | |
*** imdeni has quit IRC | 12:51 | |
*** guan has quit IRC | 12:51 | |
*** kcnickerson____ has quit IRC | 12:51 | |
*** eddyb[legacy] has quit IRC | 12:51 | |
*** esden has quit IRC | 12:51 | |
*** nrossi has joined #tomu | 12:54 | |
*** cedric has joined #tomu | 12:54 | |
*** acathla has joined #tomu | 12:54 | |
*** chrissi^ has joined #tomu | 12:54 | |
*** imdeni has joined #tomu | 12:54 | |
*** guan has joined #tomu | 12:54 | |
*** kcnickerson____ has joined #tomu | 12:54 | |
*** eddyb[legacy] has joined #tomu | 12:54 | |
*** esden has joined #tomu | 12:54 | |
*** xkapastel has quit IRC | 13:45 | |
*** CarlFK has quit IRC | 15:07 | |
*** CarlFK has joined #tomu | 15:17 | |
*** emeb has joined #tomu | 15:18 | |
*** CarlFK has quit IRC | 15:22 | |
*** CarlFK has joined #tomu | 15:46 | |
*** CarlFK has quit IRC | 15:53 | |
*** CarlFK has joined #tomu | 16:08 | |
*** CarlFK has quit IRC | 17:06 | |
*** earthnative has quit IRC | 17:10 | |
*** earthnative has joined #tomu | 17:23 | |
*** jimt[m] has quit IRC | 18:21 | |
*** leons has quit IRC | 18:21 | |
*** synaption[m] has quit IRC | 18:21 | |
*** AmosSam_ has quit IRC | 18:21 | |
*** foosinn[m] has quit IRC | 18:21 | |
*** EmilKarlson has quit IRC | 18:22 | |
*** shalzz has quit IRC | 18:22 | |
*** kaeso[m] has quit IRC | 18:22 | |
*** xobs has quit IRC | 18:22 | |
*** manf[m] has quit IRC | 18:22 | |
*** CarlFK has joined #tomu | 20:11 | |
*** js has joined #tomu | 20:55 | |
*** alexhw has quit IRC | 21:04 | |
*** alexhw has joined #tomu | 21:05 | |
*** rohitksingh has joined #tomu | 21:07 | |
*** nrossi has quit IRC | 21:27 | |
*** cedric has quit IRC | 22:57 | |
*** cedric has joined #tomu | 22:58 | |
*** cedric has joined #tomu | 22:58 | |
*** emeb has quit IRC | 23:39 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!