Monday, 2020-05-25

*** tpb has joined #yosys00:00
*** BinaryLust has joined #yosys00:05
*** rlee287 has joined #yosys00:46
*** citypw has joined #yosys01:17
*** oldtopman has quit IRC02:56
*** oldtopman has joined #yosys02:56
*** rlee287 has quit IRC02:57
*** Degi has quit IRC03:05
*** Degi has joined #yosys03:06
*** az0re has quit IRC03:37
*** az0re has joined #yosys03:39
*** BinaryLust has quit IRC04:17
*** BinaryLust has joined #yosys04:18
*** citypw has quit IRC04:32
*** BinaryLust has quit IRC05:04
*** vidbina has joined #yosys06:21
*** BinaryLust has joined #yosys06:21
*** dys has joined #yosys06:39
*** N2TOH_ is now known as N2TOH_ZZz06:51
*** vidbina has quit IRC06:52
*** emeb_mac has quit IRC06:55
*** jakobwenzel has joined #yosys07:06
*** vidbina has joined #yosys07:15
*** kraiskil_ has joined #yosys07:46
*** kraiskil_ has quit IRC07:49
*** az0re has quit IRC07:50
*** az0re has joined #yosys07:55
*** bouliiii has joined #yosys07:59
*** vidbina has quit IRC08:02
bouliiiiHello, I am trying to solve a strange issue with my icoboard. I am not sure this is a Yosys question even though I am using the icestorm toolchain. Basically, some pins on the board seem defective and output nothings (signal stays low). Repro case is trivial and consists just in trying to output anything on one given pin. Some work fine and some08:06
bouliiiinot at all. Would you get a suggestion to tackle this issue? I am a bit lost and unsure if I should buy a new board.08:06
daveshahIs there anything special about the pins that aren't working?08:10
daveshahAll in one bank for example?08:10
bouliiiiIs there a resource for that?08:10
bouliiiiI was looking yesterday at the db files in icebox but I am not sure this is the right file.08:11
daveshahEither the schematic or if that isn't clear, then the pinout xls from Lattice08:12
bouliiiiOK. I am going to. Also, for any of those faulty pins, I don't see any trace on the back or the front of the board. Does it mean that they go to the same inner layer?08:15
daveshahYes, although it might not be the same layer each time, I don't know the stackup08:17
bouliiiiI looked at it quickly (but not exhaustively). There is no clear pattern unfortunately, The pins I am looking at are mostly bank 0 and bank 1. For each bank, I can find _both_ faulty ones and working ones.08:33
daveshahhttps://github.com/cliffordwolf/icotools/tree/master/examples/pinout08:35
tpbTitle: icotools/examples/pinout at master · cliffordwolf/icotools · GitHub (at github.com)08:35
daveshahShould print the pin name via a 9600 baud UART to each pin08:35
daveshahProbably a good test, if that fails then the board is pretty much definitely trash08:35
daveshahI expect Trenz will be good about returns though, you should just be able to send it back and not need to buy another08:37
*** Asu has joined #yosys08:45
bouliiiiOK. With the logic analyser, I see the correct strings for the OK pins and still flatlines for the faulty ones08:46
daveshahMy guess would be a badly soldered BGA08:49
bouliiiiOK. I am going to contact Trenz and get a new one. Thanks *a lot* for the help!08:52
*** vidbina has joined #yosys08:54
*** dys has quit IRC08:58
*** dys has joined #yosys09:21
*** BinaryLust has quit IRC09:57
*** kraiskil has joined #yosys11:01
*** corecode has quit IRC12:01
*** corecode has joined #yosys12:02
*** corecode has joined #yosys12:04
*** pointfree has quit IRC12:08
*** pointfree has joined #yosys12:10
ZipCPUbouliiii: Beware, there were issues at one point with the IcoBoard's pinouts not quite being accurate.  You might want to check for outputs on the wrong pins as well.12:33
cr1901_moderndaveshah: Could you please review my PR when you get the chance today?12:36
*** citypw has joined #yosys12:37
daveshahcr1901_modern: LGTM, merged12:38
cr1901_moderntyvm for the quick response :P. Now I can merge back into my branch and keep going.12:39
cr1901_modern(If I can stay awake lol)12:39
cr1901_modern>I think splitting them up will be a *net* win overall12:41
cr1901_modernThat was a missed opportunity for a pun12:41
daveshahlol12:41
*** ayazar has joined #yosys12:49
*** bouliiii has quit IRC12:58
*** bouliiii has joined #yosys12:58
bouliiiiZipCPU: we tried the broadcast approach (using latest icestorm and latest db) and I checked them one by one. Still broken.12:59
bouliiiiZipCPU: Also the chip is running hot. I am wondering if this is really expected. I am going to buy a new one anyway. Let's hope I did destroy this one by mistake. At least, I'd like to know how and not repeat it... :-(13:01
*** proteusguy has quit IRC13:04
*** vidbina has quit IRC13:10
bouliiiiZipCPU: actually, is there a possibility that the icebox db is incorrect and the pins are incorrectly assigned ? I have a gamma icoboard but it looks like the pin assignment only depends on the package (ice40-hx8k-ct256). Broken pin assignment would mean that all boards using ice40-hx8k-ct256 would suffer from this issue. I guess this cannot be13:14
bouliiiitrue.13:14
daveshahGiven that the icoboard was mostly tested with the open source tools, that seems very unlikely13:15
*** FFY00 has quit IRC13:15
*** FFY00 has joined #yosys13:16
ZipCPUI'm going to agree with daveshah here.  I have an icoboard that I then tested with open source tools.13:16
*** proteusguy has joined #yosys13:17
bouliiiiZipCpu: for example, C13 and A15 output nothing for me. Whatever I tried. One PMOD (B11, B10...) is also always low. If you have any of this working, I guess the board is broken. I bought it long time ago though and only got the change to use it recently.13:18
bouliiiiThe board itself is amazing. It is such a pleasure to work with.13:19
*** freemint has joined #yosys13:24
*** kgugala_ has quit IRC13:56
*** az0re has quit IRC14:06
*** kgugala has joined #yosys14:07
ZipCPUbouliiii: Those two pins are not pins I have worked with14:25
ZipCPUI do know that claire had at one time built a design around outputting a repeating (but different) character out every single pin using a serial port.  That allowed him to probe and double check all of the pinouts on the board after I had initially found problems with them14:26
ZipCPUI'm sure if you look hard enough through the demo designs you might find that one14:27
ZipCPUMost of my work was with PMods, hence why I didn't check those values14:27
*** jfcaron has joined #yosys14:40
bouliiiiZipCPU: this sample has been mentioned by daveshah. I tried it and all OK pins output the right string and all KO pins output _nothing_ (that is not even an incorrect string, just nothing). I just bought a new board. The mystery will be soon solved (or not... if the new board shows the same issue :D)14:43
ZipCPUIf that example had problems, then my guess is that there's a hardware issue with your board14:44
ZipCPUI look forward to hearing how well the new board meets your requirements ;)14:44
*** vidbina has joined #yosys15:05
*** freemint has quit IRC15:44
*** jakobwenzel has quit IRC15:56
*** dys has quit IRC16:12
*** Stary- is now known as Stary16:28
*** citypw has quit IRC16:44
*** X-Scale` has joined #yosys16:51
*** X-Scale has quit IRC16:52
*** X-Scale` is now known as X-Scale16:52
*** FFY00 has quit IRC18:16
*** FFY00 has joined #yosys18:17
*** N2TOH_ZZz is now known as N2TOH18:18
*** kgugala has quit IRC18:49
*** kgugala has joined #yosys18:50
*** az0re has joined #yosys19:20
*** vidbina has quit IRC19:30
*** BinaryLust has joined #yosys20:11
*** ayazar has quit IRC20:21
*** emeb has joined #yosys20:23
*** rlee287 has joined #yosys21:10
*** jfcaron has quit IRC21:23
*** kraiskil has quit IRC21:53
*** Asu has quit IRC22:08
*** dys has joined #yosys22:16
*** BinaryLust has quit IRC22:57
*** N2TOH_ has joined #yosys23:21
*** N2TOH has quit IRC23:24

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