*** tpb <tpb!~supybot@underwood.mithis.com> has quit IRC | 01:00 | |
F4PGASlackBridge | <umartinezcorral> @cr1901 see https://github.com/chipsalliance/f4pga/pull/604/files | 02:06 |
---|---|---|
cr1901 | So how do I use them from the f4pga-arch-defs repo? The conda environment never downloads them | 02:17 |
F4PGASlackBridge | <umartinezcorral> @cr1901 maybe you need to update the environment? The one in f4pga-arch-defs installs 'main' f4pga. See https://github.com/f4pga/f4pga-arch-defs/blob/main/conda_lock.yml#L107 and https://github.com/f4pga/f4pga-arch-defs/blob/main/requirements.txt#L23 | 02:25 |
F4PGASlackBridge | <umartinezcorral> Maybe you mean the environments included in the arch-defs tarballs instead? | 02:25 |
cr1901 | umartinezcorral: I confess that I do most of my building through a script and don't usually touch the conda environment. How do I update conda? | 02:28 |
F4PGASlackBridge | <umartinezcorral> @cr1901 I did never try it myself (I typically remove the existing env and create a new one) but I guess it's `conda env update` : https://github.com/chipsalliance/fpga-tool-perf/blob/main/Makefile#L59 | 02:34 |
F4PGASlackBridge | <umartinezcorral> So, from the root of f4pga-arch-defs, it should be `conda env update --name f4pga_arch_def_base --file ./environment.yml` | 02:35 |
cr1901 | yea there seems to be conda_lock.yml and environment.yml | 02:36 |
cr1901 | umartinezcorral: yea using conda_lock.yml didn't work, _but_ your command with environment.yml did update the f4pga pip package | 02:45 |
cr1901 | so that's progress | 02:45 |
cr1901 | I couldn't tell you the difference between the two files, but the Makefile inside f4pga_arch_defs prefers conda_lock.yml | 02:47 |
*** lkcl <lkcl!lkcl@freebnc.bnc4you.xyz> has quit IRC | 02:47 | |
F4PGASlackBridge | <umartinezcorral> why did conda_lock not work? | 02:51 |
cr1901 | http://gopher.wdj-consulting.com:70/paste/989355fe-7c0a-42e0-a887-68c6db484d08.txt | 02:53 |
cr1901 | Successful command: http://gopher.wdj-consulting.com:70/paste/755de5bc-fa45-44d2-95f1-cb9013de6fc0.txt | 02:53 |
cr1901 | (Alternate answer: Conda is 5-dimensional magic that I have yet to understand) | 02:55 |
F4PGASlackBridge | <umartinezcorral> Interesting... I guess it's because of https://github.com/f4pga/f4pga-arch-defs/blob/main/requirements.txt#L25 and https://github.com/f4pga/f4pga-arch-defs/blob/main/conda_lock.yml#L153, but I don't understand the details. | 02:58 |
cr1901 | No worries... I think I'm unstuck at least, which is what I wanted | 02:58 |
*** lkcl <lkcl!lkcl@freebnc.bnc4you.xyz> has joined #f4pga | 03:00 | |
F4PGASlackBridge | <umartinezcorral> @cr1901 are you using the f4pga-arch-defs environment because you run the tools in that repo? Or are you using it only to get a working environment to generate bitstreams for xilinx devices (only)? | 03:01 |
cr1901 | working environment for development purposes. I build the "dram_test_64x1d_bit" target as a sanity check | 03:02 |
cr1901 | a decent number of my tools are from external repos not part of the conda environment via env var overrides | 03:03 |
cr1901 | (vpr, yosys, etc) | 03:03 |
cr1901 | this is so I can develop on branches | 03:03 |
F4PGASlackBridge | <umartinezcorral> Then, you might want to use the environment that is included in arch-defs tarballs, rather than the one in the arch-defs repo. It should contain stuff for xc7 only, while the repo contains dependencies for all the families/devices. | 03:04 |
F4PGASlackBridge | <umartinezcorral> See https://github.com/chipsalliance/f4pga/blob/main/scripts/prepare_environment.sh | 03:05 |
cr1901 | noted for the future | 03:05 |
F4PGASlackBridge | <umartinezcorral> https://github.com/chipsalliance/f4pga/blob/main/scripts/prepare_environment.sh#L83 | 03:05 |
F4PGASlackBridge | <umartinezcorral> However, the environment in the arch-defs tarballs does NOT install f4pga by default. You need to `pip install` it after creating the env. | 03:05 |
cr1901 | I develop machxo2 stuff on a separate branch... of course the xilinx backend is the most developed, so every week I run a test run of the xilinx backend to make sure my scripts don't break by surprise (and rebase as necessary) | 03:06 |
cr1901 | I don't actually _use_ the xilinx backend to develop bitstreams | 03:06 |
cr1901 | f4pga has a bunch of moving parts, and I've found it difficult to follow the cmake logic, let alone "make sure I can develop using external tools while tracking the repo's evolution" | 03:07 |
F4PGASlackBridge | <umartinezcorral> Yes. We are moving the scripts (python, tcl, shell) from arch-defs tarballs to f4pga so we can better understand what we have, and hopefully generate documentation for all the "utils" through argparse. As a result, the content of arch-defs should be reduced to generating, testing and releasing the tarballs, which should help simplify the cmake crazyness. | 03:10 |
cr1901 | Also as an aside, machxo2 stuff has been progressing very slowly due to life circumstances beyond my control. But I haven't abandoned it | 03:11 |
*** scientes <scientes!~scientes@c-73-11-133-244.hsd1.wa.comcast.net> has joined #f4pga | 03:29 | |
*** TMM_ <TMM_!hp@amanda.tmm.cx> has quit IRC | 04:15 | |
*** TMM_ <TMM_!hp@amanda.tmm.cx> has joined #f4pga | 04:15 | |
*** scientes <scientes!~scientes@c-73-11-133-244.hsd1.wa.comcast.net> has quit IRC | 06:05 | |
*** jacobk <jacobk!~quassel@wsip-68-15-117-71.ok.ok.cox.net> has joined #f4pga | 07:20 | |
*** TMM_ <TMM_!hp@amanda.tmm.cx> has quit IRC | 11:44 | |
*** Raito_Bezarius <Raito_Bezarius!~Raito@wireguard/tunneler/raito-bezarius> has quit IRC | 11:44 | |
*** balrog <balrog!balrog@user/balrog> has quit IRC | 11:44 | |
*** nimh <nimh!~masked@mild.embarrassm.net> has quit IRC | 11:44 | |
*** TMM_ <TMM_!hp@amanda.tmm.cx> has joined #f4pga | 11:49 | |
*** Raito_Bezarius <Raito_Bezarius!~Raito@wireguard/tunneler/raito-bezarius> has joined #f4pga | 11:49 | |
*** balrog <balrog!balrog@user/balrog> has joined #f4pga | 11:49 | |
*** nimh <nimh!~masked@mild.embarrassm.net> has joined #f4pga | 11:49 | |
*** Raito_Bezarius <Raito_Bezarius!~Raito@wireguard/tunneler/raito-bezarius> has quit IRC | 11:49 | |
*** Raito_Bezarius <Raito_Bezarius!~Raito@wireguard/tunneler/raito-bezarius> has joined #f4pga | 12:16 | |
*** TMM_ <TMM_!hp@amanda.tmm.cx> has quit IRC | 13:55 | |
*** TMM_ <TMM_!hp@amanda.tmm.cx> has joined #f4pga | 13:56 | |
*** jacobk <jacobk!~quassel@wsip-68-15-117-71.ok.ok.cox.net> has quit IRC | 17:34 | |
*** jacobk <jacobk!~quassel@wsip-68-15-117-71.ok.ok.cox.net> has joined #f4pga | 17:47 | |
*** jacobk <jacobk!~quassel@wsip-68-15-117-71.ok.ok.cox.net> has quit IRC | 17:55 | |
*** rektide_ <rektide_!~rektide@eldergods.com> has quit IRC | 18:44 | |
*** chexum <chexum!~quassel@gateway/tor-sasl/chexum> has quit IRC | 21:28 | |
*** chexum <chexum!~quassel@gateway/tor-sasl/chexum> has joined #f4pga | 21:29 | |
*** chexum <chexum!~quassel@gateway/tor-sasl/chexum> has quit IRC | 21:33 | |
*** chexum <chexum!~quassel@gateway/tor-sasl/chexum> has joined #f4pga | 21:33 | |
*** jacobk <jacobk!~quassel@64.189.201.150> has joined #f4pga | 23:44 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!