Sunday, 2021-03-21

*** tpb has joined #yosys00:00
*** lf has quit IRC00:41
*** lf has joined #yosys00:42
*** vidbina has quit IRC01:14
*** Degi_ has joined #yosys02:38
*** Degi has quit IRC02:40
*** Degi_ is now known as Degi02:40
*** FFY00_ has quit IRC02:46
*** FFY00_ has joined #yosys02:53
*** peepsalot has quit IRC03:49
*** peepsalot has joined #yosys03:52
*** fevv8[m] has joined #yosys04:14
*** craigo has quit IRC04:21
*** emeb_mac has joined #yosys05:36
*** s_frit has quit IRC06:17
*** s_frit has joined #yosys06:17
*** emeb_mac has quit IRC06:49
*** kraiskil has joined #yosys07:01
*** kraiskil has quit IRC07:36
*** kraiskil has joined #yosys07:49
*** gmc has quit IRC08:02
*** danvet has joined #yosys08:35
*** jakobwenzel has joined #yosys09:26
*** elGamal has joined #yosys09:27
*** elGamal has quit IRC10:21
*** kraiskil has quit IRC10:52
*** craigo has joined #yosys10:56
*** kraiskil has joined #yosys11:05
*** jakobwenzel has quit IRC11:32
*** citypw has joined #yosys11:55
*** vidbina has joined #yosys12:06
*** jakobwenzel has joined #yosys12:49
*** jakobwenzel has quit IRC13:04
*** vidbina has quit IRC13:24
*** vidbina has joined #yosys13:57
*** emeb has joined #yosys14:31
*** emeb_mac has joined #yosys14:35
emebI'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
emebWhat 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 IRC16:02
emebI've made an MCVE of the issue here -> https://pastebin.com/hvcUuKT216:08
tpbTitle: // mac_test.v - demonstrate SB_MAC16 synth bug// 03-21-21 E. Brombaugh`def - Pastebin.com (at pastebin.com)16:08
*** richbridger has joined #yosys16:20
*** aquijoule__ has quit IRC16:22
*** peeps[zen] has joined #yosys16:52
*** peepsalot has quit IRC16:53
*** citypw has quit IRC16:54
*** peepsalot has joined #yosys17:12
*** peeps[zen] has quit IRC17:13
emebLooking 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 #yosys17:20
*** srk has quit IRC17:34
*** srk has joined #yosys17:34
*** vidbina has quit IRC17:47
*** emeb has quit IRC20:14
*** vidbina has joined #yosys20:36
*** vidbina has quit IRC21:33
*** kraiskil has quit IRC21:42
*** Forty-Bot has quit IRC22:07
*** Forty-Bot has joined #yosys22:08
*** danvet has quit IRC22:25
*** craigo has quit IRC22:48

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