Sunday, 2021-01-10

*** tpb has joined #yosys00:00
*** kristianpaul has quit IRC00:01
*** kristianpaul has joined #yosys00:02
*** lf has quit IRC00:13
*** lf has joined #yosys00:13
*** FL4SHK has quit IRC02:15
*** FL4SHK has joined #yosys02:16
*** FFY00 has quit IRC03:32
*** FFY00 has joined #yosys03:32
*** Degi has quit IRC04:19
*** Degi has joined #yosys04:19
*** jfcaron has quit IRC05:19
*** FL4SHK has quit IRC06:52
*** emeb_mac has quit IRC06:54
*** FL4SHK has joined #yosys06:55
*** stzsch has quit IRC07:00
*** kraiskil has joined #yosys07:15
*** srk has quit IRC07:36
*** elGamal has joined #yosys07:49
*** srk has joined #yosys08:02
*** FL4SHK has quit IRC08:18
*** FL4SHK has joined #yosys08:18
*** citypw has joined #yosys08:43
*** kraiskil has quit IRC08:57
*** kraiskil has joined #yosys08:59
*** kraiskil has quit IRC10:11
*** gmc has quit IRC10:18
*** srk has quit IRC10:34
*** srk has joined #yosys10:35
*** citypw has quit IRC11:06
*** citypw has joined #yosys11:09
*** citypw has quit IRC11:16
*** citypw has joined #yosys11:19
*** vidbina_ has joined #yosys11:28
*** citypw has quit IRC11:46
*** citypw has joined #yosys11:52
*** s_frit_ has joined #yosys12:01
*** s_frit has quit IRC12:02
*** kraiskil has joined #yosys12:17
*** kraiskil has quit IRC13:00
*** show1 has quit IRC13:49
*** citypw has quit IRC14:45
*** kraiskil has joined #yosys14:50
*** lansiir has quit IRC15:15
*** s_frit has joined #yosys15:16
*** lansiir has joined #yosys15:16
*** vidbina_ has quit IRC15:17
*** s_frit_ has quit IRC15:18
*** vidbina_ has joined #yosys15:43
*** kraiskil has quit IRC16:14
*** FFY00 has quit IRC16:49
*** FFY00 has joined #yosys16:50
*** srk has quit IRC16:52
*** emeb has joined #yosys16:53
*** show has joined #yosys17:04
*** kraiskil has joined #yosys17:11
*** srk has joined #yosys17:20
*** moony has quit IRC17:41
*** moony has joined #yosys17:41
*** jfcaron has joined #yosys18:16
*** FL4SHK has quit IRC18:39
*** FL4SHK has joined #yosys18:39
*** vidbina_ has quit IRC19:30
*** peepsalot has quit IRC19:54
*** peepsalot has joined #yosys20:17
*** emeb_mac has joined #yosys20:43
*** peepsalot has quit IRC20:51
*** peepsalot has joined #yosys20:53
*** kraiskil has quit IRC21:00
awyglewhat kind of error does `ERROR: Failed to pack flipflop 'pin_ddr2_0__dq.U$$32' with 'syn_useioff' set into IOLOGIC.` from nextpnr-ecp5 indicate?21:39
awyglelike obviously there's something wrong with the pin mapping/constraints but an idea of what to look at would be very helpful if somebody has one21:39
tntYou asked for a FF to be packed in the IO block and it's unable to do that.21:43
awygleis there a way i can get more information about why it was unable to do so?21:47
tntNot that I know.21:52
tntBasically open the .json file, find that FF, and how it's configured and try to figure out why it wouldn't be packable.21:53
tntWhere is that design from ?21:54
*** peeps[zen] has joined #yosys21:55
awyglei wrote it21:55
awygleit's a 4x DDR output21:56
awygleso not hugely surprising that i configur3ed it wrong21:56
awyglebut i wrote it in nmigen so there's a fair bit of stuff between me and waht's actually happening21:56
awyglewhich is why i was hoping to get a few more pointers from nextpnr et al21:56
*** peeps[zen] has quit IRC21:57
*** peepsalot has quit IRC21:57
*** peepsalot has joined #yosys21:58
daveshahTristate registers and 4:1 aren't supported at all22:06
awygleoh. well... that's probably why then22:06
daveshahDiamomd doesn't support bidirectional 4:1 at all. nextpnr supports it based on empirical testing on a best effort basis22:06
awyglediamond has those weird primitives for memory specifically, can i use those?22:07
daveshahYes, you have to use those22:07
tntbut you need all the DQS stuff for those.22:07
awygleand based on looking at the code nmigen doesn't automagic them22:07
awyglewhich makes sense i spose22:07
tntit's not a generic 4:122:07
daveshahThe choice is basically use 2:1 IO, use 4:1 IO with nextpnr only or use 4:1 with the DQS stuff for both tools22:08
daveshahI don't know why Diamond doesn't support 4:1 bidirectional, it is possible that the hardware is subtly broken22:08
awyglei mean i am only using nextpnr22:08
daveshahI know it works well enough in nextpnr for Greg to get a HyperRAM core working though22:08
daveshahYeah but sometimes it's useful to test in Diamond too22:09
awygleit does seem pretty dumb that diamond doesn't support generic 4:1 bidir but :shrug: i guess22:09
tntAnd in nextpnr, how is the tristate controlled when using 4:1 ? is it packed ?22:09
daveshahNo, it isn't22:10
daveshahFrom what I know of the hardware I doubt a tristate reg with 4:1 IO but I haven't tested, right now it just errors22:10
awygleso i need to do dir='-' in nmigen and manually glue the Instances of the memory primitives together, then?22:11
daveshahAfraid so22:11
tntyeah, I guess it'd be like DDR when you only control it at clk_1x, but for DDR you can still pack it, so at least it toggles "in-sync".22:11
awyglemk, that's fine22:11
awyglethanks for letting me know22:11
*** modwizcode has quit IRC22:37
*** emeb has left #yosys22:38

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