Wednesday, 2025-02-12

*** tpb <[email protected]> has joined #yosys00:00
*** so-offish <so-offish!~so-offish@2610:148:610:2b10::8c> has joined #yosys00:07
*** so-offish <so-offish!~so-offish@2610:148:610:2b10::8c> has quit IRC (Ping timeout: 276 seconds)00:49
philtorWhy to the latest builds of oss-cad-suite not include nextpnr-gowin ?01:31
philtorfor example, I find one in the 20230210 release build, but not in later ones from 2024 or from today.01:33
philtors/to/do/ 01:36
*** bjorkintosh <bjorkintosh!~bjork@2600:1700:5400:c80:508b:3d76:5649:ca39> has joined #yosys01:59
*** whitequark[cis] <whitequark[cis]!whitequark@2a01:4f8:c012:5b7:0:1:0:4> has joined #yosys02:04
whitequark[cis]nextpnr-gowin is deprecated and slated for removal, use nextpnr-himbaechel02:04
philtorOk, trying that. seems like several options like --family and --cst are deprecated in nextpnr-himbaechel02:23
philtorI have (from the makefile for this example): nextpnr-himbaechel --json counter.json --write counter_pnr.json --freq 27 --device GW1NR-LV9QN88PC6/I5  --cst tangnano9k.cst02:23
*** famubu[m] <famubu[m]!famubumatr@2a01:4f8:c012:5b7:0:1:0:3ba> has joined #yosys02:25
famubu[m]You can use like this instead: nextpnr-himbaechel --device GW1NR-LV9QN88PC6/I5 --vopt family=GW1N-9C --vopt cst=tangnano9k.cst 02:25
philtorack... core dumpts. it seems I should just stick with the older nextpnr-gowin 02:27
philtorthat's probably why they recommend the 2023 02 10 release build in the Lushay tang nano 9K tutorial02:31
philtor... back to that one02:31
philtorah, 2024_2_16 build of nextpnr-himbaechel works with that commandline. The one that core dumps is today's build.02:35
philtor2025_2_1102:35
*** bjorkintosh <bjorkintosh!~bjork@user/bjorkintosh> has quit IRC (Quit: "Every day, computers are making people easier to use." David Temkin)02:39
whitequark[cis]nextpnr-gowin has known routing bugs that completely break designs02:53
philtorI'll file the bug on nextpnr github02:57
philtorI just had the idea that maybe the core dump resulted because I was using the counter.json created from that 2023 version of yosys, but just tried it with today's build's yosys and got the same result (core dump) from nextpnr-himbaechel02:59
philtorOh, sorry, looks like a dup. Maybe a problem with how they're building it in oss-cad-suite? (based on the comments in #1452)03:10
famubu[m]I had been trying to build nextpnr from source to get the latest nextpnr-himbaechel. But got error saying it can't find a header file x86_64-linux-gnu/python3.9/pyconfig.h though it is present in  /usr/include/x86_64-linux-gnu/python3.9/. Any idea how the compiler can be made to use that header file?03:30
famubu[m]I had mentioned it in this issue: https://github.com/YosysHQ/nextpnr/issues/144603:30
whitequark[cis]I've never seen this error; it also seems specific to your system03:49
whitequark[cis]you could simply disable Python03:49
famubu[m]How can I disable python? And what features will be unavailable if python is disabled?04:06
famubu[m]I needed apycula for a gowin fpga04:07
famubu[m]<philtor> "ah, 2024_2_16 build of nextpnr-..." <- Can we download already built executables from somewhere?04:10
whitequark[cis]cmake -DBUILD_PYTHON=OFF04:11
*** bjorkintosh <bjorkintosh!~bjork@2600:1700:5400:c80:508b:3d76:5649:ca39> has joined #yosys04:15
*** xutaxkamay <[email protected]> has quit IRC (Ping timeout: 268 seconds)05:07
*** xutaxkamay <xutaxkamay!~xutaxkama@2a01:e0a:a7e:1050:4488:3146:d3e2:bba0> has joined #yosys05:13
famubu[m]Thanks. I was able to build it with that.05:59
famubu[m]I then tried build/nextpnr-himbaechel --json counter.json --freq 27 --write counter_pnr.json   --device GW1NR-LV9QN88PC6/I5 -l pnr.log --report report.json   --vopt family=GW1N-9C --vopt cst=tangnano9k.cst   --placed-svg placed.svg   --routed-svg routed.svg with a simple ring counter file.05:59
famubu[m]But the placed.svg and routed.svg files are blank. Any idea why?06:00
famubu[m]The input files are as mentioned at https://github.com/YosysHQ/nextpnr/issues/144606:00
famubu[m]Could it be because the design is too trivial?06:00
*** lofty[m] <lofty[m]!loftyfield@2a01:4f8:c012:5b7:0:1:0:570> has joined #yosys06:02
lofty[m]I mean, they're purely aesthetic anyway06:02
famubu[m]I kind of wanted to see what the images generated by nextpnr would look like.06:03
famubu[m]The body of the svg file is this: `<rect x="0" y="0" width="100%" height="100%" stroke="#fff" fill="#fff"/>`06:04
*** FabM <FabM!~FabM@armadeus/team/FabM> has joined #yosys07:26
*** kristianpaul <kristianpaul!~paul@user/kristianpaul> has quit IRC (Read error: Connection reset by peer)08:03
*** kristianpaul <kristianpaul!~paul@user/kristianpaul> has joined #yosys08:04
*** _whitelogger <[email protected]> has quit IRC (Ping timeout: 260 seconds)08:12
*** _whitelogger_ <[email protected]> has joined #yosys08:12
gatecatthis will be because himbaechel-gowin doesn't have any graphical data yet08:38
*** Wolfvak <Wolfvak!~Wolfvak@user/wolfvak> has quit IRC (Quit: ZNC - https://znc.in)09:20
*** Wolfvak <Wolfvak!~Wolfvak@user/wolfvak> has joined #yosys09:22
famubu[m]<gatecat> "this will be because himbaechel..." <- How can such data be made for use by himbaechel?09:24
gatecatfamubu[m]: it's basically a case of implementing these APIs: https://github.com/YosysHQ/nextpnr/blob/6caa6e4e859896c9e0fc1c9f2fa69a1c12cddd8d/himbaechel/himbaechel_api.h#L109-L11809:25
*** twix <twix!~twix@2001-4dd0-af0e-2f2c-dc40-a679-48c5-4d56.ipv6dyn.netcologne.de> has quit IRC (Ping timeout: 268 seconds)09:25
*** lxsameer <lxsameer!~lxsameer@Serene/lxsameer> has joined #yosys10:03
*** jn <jn!~quassel@user/jn/x-3390946> has quit IRC (Remote host closed the connection)10:05
*** jn <jn!~quassel@user/jn/x-3390946> has joined #yosys10:08
*** jn <jn!~quassel@user/jn/x-3390946> has quit IRC (Remote host closed the connection)10:19
*** jn <jn!~quassel@user/jn/x-3390946> has joined #yosys10:21
*** jn <jn!~quassel@user/jn/x-3390946> has quit IRC (Ping timeout: 252 seconds)10:53
*** jn <jn!~quassel@2a0a:a549:9227:0:20d:b9ff:fe49:15fc> has joined #yosys11:04
*** twix <twix!~twix@2001:4dd0:af0e:2f2c:3d09:133b:67da:40ec> has joined #yosys11:10
*** jn <jn!~quassel@user/jn/x-3390946> has quit IRC (Ping timeout: 260 seconds)12:28
*** twix <twix!~twix@2001:4dd0:af0e:2f2c:3d09:133b:67da:40ec> has quit IRC (Ping timeout: 260 seconds)12:38
*** twix <twix!~twix@2001-4dd0-af0e-2f2c-b43f-355a-5873-af.ipv6dyn.netcologne.de> has joined #yosys15:36
philtorfamubu[m], you can download pre-built releases of oss-cad-suite here: https://github.com/YosysHQ/oss-cad-suite-build/releases16:23
*** ZipCPU <[email protected]> has quit IRC (Ping timeout: 248 seconds)16:33
*** ZipCPU <[email protected]> has joined #yosys16:34
*** so-offish <[email protected]> has joined #yosys17:17
*** so-offishul <[email protected]> has joined #yosys17:17
*** so-offish1 <so-offish1!~so-offish@2610:148:610:2b10::42> has joined #yosys17:18
*** so-offish1 <so-offish1!~so-offish@2610:148:610:2b10::42> has quit IRC (Client Quit)17:21
*** so-offish <[email protected]> has quit IRC (Ping timeout: 252 seconds)17:21
*** so-offishul <[email protected]> has quit IRC (Ping timeout: 252 seconds)17:22
*** jn <jn!~quassel@2a0a-a549-9227-0-20d-b9ff-fe49-15fc.ipv6dyn.netcologne.de> has joined #yosys17:43
*** lxsameer <lxsameer!~lxsameer@Serene/lxsameer> has quit IRC (Ping timeout: 260 seconds)18:02
*** lxsameer <lxsameer!lxsameer@Serene/lxsameer> has joined #yosys18:04
*** lxsameer <lxsameer!lxsameer@Serene/lxsameer> has quit IRC (Ping timeout: 268 seconds)19:35
*** FabM <FabM!~FabM@armadeus/team/FabM> has quit IRC (Ping timeout: 276 seconds)20:20
*** nonchip <[email protected]> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)23:04
*** nonchip <[email protected]> has joined #yosys23:04
*** profi200_ <profi200_!~profi200@user/meow/profi200> has joined #yosys23:06
*** profi200 <profi200!~profi200@user/meow/profi200> has quit IRC (Ping timeout: 265 seconds)23:06
*** profi200_ is now known as profi20023:07

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