Friday, 2021-01-22

*** tpb has joined #symbiflow00:00
*** ASHR has joined #symbiflow00:31
*** xtro has quit IRC00:40
*** xtro has joined #symbiflow00:57
*** vup2 is now known as vup01:07
*** citypw has joined #symbiflow01:57
*** bjorkint0sh has joined #symbiflow02:55
*** bjorkintosh has quit IRC02:58
*** citypw has quit IRC03:49
*** citypw_ has joined #symbiflow03:49
*** Degi_ has joined #symbiflow03:56
*** Degi has quit IRC03:58
*** Degi_ is now known as Degi03:58
*** ASHR has quit IRC04:19
*** ym has quit IRC04:48
*** ym has joined #symbiflow04:48
*** ASHR has joined #symbiflow06:07
*** hansfbaier has joined #symbiflow07:14
*** QDX45 has quit IRC07:43
*** drawkula has joined #symbiflow08:06
*** yeti has quit IRC08:09
*** drawkula is now known as yeti08:10
*** ASHR has quit IRC08:11
*** xtro has quit IRC08:14
*** citypw_ has quit IRC08:49
*** ovf has quit IRC09:14
*** ovf has joined #symbiflow09:15
*** unrznbl[m] has quit IRC09:17
*** xobs has quit IRC09:17
*** Niklas[m]2 has quit IRC09:21
*** abeljj[m] has quit IRC09:21
*** promach3 has quit IRC09:21
*** hansfbaier has quit IRC09:43
*** SmutLord^ has quit IRC09:58
*** SmutLord^ has joined #symbiflow09:58
*** abeljj[m] has joined #symbiflow10:09
*** mkru has joined #symbiflow10:23
*** mkru has quit IRC10:29
*** promach3 has joined #symbiflow10:34
*** xobs has joined #symbiflow10:34
*** unrznbl[m] has joined #symbiflow10:34
*** Niklas[m]1 has joined #symbiflow10:34
*** sadoon_albader has joined #symbiflow12:12
*** sadoon_albader has quit IRC12:13
*** gromero has quit IRC12:47
*** gromero has joined #symbiflow12:48
*** gromero_ has joined #symbiflow12:51
*** gromero has quit IRC12:51
*** ym_ has joined #symbiflow12:52
*** gromero has joined #symbiflow12:54
*** ym has quit IRC12:55
*** gromero_ has quit IRC12:57
*** infinite_recursi has joined #symbiflow13:15
infinite_recursiIs there a difference between iceprog and iceprogduino wrt hx8k olimex board13:16
infinite_recursi?13:16
infinite_recursiI do have iceprog in my installed icestorm but do not have iceprogduino. The makefile has command, iceprogduino13:17
*** infinite_recursi has quit IRC13:39
*** gromero_ has joined #symbiflow14:18
*** gromero has quit IRC14:19
*** kraiskil has joined #symbiflow16:48
*** kraiskil has quit IRC17:17
lambdaturns out arch-defs takes a pretty insane amount of RAM to build, I guess I'll have to use binaries :p are there any more canonical download links for the tarballs mentioned in https://symbiflow-examples.readthedocs.io/en/latest/getting-symbiflow.html#toolchain-installation?17:37
tpbTitle: Getting SymbiFlow SymbiFlow examples documentation (at symbiflow-examples.readthedocs.io)17:37
sf-slack<acomodi> lambda: there are latest valid links, generated only if all CIs went green17:39
sf-slack<acomodi> lambda: https://console.cloud.google.com/storage/browser/symbiflow-arch-defs-gha;tab=objects?authuser=0&prefix=&forceOnObjectsSortingFiltering=false17:39
tpbTitle: Google Cloud Platform (at console.cloud.google.com)17:39
lambdaacomodi: interesting, is it possible to get at that information without a google account though?17:47
sf-slack<acomodi> I think that using GCS APIs should let you get there17:50
sf-slack<acomodi> even without an account17:50
lambdano, doesn't look like unauthorized requests can get you anything - and those files don't have public URLs either way18:02
litghostlambda: https://storage.googleapis.com/symbiflow-arch-defs-gha/symbiflow-xc7a50t_test-latest should be a fully public URL18:13
litghostThe URL in that file should also be fully public, but might not be?18:14
lambdayeah that works, how did you get that URL? https://console.cloud.google.com/storage/browser/_details/symbiflow-arch-defs-gha/symbiflow-xc7a50t_test-latest shows "Public URL: Not applicable"18:15
tpbTitle: Google Cloud Platform (at console.cloud.google.com)18:15
litghostThere is a "Public URL" and an "Authenticated URL"18:16
litghostFrom the GCP bucket display18:16
litghostIf the documentation is pointing to the "Authenticated URL", that is a mistake18:16
litghostFor reference the "Authenticated URL" for that same file is https://storage.cloud.google.com/symbiflow-arch-defs-gha/symbiflow-xc7a50t_test-latest?authuser=018:17
tpbTitle: Sign in - Google Accounts (at storage.cloud.google.com)18:17
lambdaright, I was looking at the GCP bucket, but it's not showing me any public URLs18:17
litghostSo the bucket was intented to expose public URLs, but if that isn't what is happening, that is problematic18:17
litghostYay debugging18:18
-_whitenotifier- [symbiflow-docs] litghost opened issue #429: Documentation should provide directions to get latest arch-defs? - https://git.io/Jt3ob18:21
*** xtro has joined #symbiflow19:31
*** ayazar1 has joined #symbiflow19:32
*** ayazar1 has quit IRC19:49
*** ayazar1 has joined #symbiflow19:49
*** ayazar1 has quit IRC19:55
*** kraiskil has joined #symbiflow20:20
*** alexhw has quit IRC20:25
lambdawhere does prjxray-config come from (https://github.com/SymbiFlow/symbiflow-arch-defs/blob/master/xc/xc7/toolchain_wrappers/symbiflow_synth#L93)? I can't find it in prjxray or prjxray-db.20:26
litghostIt's a way for packaging to provide the path to prjxray-db, one minute20:44
litghosthttps://github.com/litex-hub/litex-conda-eda/blob/df253ae4d38761b3c5d6a618099ceeaa79669a7d/bit/prjxray-db/build.sh#L19-L2020:46
lambdaoh, that's fairly straightforward :p20:47
*** tpb has joined #symbiflow21:29
*** xtro has quit IRC21:39
*** nickoe has joined #symbiflow21:54
nickoehello21:54
*** kraiskil has quit IRC22:20
nickoeWhy does the symbiflow-examples and symbiflow-arch-defs have different ways to "init" the dependenceis, as far as I can see both use conda stuff. The examples project uses miniconda directly while the arch-defs project has "make env" and does magic in there.22:25
nickoecan't the examples and arch-defs use the same shared install env?22:27
litghostThey are the same under the hood in the sense that it downloads miniconda and creates an environment22:36
litghostYou don't have to use the wrappers for setting up the env, and the other parts of the build system doesn't actually care how the environment is created22:37
litghostIf you invoke cmake (for arch-defs) within an environment with the right dependencies, it should just "work"22:37
litghostSame more or less for symbiflow-examples22:38
nickoeI am just slightly confused by the simarilatires yet differences22:40
nickoeI am trying to see if I can get an example working for the basys322:40
litghostIf you want to simplest example, I would just follow the instructions from symbiflow-examples22:42
litghostThat should work, we actually test those instructions in CI22:42
litghostIf you want to try re-use a conda env, you might get off the beaten path a bit22:42
litghostBut you should be able to re-use the environment if you wanted too22:43
nickoerunning TARGET="basys3" make -C counter_test   now22:43
nickoeyay, there is a counter runnig22:44
nickoeIt describes https://symbiflow-examples.readthedocs.io/en/latest/building-examples.html22:47
tpbTitle: Building example designs SymbiFlow examples documentation (at symbiflow-examples.readthedocs.io)22:47
nickoeoh the gpio sutf is for another board22:47
nickoeIs the litex demo too big for the basys3 board os it just becasue it has no ethrenet?22:48
nickoelitghost: Do you know anything about the picosoc example? Can one build c firmware for it?22:55
nickoeI don't see any c file in the example22:55
litghostThe firmware is currently encoded in verilog: https://github.com/SymbiFlow/symbiflow-examples/blob/476521430a7c8c33a5436cfaa87d933fdbfa882e/xc7/picosoc_demo/progmem.v#L2723:04
litghostThe tool for generating the verilog is here: https://github.com/SymbiFlow/symbiflow-arch-defs/blob/master/tests/9-soc/picosoc/hex2progmem.py23:05
litghostAnd the firmware is over here: https://github.com/SymbiFlow/symbiflow-arch-defs/blob/master/tests/9-soc/picosoc/firmware/Makefile23:05
litghostThe idea in symbiflow-examples was to side step the firmware side to focus on the P&R side23:06
litghostI believe the litex demo is just the ethernet port23:06
litghostthe arty and basys both use a similiar size fabric23:06
nickoelitghost: ah, pretty cool I was wondering a moment about that array in that progmem.v, but I guesssed it was some rom code.23:09
nickoeso in principle the litex exsample should aslo work wiht uart console?23:09
*** SmutLord^ has quit IRC23:09
*** SmutLord^ has joined #symbiflow23:10
litghostI also believe the arty has DDR, and the basys3 doesn't23:10
litghostBut don't quote me on that23:10
nickoeprobably23:11
litghostYa, I just double checked23:11
litghostThe whole idea behind the LiteX Linux SoC really relies on external DRAM23:11
litghostI bet you could finagle the Litex Linux SoC demo on the basys3, but you'd run out of BRAM really fast23:12
nickoeanyway, it looks like I could figure outhow to run the examples. I guess next step is to figoure out how to properly simulate the counter example and get the logic analyzer plots. Is it only gtk wave people use?23:12
litghostgtk wave only shows outputs I believe23:13
litghostverilator or iverilog is required to generate the waveforms23:13
nickoelitghost: I am pretty new to FPGA, although it was years back I learned some23:13
nickoeSo first I need to get used to the workflow and actually plot some veriflog bits together.23:14
nickoethe examples site does not describe simulation23:14
litghostSo pre-synthesis simulation definitely works.  Post-synthesis and post-place and route simulation is hit or miss.  We have an issue to improve the situation23:14
litghosthttps://github.com/SymbiFlow/symbiflow-arch-defs/issues/173423:14
nickoemmm, I have no idea if I want pre or post synth sim23:15
nickoeI just want to know if I verilog is any good :S23:15
litghostPre-synthesis simulation is probably fine then23:15
litghosthttp://iverilog.icarus.com/23:16
nickoeCan you please remind me what the real difference is? Do you get timging skew with post synth or something? I guess post synth must add some more details to the sim?23:16
litghostPre-synthesis is in the abstract verilog machine, post-synthesis everything has been lowered to real FPGA primitivies23:17
*** QDX45 has joined #symbiflow23:17
nickoeSome friends made some small modules they test with verilator tb23:17
nickoeso my idea was to try to plot those in a proper project23:17
litghostPost-place and route typically includes actually delays, but you can do without too23:17
nickoeactually wanted to do it in vivdo, but then I saw that vivado prjects were a mess in git, so I though I might just try  symbiflow and see how far I can get.23:18
litghostGreat, let us know how it goes!23:19
litghostFYI, vivado projects aren't too awful in git, but we are always excited to have people try out the toolchain23:21
litghostThe key is to just re-create the project in tcl everytime23:21
litghostExample: https://github.com/SymbiFlow/prjxray/blob/master/minitests/hamsternz-displayport/Makefile23:21
nickoeyeah, that I also figured by some of the top hits on google, but just exporting it  and such gave absolute paths to the verilog files and I sorta just gave up23:24
nickoeBut just given tht symbiflow is fater to install,... if it works it works :D23:24
litghost:D23:25
nickoeand is FOSS sooo +++23:25
litghostWord of warning, QoR from symbiflow is going to be worse than Vivado, so don't push the critical path if you can avoid it23:25
nickoeThis is for an SDR transmit only radio, I don't think that will be that demanding to the artix, but I don't reeallly know as I have littel experince with it.23:26
litghostGood luck!23:26
nickoeBut the plan is just to pump stuff to an external DAC and get it to do what we want as a start.23:26
litghostThat should definitely be doable23:27
nickoebut as I understand the toolchain, I could use the vivado pnr stuff if needed?23:27
litghostSo we use yosys on for synthesis, and you can have yosys output an edif for consumption with Vivado PnR23:27
nickoegreat23:28
nickoeit is getting late here, but I will try to give it a stab tomorrow agian23:28

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