Wednesday, 2020-10-28

*** tpb has joined #yosys00:00
*** lf has quit IRC00:14
*** lf_ has joined #yosys00:14
*** emeb has quit IRC00:57
*** emeb_mac has joined #yosys01:09
*** citypw has joined #yosys02:24
*** Degi has quit IRC02:50
*** Degi has joined #yosys02:51
*** N2TOH_ has quit IRC02:56
*** N2TOH has joined #yosys02:56
*** sorear has quit IRC03:22
*** sorear has joined #yosys03:24
*** N2TOH_ has joined #yosys04:13
*** N2TOH__ has joined #yosys04:14
*** N2TOH has quit IRC04:16
*** N2TOH_ has quit IRC04:17
*** citypw has quit IRC06:02
*** emeb_mac has quit IRC06:31
*** _whitelogger has quit IRC07:27
*** _whitelogger has joined #yosys07:29
*** kristianpaul has quit IRC07:39
*** kristianpaul has joined #yosys07:40
*** jakobwenzel1 has joined #yosys07:45
*** kraiskil has joined #yosys08:03
*** chipb has quit IRC08:18
*** chipb has joined #yosys08:24
*** Asu has joined #yosys09:22
*** smkz has quit IRC09:22
*** Asu has quit IRC09:27
*** Asu has joined #yosys09:28
*** citypw has joined #yosys10:01
*** kraiskil has quit IRC10:28
*** citypw has quit IRC10:34
*** citypw has joined #yosys10:35
*** kraiskil has joined #yosys10:41
*** vancz has quit IRC13:13
*** vancz has joined #yosys13:14
*** DaKnig has quit IRC13:18
*** citypw has quit IRC13:22
*** citypw has joined #yosys13:22
*** strobokopp has joined #yosys13:48
*** emeb has joined #yosys14:19
*** kraiskil has quit IRC15:50
*** jakobwenzel1 has quit IRC15:52
*** kristianpaul has quit IRC15:58
*** kristianpaul has joined #yosys15:58
*** kraiskil has joined #yosys16:21
*** kraiskil has quit IRC16:26
*** az0re has quit IRC16:34
*** kraiskil has joined #yosys16:38
*** Asuu has joined #yosys16:40
*** Asu has quit IRC16:40
*** citypw has quit IRC16:43
*** az0re has joined #yosys16:53
*** kraiskil has quit IRC17:19
*** smkz has joined #yosys17:38
*** kraiskil has joined #yosys17:49
*** kraiskil has quit IRC17:59
*** kraiskil has joined #yosys18:23
*** N2TOH__ is now known as N2TOH18:41
*** maartenBE has quit IRC19:07
*** az0re has quit IRC19:08
*** maartenBE has joined #yosys19:14
*** elGamal has quit IRC20:02
*** az0re has joined #yosys20:04
*** elGamal has joined #yosys20:20
*** elGamal has quit IRC20:25
*** emeb_mac has joined #yosys20:37
*** elGamal has joined #yosys20:44
*** elfGamal has joined #yosys20:48
*** elGamal has quit IRC20:49
*** elGamal has joined #yosys20:56
*** elfGamal has quit IRC20:57
*** elGamal has quit IRC21:07
*** elGamal has joined #yosys21:07
*** elGamal has quit IRC21:12
*** elGamal has joined #yosys21:13
*** kraiskil has quit IRC21:27
*** elGamal has quit IRC21:29
*** elGamal has joined #yosys21:32
*** tux3 has quit IRC21:59
*** carlomaragno has quit IRC21:59
*** carlomaragno has joined #yosys21:59
*** maartenBE has quit IRC22:23
cr1901_moderndaveshah: Would it, in principle, be possible to build an ice40/ecpbram that targets a distributed ROM or "LUTs being used as ROMs" (when a BRAM would be a waste, but you don't want to resynth your design just to change a set of LUT values)?22:25
mwkcr1901_modern: I have something like this on my TODO list22:27
mwkit's... nontrivial22:27
mwkand doing it properly would require cooperation of many levels of the stack22:28
daveshahThe approach icebram etc doesn't work as 16 bits isn't enough entropy22:28
daveshah*icebram etc uses22:28
cr1901_modernI was afraid of that... doesn't _sound_ nontrivial from a 5000 ft. view. Hence why I asked.22:28
mwkwell the idea is simple22:28
* cr1901_modern nods22:28
mwkthread something like "relocation markers" all the way from yosys to some kind of annotation file for the bitstream22:28
mwkbut it requires changing a lot of places22:29
cr1901_modernAhhh, hmmm... well, I'll live without then.22:29
*** elGamal has quit IRC22:29
*** elGamal has joined #yosys22:30
cr1901_modernContext is I have a big ROM whose starting location is indexed by a little ROM. I don't want the little ROM to use BRAM resources for multiple reasons: async read is desireable, and the little ROM's too little anyway.22:30
mwkright22:30
cr1901_modernBut if I change the big ROM's contents, then the chance of little ROM's contents needing to change is very high too :(22:30
mwkwhat I'm saying is... I really like the idea of having something like this, and I know how to do this22:30
cr1901_modernAhhh :D22:31
mwkbut it takes *a lot* of work and needs support from pretty much every piece of software in the chain22:31
cr1901_modernI'll just hardcode little ROM for now and live w/ the inefficiency of missing big ROM entries22:31
mwklots of it per-platform even22:31
mwkI'm toying with the idea of implementing the first part now (since I'm doing a big memory inference rewrite in yosys anyway), but it's going to be pretty useless until we have support in every link of the chain for at least one platform22:32
cr1901_modernwhat would it look like at the source/RTLIL level? An attribute?22:33
mwkyeah, I guess22:33
mwkan attribute of "actually this RAM's init value should be the following bits of this parameter, to be substituted in the future"22:35
cr1901_moderninteresting22:36
mwkmemory inference would need to propagate it correctly when splitting up the RAM to multiple blocks; optimization passes would need to look at it to avoid optimizing things based on the init value; nextpnr would basically need to record all of them in some kind of annotation file produced along with the bitstream that the packer could then use to fill in the values22:36
cr1901_modernOkay, that's definitely a lot of work... I can certainly live without right now.22:37
*** Asu has joined #yosys22:42
*** Asuu has quit IRC22:43
*** maartenBE has joined #yosys23:09
*** maartenBE has quit IRC23:26
*** Asu has quit IRC23:41
*** emeb has quit IRC23:54

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