Thursday, 2020-02-27

*** tpb has joined #yosys00:00
*** klotz has joined #yosys00:02
*** strongsaxophone has quit IRC00:44
*** klotz has quit IRC00:56
*** emeb has quit IRC01:19
*** rohitksingh has joined #yosys01:30
*** emeb_mac has joined #yosys01:31
*** rohitksingh has quit IRC01:40
*** citypw has joined #yosys02:19
*** az0re has quit IRC02:57
*** futarisIRCcloud has quit IRC03:00
*** rohitksingh has joined #yosys03:26
*** ZipCPU has joined #yosys04:48
*** lutsabound has quit IRC05:12
*** emeb_mac has quit IRC07:00
*** kraiskil has joined #yosys07:33
*** kraiskil has quit IRC07:38
*** Cerpin has quit IRC07:45
*** kraiskil has joined #yosys07:54
*** m4ssi has joined #yosys08:09
*** adjtm has quit IRC08:20
*** adjtm has joined #yosys08:21
*** fsasm has joined #yosys08:28
*** dys has joined #yosys09:08
*** fsasm has quit IRC09:16
*** rohitksingh has quit IRC09:17
*** kraiskil has quit IRC09:29
*** twnqx has joined #yosys09:38
*** kraiskil has joined #yosys11:57
*** doubleyou has joined #yosys12:06
*** kraiskil has quit IRC13:40
*** ZipCPU has quit IRC13:50
*** kraiskil has joined #yosys13:52
*** voxadam has quit IRC14:18
*** Cerpin has joined #yosys14:47
*** emeb has joined #yosys15:49
*** citypw has quit IRC16:32
*** fsasm has joined #yosys16:47
*** dys has quit IRC17:07
*** X-Scale` has joined #yosys17:25
*** strubi has joined #yosys17:26
*** X-Scale has quit IRC17:27
*** X-Scale` is now known as X-Scale17:27
strubiHi there, sorry for the first newbie question, possibly: I'm playing with RAM inference, in particular, I'd wanted to get some true dual port RAM working. Is it sufficient to modify what's in share/<arch and techlibs/<arch>?17:29
strubi(arch is ECP5, in this case)17:29
*** thardin has left #yosys17:30
*** m4ssi has quit IRC17:30
daveshahNo, the Yosys BRAM passes don't support it at all17:31
daveshahThere are a few possible ways you could hack it but truth be told the BRAM inference code is enough of a mess as it stands17:32
strubiSo, it would involve touching `./passes/memory/memory_bram.cc` as well?17:33
daveshahYes17:34
daveshahOr burning it and starting again, which would probably be the more tempting option17:34
strubiUh oh. Well, I assume there's a test bench..17:34
daveshahYes, although plenty of subtle untested bugs have cropped up in bram code in the past17:35
strubiI think I've run into some. But really hard to tell, as I'm playing with the GHDL side, mostly17:35
strubiBut now mimicking things in Verilog, there's some weirdness as well17:36
*** kraiskil has quit IRC17:58
*** Sarayan has joined #yosys18:43
*** rohitksingh has joined #yosys18:45
*** rohitksingh has quit IRC18:59
*** rohitksingh has joined #yosys19:03
strubidaveshah, what I can see so far in the synth .dot output ('show') is that different clocks (like a_clk, b_clk) seem to not correctly map to the $mem entity in the first place.19:14
strubitried both verilog and VHDL19:15
strubiI19:18
strubiNot sure, but it looks like it's happening during the memory_collect pass19:19
*** _whitelogger has quit IRC19:22
*** Jybz has joined #yosys19:24
*** _whitelogger has joined #yosys19:24
daveshahstrubi: can you give an example?19:30
strubiLet me see where I can drop this19:32
strubi;19:35
strubihttps://gist.github.com/hackfin/1201612defcea0aa6cbfa22f88113c9c19:35
tpbTitle: Example TDP 2R1W · GitHub (at gist.github.com)19:35
daveshahstrubi: it can't merge the clock into a_read because it doesn't support that pattern of transparent port19:40
daveshahsee https://github.com/YosysHQ/yosys/issues/108719:40
tpbTitle: Memory inference fails for read-after-write · Issue #1087 · YosysHQ/yosys · GitHub (at github.com)19:40
strubiAh, ok. So it's known then.19:41
daveshahIndeed19:42
strubiVerilog parsing seems right though. So in pre.dot it's split up in $memrd and $memwr ports. GHDL doesn't do that and directly creates a $mem, obviously.19:43
daveshahYes, the problem is in memory_dff19:43
*** vidbina has joined #yosys19:44
strubiAllright, now when working around the memory_dff issue (using the proper template for a read-after-write) the clocks map right.19:54
strubiThanks for the hint! This helps to divide-et-impera :-)19:58
*** Ristovski has quit IRC20:05
*** twnqx has quit IRC20:35
*** [Ristovski] has joined #yosys20:41
*** emeb_mac has joined #yosys20:54
*** fsasm has quit IRC21:23
*** N2TOH has quit IRC22:13
*** N2TOH has joined #yosys22:14
*** N2TOH_ has joined #yosys22:15
*** Jybz has quit IRC22:16
*** N2TOH has quit IRC22:19
*** strubi has quit IRC22:25
*** rohitksingh has quit IRC22:38
*** sfs1926 has quit IRC22:50
*** rohitksingh has joined #yosys22:58
*** [Ristovski] is now known as Ristovski22:59
*** rohitksingh has quit IRC23:06
*** rohitksingh has joined #yosys23:08
*** vidbina has quit IRC23:32
*** vidbina has joined #yosys23:38

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