Saturday, 2021-04-10

*** tpb has joined #symbiflow00:00
*** FFY00_ has quit IRC00:14
*** gsmecher has quit IRC00:33
*** Degi_ has joined #symbiflow00:57
*** Degi has quit IRC01:01
*** Degi_ is now known as Degi01:01
*** FFY00_ has joined #symbiflow01:05
*** curtosis has joined #symbiflow01:25
*** curtosis is now known as curtosis[away]01:25
*** curtosis[away] has quit IRC01:40
*** epony has quit IRC01:57
*** jopdorp has quit IRC02:25
*** jopdorp has joined #symbiflow02:29
*** ric96 has quit IRC02:34
*** ric96 has joined #symbiflow02:35
*** epony has joined #symbiflow02:41
*** cjearls has joined #symbiflow03:45
*** cjearls has quit IRC04:11
*** FFY00_ has quit IRC04:17
*** _filt3r_ has quit IRC04:17
*** litghost has quit IRC04:17
*** emilazy has quit IRC04:17
*** tannewt has quit IRC04:17
*** flokli has quit IRC04:17
*** miek has quit IRC04:17
*** gatecat has quit IRC04:17
*** toshywoshy has quit IRC04:17
*** microcolonel has quit IRC04:17
*** xobs has quit IRC04:17
*** awygle has quit IRC04:17
*** flammit has quit IRC04:17
*** Ultrasauce has quit IRC04:17
*** kmehall_ has quit IRC04:17
*** lopsided98 has quit IRC04:17
*** sorear has quit IRC04:17
*** elms has quit IRC04:17
*** benreynwar has quit IRC04:17
*** y2kbugger has quit IRC04:17
*** gruetzkopf has quit IRC04:17
*** TMM has quit IRC04:17
*** krogozinski has quit IRC04:17
*** tnt has quit IRC04:17
*** afazekas has quit IRC04:17
*** lethalbit has quit IRC04:17
*** ovf has quit IRC04:17
*** cr1901_modern has quit IRC04:17
*** m_hackerfoo has quit IRC04:17
*** jopdorp has quit IRC04:17
*** Degi has quit IRC04:17
*** pakesson has quit IRC04:17
*** maartenBE has quit IRC04:17
*** zyp has quit IRC04:17
*** jopdorp has joined #symbiflow04:18
*** FFY00_ has joined #symbiflow04:18
*** Degi has joined #symbiflow04:18
*** lopsided98 has joined #symbiflow04:18
*** xobs has joined #symbiflow04:18
*** ovf has joined #symbiflow04:18
*** microcolonel has joined #symbiflow04:18
*** toshywoshy has joined #symbiflow04:18
*** gruetzkopf has joined #symbiflow04:18
*** y2kbugger has joined #symbiflow04:18
*** benreynwar has joined #symbiflow04:18
*** elms has joined #symbiflow04:18
*** sorear has joined #symbiflow04:18
*** kmehall_ has joined #symbiflow04:18
*** Ultrasauce has joined #symbiflow04:18
*** flammit has joined #symbiflow04:18
*** awygle has joined #symbiflow04:18
*** lethalbit has joined #symbiflow04:18
*** tnt has joined #symbiflow04:18
*** afazekas has joined #symbiflow04:18
*** krogozinski has joined #symbiflow04:18
*** TMM has joined #symbiflow04:18
*** cr1901_modern has joined #symbiflow04:18
*** gatecat has joined #symbiflow04:18
*** miek has joined #symbiflow04:18
*** tannewt has joined #symbiflow04:18
*** flokli has joined #symbiflow04:18
*** litghost has joined #symbiflow04:18
*** emilazy has joined #symbiflow04:18
*** _filt3r_ has joined #symbiflow04:18
*** m_hackerfoo has joined #symbiflow04:18
*** zyp has joined #symbiflow04:18
*** maartenBE has joined #symbiflow04:18
*** pakesson has joined #symbiflow04:18
*** b33p[m] has quit IRC04:20
*** fevv8[m] has quit IRC04:20
*** promach3 has quit IRC04:20
*** ovf has quit IRC04:20
*** xobs has quit IRC04:21
*** diamondman has quit IRC04:21
*** ric96 has quit IRC04:21
*** unrznbl[m] has quit IRC04:21
*** purhan has quit IRC04:21
*** ric96 has joined #symbiflow04:22
*** diamondman has joined #symbiflow04:23
*** lopsided98 has quit IRC04:24
*** ovf has joined #symbiflow04:27
*** lopsided98 has joined #symbiflow04:28
*** unrznbl[m] has joined #symbiflow04:55
sf-slack<fdarling> @timo.callahan thanks for the tip. I followed that guide and was able to install symbiflow locally in my home folder. After setting up a couple of paths, I was able to build "counter_test" for the (default) basys3. However, I want to actually compile for my MicroNova Mercury 2 board: https://www.cncwiki.org/index.php?title=MicroNova_Mercury_2_FPGA_Development_Board It features an xc7a35tftg256-1 chip, and that isn't05:01
sf-slackin the database. Strangely, that specific device is used as an example in the documentation on how to add a device: https://readthedocs.org/projects/prjxray/downloads/pdf/latest/#page=67 (page 63 or page 67) I guess it's just a version of another chip with fewer pins bonded? There is a bit of a learning curve with this, and I'd appreciate any help!05:01
tpbTitle: MicroNova Mercury 2 FPGA Development Board - CNC Wiki (at www.cncwiki.org)05:01
*** promach3 has joined #symbiflow05:14
*** xobs has joined #symbiflow05:14
*** purhan has joined #symbiflow05:14
*** fevv8[m] has joined #symbiflow05:14
*** b33p[m] has joined #symbiflow05:14
*** epony has quit IRC05:26
*** epony has joined #symbiflow05:26
*** lopsided98 has quit IRC05:47
*** lopsided98 has joined #symbiflow05:49
*** bjorkintosh has joined #symbiflow07:27
sf-slack<fdarling> I think there actually _is_ support for the xc7a35tftg256-1 chip already, I was just having a problem with my .xdc file. I got it to compile and flash, but it isn't working correctly. Progress at least!08:22
sf-slack<fdarling> it seems that the XDC musn't set properties of unused pins with SymbiFlow, though with Xilinx Vivado this is acceptable08:40
*** kgugala_ has joined #symbiflow12:49
*** kgugala has quit IRC12:51
*** purhan has left #symbiflow13:28
*** _whitelogger has quit IRC14:33
*** _whitelogger has joined #symbiflow14:35
*** kgugala_ has quit IRC15:44
*** kgugala has joined #symbiflow15:44
cr1901_modernWhy does xc7 and quicklogic have a techmap directory in symbiflow, as opposed to using techmap from your yosys installation?15:47
*** maartenBE has quit IRC16:22
gatecatcr1901_modern: my understanding is that there are some special rules needed (e.g. around carries) that aren't suitable for upstream  yosys16:24
cr1901_modernI see... I can't seem to get through this builod system... I feel genuinely stuck16:25
cr1901_modernFor instance... the developed families right now seem to distinguish family from arch. For machxo2 devices, this doesn't make sense... it's one family, one arch w/ about 8 devices16:27
*** maartenBE has joined #symbiflow16:28
cr1901_modernWhy does xc7/archs/artix7/devices/ have a bunch of subdirectories that are development-board specific?16:30
mithrocr1901_modern: Probably because we were focused on a single dev board and then expanded things16:31
mithrocr1901_modern: Our work pretty much always starts narrow and then is expanded / make more generic16:33
mithrocr1901_modern: Focus on doing one thing on one board with one part16:33
mithrocr1901_modern: When you get *that* working then worry about expanding it to more board / parts / etc16:33
cr1901_modernAlright. I'll focus on tinyfpga Ax. I'll push the code I have (ignoring my local work, because I want a clean slate now)16:34
cr1901_modernMy goal right now is to get all the CMake infrastructure set up for symbiflow to target TinyFPGA Ax on MachXO2, so nominally I don't need to touch it again. Once I do that, I can start "plumbing" the RE'd database for bits and routing graph through the symbiflow arch() function piecemeal16:36
cr1901_modernDoes this sound like a reasonable goal, or am I going about this the wrong way?16:36
mithroExpecting to never touch the cmake system again is not a goal that is going to particularly help you here16:38
mithroAnd in fact that is probably what is causing your issues with the cmake system...16:39
cr1901_modernhttps://github.com/cr1901/symbiflow-arch-defs/tree/machxo2/machxo2 This is what I have that actually works (my local tree is a mess, so not pushing it right now).16:41
cr1901_modern>Add MachXO2 CMake files into build system except for arch() invocation <-- commit msg16:41
cr1901_modernI intended to put the arch invocation here: https://github.com/cr1901/symbiflow-arch-defs/blob/machxo2/machxo2/facade.cmake#L49. My local changes include adding the yosys conv/synth.tcl scripts so the arch() function actually have something to do.16:42
cr1901_modernfacade.cmake was based on icestorm.cmake. litghost and others have made clear that quicklogic and xc7 are better backends to look at going forward16:42
cr1901_modernOkay, fair enough16:42
sf-slack<timo.callahan> @fdarling Yes you're on the right track, good progress!   Yeah I think you're right about SymbiFlow being a bit pickier.   So maybe now all you need to do is make sure you specify the right package pins for the LED connections, which you should be able to get from a board  schematic.   Does the board have one RGB LED?  Even then you can 'count' with 3 bits connected to the different colors, so you cycle through16:44
sf-slackall 8 combinations.16:44
mithrocr1901_modern: I would suggest doing something like "cp <src> machxo2" and then just start modifying the existing files16:44
*** maartenBE has quit IRC17:55
*** proteusguy has quit IRC17:55
*** anuejn has quit IRC17:55
*** heath has quit IRC17:55
*** maartenBE has joined #symbiflow17:56
*** proteusguy has joined #symbiflow17:56
*** anuejn has joined #symbiflow17:56
*** heath has joined #symbiflow17:56
*** cr1901_modern has quit IRC18:48
*** cr1901_modern has joined #symbiflow18:49
*** adjtm_ has quit IRC19:02
*** adjtm has joined #symbiflow19:15
*** adjtm_ has joined #symbiflow20:04
*** adjtm has quit IRC20:06
sf-slack<fdarling> https://pastebin.com/tFLqtRTj22:07
tpbTitle: MicroNova Mercury 2 with SymbiFlow counter_test attempt - Pastebin.com (at pastebin.com)22:07
sf-slack<fdarling> @timo.callahan that pastebin post above shows what I did to try and get it to work. It compiled and flashed, but the board behaved weird -- the LEDs would be off, then after a few seconds one LED would come on (almost like a really really slow clock?) except the 7-segments nearby on the "Mercury Base Board" were also dimly lit like weak pull-ups, and it wouldn't do anything further. I feel like the bitstream is not at22:09
sf-slackall correct...22:09
sf-slack<fdarling> https://youtu.be/8ky3we8QGAM22:17
sf-slack<fdarling> it doesn't even work if I reduce the test case to: assign leds = 3'b111;22:17
mithrofdarling: There is a flow at j.mp/symbiflow-testing that might help you figure out were the issue is22:21
mithrofdarling: It is also much easier to put everything into a github repo and share that so other people can see exactly what you are doing22:21
sf-slack<fdarling> I am not yet sure what I would need for a minimal working project, since I am not having much success at the moment22:23
mithrofdarling: I'm afraid from your current description there isn't really a lot we can do to help you debug. I can think of *hundreds* of potential things that are going wrong and without the ability to see *exactly* what you are doing and what output you are seeing it is pretty hard to help. Hence why I'm suggesting publishing your current effort so we don't have to guess as many things.22:30
mithrofdarling: Plus we would like you to eventually send your changes to be included, hence it is good to get things moving in that direction anyway.22:31
sf-slack<fdarling> I am not against making a github repo, I am just not quite sure what to put into it at the moment22:32
mithrofdarling: What ever you are trying to run22:32
sf-slack<fdarling> are there minimal examples of "standalone" SymbiFlow projects that reference the tools installed in a home folder?22:32
sf-slack<fdarling> I am using a modified folder in the examples repo (which is quite large)22:32
mithrofdarling: If I understand what you are trying to do, you shouldn't have needed to modify any of the tools, only the example code22:34
*** kgugala has quit IRC22:39
*** kgugala has joined #symbiflow22:40
*** kgugala has quit IRC23:03
*** kgugala has joined #symbiflow23:04

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