Monday, 2022-09-05

*** tpb <tpb!~supybot@underwood.mithis.com> has quit IRC01:00
F4PGASlackBridge<umartinezcorral> @cr1901 see https://github.com/chipsalliance/f4pga/pull/604/files02:06
cr1901So how do I use them from the f4pga-arch-defs repo? The conda environment never downloads them02: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#L2302:25
F4PGASlackBridge<umartinezcorral> Maybe you mean the environments included in the arch-defs tarballs instead?02:25
cr1901umartinezcorral: 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#L5902: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
cr1901yea there seems to be conda_lock.yml and environment.yml02:36
cr1901umartinezcorral: yea using conda_lock.yml didn't work, _but_ your command with environment.yml did update the f4pga pip package02:45
cr1901so that's progress02:45
cr1901I couldn't tell you the difference between the two files, but the Makefile inside f4pga_arch_defs prefers conda_lock.yml02:47
*** lkcl <lkcl!lkcl@freebnc.bnc4you.xyz> has quit IRC02:47
F4PGASlackBridge<umartinezcorral> why did conda_lock not work?02:51
cr1901http://gopher.wdj-consulting.com:70/paste/989355fe-7c0a-42e0-a887-68c6db484d08.txt02:53
cr1901Successful command: http://gopher.wdj-consulting.com:70/paste/755de5bc-fa45-44d2-95f1-cb9013de6fc0.txt02: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
cr1901No worries... I think I'm unstuck at least, which is what I wanted02:58
*** lkcl <lkcl!lkcl@freebnc.bnc4you.xyz> has joined #f4pga03: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
cr1901working environment for development purposes. I build the "dram_test_64x1d_bit" target as a sanity check03:02
cr1901a decent number of my tools are from external repos not part of the conda environment via env var overrides03:03
cr1901(vpr, yosys, etc)03:03
cr1901this is so I can develop on branches03: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.sh03:05
cr1901noted for the future03:05
F4PGASlackBridge<umartinezcorral> https://github.com/chipsalliance/f4pga/blob/main/scripts/prepare_environment.sh#L8303: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
cr1901I 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
cr1901I don't actually _use_ the xilinx backend to develop bitstreams03:06
cr1901f4pga 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
cr1901Also as an aside, machxo2 stuff has been progressing very slowly due to life circumstances beyond my control. But I haven't abandoned it03:11
*** scientes <scientes!~scientes@c-73-11-133-244.hsd1.wa.comcast.net> has joined #f4pga03:29
*** TMM_ <TMM_!hp@amanda.tmm.cx> has quit IRC04:15
*** TMM_ <TMM_!hp@amanda.tmm.cx> has joined #f4pga04:15
*** scientes <scientes!~scientes@c-73-11-133-244.hsd1.wa.comcast.net> has quit IRC06:05
*** jacobk <jacobk!~quassel@wsip-68-15-117-71.ok.ok.cox.net> has joined #f4pga07:20
*** TMM_ <TMM_!hp@amanda.tmm.cx> has quit IRC11:44
*** Raito_Bezarius <Raito_Bezarius!~Raito@wireguard/tunneler/raito-bezarius> has quit IRC11:44
*** balrog <balrog!balrog@user/balrog> has quit IRC11:44
*** nimh <nimh!~masked@mild.embarrassm.net> has quit IRC11:44
*** TMM_ <TMM_!hp@amanda.tmm.cx> has joined #f4pga11:49
*** Raito_Bezarius <Raito_Bezarius!~Raito@wireguard/tunneler/raito-bezarius> has joined #f4pga11:49
*** balrog <balrog!balrog@user/balrog> has joined #f4pga11:49
*** nimh <nimh!~masked@mild.embarrassm.net> has joined #f4pga11:49
*** Raito_Bezarius <Raito_Bezarius!~Raito@wireguard/tunneler/raito-bezarius> has quit IRC11:49
*** Raito_Bezarius <Raito_Bezarius!~Raito@wireguard/tunneler/raito-bezarius> has joined #f4pga12:16
*** TMM_ <TMM_!hp@amanda.tmm.cx> has quit IRC13:55
*** TMM_ <TMM_!hp@amanda.tmm.cx> has joined #f4pga13:56
*** jacobk <jacobk!~quassel@wsip-68-15-117-71.ok.ok.cox.net> has quit IRC17:34
*** jacobk <jacobk!~quassel@wsip-68-15-117-71.ok.ok.cox.net> has joined #f4pga17:47
*** jacobk <jacobk!~quassel@wsip-68-15-117-71.ok.ok.cox.net> has quit IRC17:55
*** rektide_ <rektide_!~rektide@eldergods.com> has quit IRC18:44
*** chexum <chexum!~quassel@gateway/tor-sasl/chexum> has quit IRC21:28
*** chexum <chexum!~quassel@gateway/tor-sasl/chexum> has joined #f4pga21:29
*** chexum <chexum!~quassel@gateway/tor-sasl/chexum> has quit IRC21:33
*** chexum <chexum!~quassel@gateway/tor-sasl/chexum> has joined #f4pga21:33
*** jacobk <jacobk!~quassel@64.189.201.150> has joined #f4pga23:44

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