Monday, 2020-01-27

*** tpb has joined #yosys00:00
*** klotz has quit IRC00:22
*** citypw has joined #yosys01:34
*** s_frit has quit IRC01:36
*** rohitksingh has joined #yosys03:21
*** show1 has quit IRC04:09
*** rohitksingh has quit IRC04:16
*** blackbit has quit IRC06:13
*** blackbit has joined #yosys06:15
*** show1 has joined #yosys07:10
*** ZipCPU|Laptop has quit IRC08:06
*** jakobwenzel has joined #yosys08:16
*** dys has quit IRC08:27
*** dys has joined #yosys08:44
*** fsasm has joined #yosys08:49
*** m4ssi has joined #yosys09:04
*** _whitelogger has quit IRC09:52
*** _whitelogger has joined #yosys09:54
*** _whitelogger has quit IRC10:19
*** _whitelogger has joined #yosys10:21
*** ZipCPU|Laptop has joined #yosys11:07
*** vidbina_ has joined #yosys11:08
*** dh73 has joined #yosys11:18
*** mjoldfield has quit IRC12:53
*** mjoldfie_ has joined #yosys12:53
*** X-Scale has quit IRC13:02
*** X-Scale` has joined #yosys13:03
*** X-Scale` is now known as X-Scale13:04
*** mjoldfie_ has quit IRC13:07
*** mjoldfield has joined #yosys13:07
*** rohitksingh has joined #yosys13:08
*** vidbina_ has quit IRC13:19
*** vidbina_ has joined #yosys13:21
somlodaveshah: for building prjtrellis on fedora rawhide (with python 3.9): https://pastebin.com/Ea8DHdRA14:33
tpbTitle: [Diff] diff --git a/libtrellis/CMakeLists.txt b/libtrellis/CMakeLists.txt index d34d2e - Pastebin.com (at pastebin.com)14:33
somlowould rather I did a PR, or is this good enough? :)14:33
daveshahsomlo: done, thanks14:37
daveshahbtw, I wonder if Greg's recent change to the LiteX DRAM init might also fix the TrellisBoard issues you had at 55MHz?14:38
somlodaveshah: I just finished building an up-to-date LiteX+Rocket bitstream for the trellis14:45
somlopassed memtest on the first try when I pushed it to the board, and also after a few (5-ish) reset-switch pushes, and 3-4 subsequent reprogrammings with openocd14:47
somloso I think we may be on to something :)14:47
somloand it's at 60MHz, but at least this bitstream build feels solid14:49
daveshahVery good14:49
somlomaybe I should build it again and re-test a few times, not sure how specific to each p&r run this stuff is...14:50
somloI was going to refresh my toolchain (yosys/trellis/nextpnr), so I'll see what happens once I build the bitstream with the latest new hotness14:50
*** rohitksingh has quit IRC14:50
*** citypw has quit IRC15:09
*** emeb has joined #yosys15:20
somlodaveshah: rebuilt the bitstream (same sources, same toolchain), and it failed twice (out of ten attempts) when pushing via openocd, and worked each time (about another ten attempts) when hitting the reset switch15:28
somloso I'd say this is definitely better than before15:28
daveshahInteresting, thanks for testing15:31
*** cr1901_modern has quit IRC15:47
*** rohitksingh has joined #yosys15:48
somlodaveshah: I'll have another data point after I rebuild all toolchain components from their latest github snapshots15:48
somlo(not that I expect the litex/trellisboard memtest thing to be affected, but still :)15:49
*** fsasm has quit IRC16:23
*** rohitksingh has quit IRC16:48
*** rohitksingh has joined #yosys16:57
*** vidbina_ has quit IRC17:09
*** m4ssi has quit IRC17:16
somloI was building yosys #de6006f (freshest as of a few hours ago), and I got a core dump while trying to run "tests/various/bug1531.ys"17:18
somloany chance this is just my not-so-fresh (mid-2019) version of abc?17:21
*** fsasm has joined #yosys17:22
*** rohitksingh has quit IRC17:48
*** rohitksingh has joined #yosys17:49
*** dys has quit IRC18:03
*** GenTooMan has quit IRC18:15
*** GenTooMan has joined #yosys18:16
ZirconiumXsomlo: What's your ABC version?18:16
*** bitmapper has joined #yosys18:26
somloZirconiumX: git 02393a2 (cca. Dec. 17, 2019) as packaged by Fedora18:27
somlonow trying with 8eb6aed (today's latest), on the off chance something relevant (that would affect the latest yosys) changed since then18:28
ZirconiumXDo you build Yosys from source?18:28
*** _whitelogger has quit IRC18:28
ZirconiumXBecause Yosys vendors its own copy of ABC18:28
ZirconiumXBy default `abc` and `abc9` invoke `yosys-abc`, rather than a system ABC18:29
somloFedora generally frowns upon "vendoring", so yes from source, but using ABCEXTERNAL=...18:30
*** _whitelogger has joined #yosys18:31
somloworked great for the last year or two I've been doing it (I build my own RPMs with mock, to get a fresh yosys, and it didn't seem to mind the external abc thing before :)18:31
ZirconiumXI know the version of ABC vendored with Yosys got updated recently-ish to fix a bug with ABC9 &mfs18:31
somlobut I'm assuming every once in a while I'll hit a spot where Fedora's packaged ABC is out of date wrt latest yosys github :)18:32
somloso I've been wondering if now's one of those...18:32
ZirconiumXhttps://github.com/YosysHQ/yosys/commit/9005bb9718:32
tpbTitle: Bump ABCREV for upstream fix · YosysHQ/yosys@9005bb9 · GitHub (at github.com)18:32
somlooh, ok, so I should be able to figure out what abc git hash that was, and rebuild *that* as an RPM18:32
ZirconiumXThat was slightly over two weeks18:32
ZirconiumXThat would work18:33
somlooh, cool, then I think we solved the mystery -- thanks!18:33
somloonce I try this out and verify that it works, I should probably file a bug in Fedora to have them bump their upstream package as well...18:34
somlos/upstream/official-repo/ (upstream is too overloaded a term to work in this context :)18:35
ZirconiumXhttps://github.com/berkeley-abc/abc/commit/71f2b40320127561175ad60f6f2428f3438e524318:35
ZirconiumXI think this is the commit with the fix in18:35
somloawesome, thanks again!18:36
ZirconiumXIt seems ABC still has some bugs relevant to Yosys, but oh well18:36
*** Jybz has joined #yosys18:38
*** rohitksingh has quit IRC19:14
*** ZipCPU|Laptop has quit IRC19:20
*** rohitksingh has joined #yosys19:31
somloZirconiumX: tests/various/bug1531.ys coredumps even with the latest abc (8eb6aed)19:46
somloso I'm thinking it's *not* the abc version that's causing it, at this point19:46
ZirconiumXsomlo: I can't reproduce it19:47
*** rohitksingh has quit IRC19:47
somlois yosys vendoring any other dependency besides abc?19:48
ZirconiumXJSON11 I think19:48
ZirconiumXShouldn't be relevant here19:48
somlomy goal (besides having a working up-to-date yosys for my own use) is to be ready to package it for Fedora whenever the next version bump happens (I co-maintain it there)19:52
somloso just building it for myself as a "one-off" will only accomplish goal #1 :)19:52
somlomaybe if I bisect it and figure out what yosys commit went from "passes tests" to "bombs this one test" in my own fedora/mock build environment will somehow illuminate just what else about fedora/mock is "wrong" as far as yosys is concerned... :)19:53
somlothat at least gives me something potentially productive to do, that doesn't require thinking too hard :D19:54
*** rohitksingh has joined #yosys20:03
*** rohitksingh has quit IRC20:16
*** Jybz has quit IRC20:21
*** rohitksingh has joined #yosys20:29
*** fsasm has quit IRC20:31
*** rohitksingh has quit IRC20:39
*** X-Scale has quit IRC21:25
*** X-Scale has joined #yosys21:31
*** cr1901_modern has joined #yosys21:38
*** X-Scale has quit IRC21:51
*** dh73 has quit IRC22:37
*** bitmapper has quit IRC22:42
*** bitmapper has joined #yosys22:45
*** rohitksingh has joined #yosys22:56
*** klotz has joined #yosys22:58
*** rohitksingh has quit IRC23:14

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