*** tpb has joined #yosys | 00:00 | |
*** lf has quit IRC | 00:41 | |
*** lf has joined #yosys | 00:42 | |
*** vidbina has quit IRC | 01:14 | |
*** Degi_ has joined #yosys | 02:38 | |
*** Degi has quit IRC | 02:40 | |
*** Degi_ is now known as Degi | 02:40 | |
*** FFY00_ has quit IRC | 02:46 | |
*** FFY00_ has joined #yosys | 02:53 | |
*** peepsalot has quit IRC | 03:49 | |
*** peepsalot has joined #yosys | 03:52 | |
*** fevv8[m] has joined #yosys | 04:14 | |
*** craigo has quit IRC | 04:21 | |
*** emeb_mac has joined #yosys | 05:36 | |
*** s_frit has quit IRC | 06:17 | |
*** s_frit has joined #yosys | 06:17 | |
*** emeb_mac has quit IRC | 06:49 | |
*** kraiskil has joined #yosys | 07:01 | |
*** kraiskil has quit IRC | 07:36 | |
*** kraiskil has joined #yosys | 07:49 | |
*** gmc has quit IRC | 08:02 | |
*** danvet has joined #yosys | 08:35 | |
*** jakobwenzel has joined #yosys | 09:26 | |
*** elGamal has joined #yosys | 09:27 | |
*** elGamal has quit IRC | 10:21 | |
*** kraiskil has quit IRC | 10:52 | |
*** craigo has joined #yosys | 10:56 | |
*** kraiskil has joined #yosys | 11:05 | |
*** jakobwenzel has quit IRC | 11:32 | |
*** citypw has joined #yosys | 11:55 | |
*** vidbina has joined #yosys | 12:06 | |
*** jakobwenzel has joined #yosys | 12:49 | |
*** jakobwenzel has quit IRC | 13:04 | |
*** vidbina has quit IRC | 13:24 | |
*** vidbina has joined #yosys | 13:57 | |
*** emeb has joined #yosys | 14:31 | |
*** emeb_mac has joined #yosys | 14:35 | |
emeb | I'm having some trouble with yosys synthesizing incorrectly with the SB_MAC16 cells on ice40 ultra. I'm trying to build a linear interpolator that requires two multiplies followed by an add and yosys appears to be failing when it tries to merge the addition into one of the SB_MAC16 cells. | 15:50 |
---|---|---|
emeb | What I see is that one of operands of the add ends up being flagged as unused and all the logic upstream of that is then removed. If I set that adder input as another output of the module then the upstream logic is preserved, but the final sum is incorrect. | 15:53 |
*** vidbina has quit IRC | 16:02 | |
emeb | I've made an MCVE of the issue here -> https://pastebin.com/hvcUuKT2 | 16:08 |
tpb | Title: // mac_test.v - demonstrate SB_MAC16 synth bug// 03-21-21 E. Brombaugh`def - Pastebin.com (at pastebin.com) | 16:08 |
*** richbridger has joined #yosys | 16:20 | |
*** aquijoule__ has quit IRC | 16:22 | |
*** peeps[zen] has joined #yosys | 16:52 | |
*** peepsalot has quit IRC | 16:53 | |
*** citypw has quit IRC | 16:54 | |
*** peepsalot has joined #yosys | 17:12 | |
*** peeps[zen] has quit IRC | 17:13 | |
emeb | Looking at the verilog output from yosys I can see that the m0 term is not being hooked up to the C & D inputs of the second SB_MAC16 cell. I was able to copy/paste those instantiations into my code, hook up the C & D inputs and everything works. | 17:16 |
*** vidbina has joined #yosys | 17:20 | |
*** srk has quit IRC | 17:34 | |
*** srk has joined #yosys | 17:34 | |
*** vidbina has quit IRC | 17:47 | |
*** emeb has quit IRC | 20:14 | |
*** vidbina has joined #yosys | 20:36 | |
*** vidbina has quit IRC | 21:33 | |
*** kraiskil has quit IRC | 21:42 | |
*** Forty-Bot has quit IRC | 22:07 | |
*** Forty-Bot has joined #yosys | 22:08 | |
*** danvet has quit IRC | 22:25 | |
*** craigo has quit IRC | 22:48 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!