Sunday, 2022-05-15

*** tpb <[email protected]> has joined #yosys00:00
*** adjtm <[email protected]> has quit IRC (Quit: Leaving)01:23
*** Lord_Nightmare <Lord_Nightmare!Lord_Night@user/lord-nightmare/x-3657113> has quit IRC (Quit: ZNC - http://znc.in)01:50
*** Lord_Nightmare <Lord_Nightmare!Lord_Night@user/lord-nightmare/x-3657113> has joined #yosys01:52
*** bq <[email protected]> has quit IRC (Quit: Floating point exception (core dumped))06:12
*** phillid <[email protected]> has joined #yosys06:13
*** phillid is now known as bq06:13
*** emeb_mac <[email protected]> has quit IRC (Quit: Leaving.)07:05
corecodeoh duh, of course09:59
*** adjtm <[email protected]> has joined #yosys10:29
*** kraiskil <[email protected]> has joined #yosys10:32
corecodeLUT4 are just not so good for MUXes, it seems11:07
corecodexdot complains about error: unknown xdot opcode '0]' for this line that yosys generates: n4 [ shape=diamond, label="$0\\counter[23:0]" ];11:08
corecodeseems it is related to the \\11:09
*** kraiskil <[email protected]> has quit IRC (Ping timeout: 260 seconds)11:35
corecodeoh it's a bug in graphviz.11:45
*** emeb_mac <[email protected]> has joined #yosys12:51
corecodeit's a bug that was fixed in graphviz, but xdot didn't release yet since.12:51
corecodeit would be nice if show could collapse busses with the same structure13:02
corecodeoh cool i found a segfault in yosys13:18
corecodehttps://github.com/YosysHQ/yosys/issues/331713:33
*** skipwich <skipwich!~skipwich@user/skipwich> has quit IRC (Quit: DISCONNECT)13:44
*** skipwich <skipwich!~skipwich@user/skipwich> has joined #yosys13:57
whitequarkflowmap isn't... very functional14:52
whitequark(i wrote flowmap)14:52
whitequarkthere's a few issues with flowmap -relax it that basically require a complete rewrite14:52
whitequarkwithout -relax it should work but i'm not surprised there are other bugs in it14:53
*** kraiskil <[email protected]> has joined #yosys15:05
corecodehi15:25
corecodeyea i saw experimental, but i figured it shouldn't crash with what's likely an over/underflow15:25
Sarayanflowmap is what, a synthesis methodology?15:33
*** kraiskil <[email protected]> has quit IRC (Ping timeout: 240 seconds)15:58
loftySarayan: it's a LUT mapper16:08
loftyI've actually written a few, and I am kind of surprised how bloody difficult it is to get right16:09
Sarayanmust be fun16:12
Sarayanif a pain16:12
*** kraiskil <[email protected]> has joined #yosys16:48
corecodelofty: difficult not to make mistakes?17:26
loftycorecode: there are a lot of invariants that are difficult to articulate in such a way that one can meaningfully test them17:26
*** peeps[zen] <peeps[zen]!~peepsalot@openscad/peepsalot> has joined #yosys17:32
*** peepsalot <peepsalot!~peepsalot@openscad/peepsalot> has quit IRC (Ping timeout: 260 seconds)17:33
corecodeinteresting17:38
corecodei would have thought that transforming a set of logic should be easy to test for equivalence17:42
loftyOh, it is17:58
loftyBut equivalent does not mean bug free17:58
loftyThis is not strictly relevant to FlowMap because it has a different working methodology, but ABC needs "reference counters", and these represent how many best LUTs at a node use this node as an input18:01
lofty... Sorry, I should rephrase that: these represent how many nodes use this node as an input to their best LUT18:01
loftyWhen a LUT is selected as the best at a node, it increments the reference counters of the inputs to that LUT18:03
loftyWhen the mapper changes its mind, it has to decrement the reference counters of the inputs to its previous-best18:03
loftyNow, suppose you have a bug somewhere where you decrement a reference counter when you shouldn't18:05
loftyYou'll only discover that there was a mistake when you decrement the reference counter when you should have18:05
loftyWhich means failure cases are highly nonlocal18:06
*** ec <ec!~ec@gateway/tor-sasl/ec> has joined #yosys18:46
*** kraiskil <[email protected]> has quit IRC (Ping timeout: 240 seconds)18:58
corecodei see20:50
corecodethanks20:50
*** cr1901 <cr1901!~cr1901@2601:8d:8600:911:d2:685c:f1e:7edb> has quit IRC (Ping timeout: 252 seconds)21:18
*** peeps[zen] <peeps[zen]!~peepsalot@openscad/peepsalot> has quit IRC (Quit: Connection reset by peep)21:40
*** peepsalot <peepsalot!~peepsalot@openscad/peepsalot> has joined #yosys21:56
*** nonchip <[email protected]> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)22:12
*** nonchip <[email protected]> has joined #yosys22:12

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!