Tuesday, 2024-08-20

*** tpb <[email protected]> has joined #yosys00:00
*** Stary <Stary!Stary@hacksoc/infrastructure> has quit IRC (Quit: ZNC - http://znc.in)03:43
*** Stary <Stary!Stary@hacksoc/infrastructure> has joined #yosys03:48
*** kristianpaul <kristianpaul!~paul@user/kristianpaul> has quit IRC (Read error: Connection reset by peer)04:15
*** kristianpaul <kristianpaul!~paul@user/kristianpaul> has joined #yosys04:15
*** FabM <FabM!~FabM@2a03:d604:108:3f00:493f:31b2:3ae:4ec5> has joined #yosys05:28
Adrien[m]Yes it does. when run without -wideluts.05:36
Adrien[m]This `mux8` error is weird, I will look at the netlist.05:36
loftywell, the error you posted was that it couldn't place a cell named "mux8"05:47
*** kristianpaul <kristianpaul!~paul@user/kristianpaul> has quit IRC (Read error: Connection reset by peer)08:03
*** kristianpaul <kristianpaul!~paul@user/kristianpaul> has joined #yosys08:03
Adrien[m]Debugging a bit, the cell type is `SELMUX2_1`08:41
Adrien[m]I'm not sure what behaviour to expect from nextpnr, is it supposed to decide to place this in a LUT or in a MUXF location ?08:41
loftyAdrien[m]: uuuh, I think this is where you have to show your source verilog, because that's not a valid cell08:42
Adrien[m]Yes. Need to reduce the design to something reproducer-friendly then.08:45
Adrien[m]Interestingly, nextpnr-xilinx does handle this design.08:45
loftyokay, it apparently *is* a valid bel type, but hmm08:49
Adrien[m]And I find no occurrence of selmux in input json !08:50
Adrien[m]From the nextpnr-hibaechel log :... (full message at <https://catircservices.org/_matrix/media/v3/download/catircservices.org/TPDvTLLAzyRNgUAKnfhsVShr>)08:52
Adrien[m]I'll reduce the design to something smaller08:55
Adrien[m]maybe just a mux 8->1 is enough08:55
Adrien[m]Had to do a mux 31->1 to ensure yosys generates a muxf7.... (full message at <https://catircservices.org/_matrix/media/v3/download/catircservices.org/aoqVEbTJfBVlsQzvUZlynAxq>)09:47
Adrien[m]yosys -p "synth_xilinx -arch xc7 -top zedboard_top_mux; write_json zedboard_top_mux.json" zedboard_top_mux.v09:48
Adrien[m]nextpnr-himbaechel --device xc7z020clg484-1 -o xdc=zedboard.xdc --json zedboard_top_mux.json -o fasm=zedboard_top_mux.fasm --router router109:50
Adrien[m]The xdc file : https://gricad-gitlab.univ-grenoble-alpes.fr/prostboa/zynq-foss/-/raw/main/xdc/zedboard.xdc?ref_type=heads09:51
Adrien[m]If tracking of this is pertinent given development status, I can open an issue, please just say.09:55
Adrien[m]BTW I think this is also a Yosys sub-optimality09:57
Adrien[m]For a mux 8->1 it generates 3 LUTs, instead of 2 LUT6 + 1 muxf709:57
Adrien[m]Does this deserve to open an issue for yosys ?09:57
loftyAdrien[m]: what if you synth with -abc910:05
loftyactually10:06
loftyyou want -widemux 8 to infer that10:07
*** Lord_Nightmare <Lord_Nightmare!~Lord_Nigh@user/lord-nightmare/x-3657113> has quit IRC (Quit: ZNC - http://znc.in)11:16
*** Lord_Nightmare <Lord_Nightmare!~Lord_Nigh@user/lord-nightmare/x-3657113> has joined #yosys11:20
Adrien[m]lofty: most impactful option is indeed -widemux. not -abc9 for this topic.12:26
loftyBecause -widemux does exactly what you ask for here, but it does come with headaches12:27
Adrien[m]ok good to know12:36
*** skipwich_ is now known as skipwich16:30
aggbit of a long shot, but i'm using an ecp5 MULT18X18D with input and pipeline registers enabled and both SIGNEDIA/SIGNEDIB inputs hardwired to 1, and it seems to not sign-extend the first multiplication after a reset17:13
agg(with latest yosys/nextpnr-ecp5)17:13
agganyone have... any ideas17:13
aggi haven't tried this on diamond so not entirely sure if it's specifically yosys/nextpnr or some cursed hardware thing though17:14
whitequark[cis]that's really cursed17:24
aggyea :( you can imagine it took a while it discover this was precisely what's going wrong too17:25
aggif i turn off the MULT18X18D's input registers and replace them with my own input registers instead, everything seems to work fine...17:34
*** ec <ec!~ec@gateway/tor-sasl/ec> has joined #yosys17:49
whitequark[cis]i wonder if there's a secret SIGNEDA reset register17:56
*** skipwich <skipwich!~skipwich@user/skipwich> has quit IRC (Quit: DISCONNECT)18:31
*** skipwich <skipwich!~skipwich@user/skipwich> has joined #yosys18:38
*** skipwich_ <skipwich_!~skipwich@user/skipwich> has joined #yosys18:41
*** skipwich <skipwich!~skipwich@user/skipwich> has quit IRC (Ping timeout: 252 seconds)18:43
*** skipwich_ is now known as skipwich18:43
*** skipwich_ <skipwich_!~skipwich@user/skipwich> has joined #yosys19:06
*** FabM <FabM!~FabM@armadeus/team/FabM> has quit IRC (Ping timeout: 265 seconds)19:06
*** skipwich <skipwich!~skipwich@user/skipwich> has quit IRC (Ping timeout: 252 seconds)19:08
*** skipwich_ is now known as skipwich19:08
*** skipwich_ <skipwich_!~skipwich@user/skipwich> has joined #yosys19:12
*** skipwich <skipwich!~skipwich@user/skipwich> has quit IRC (Ping timeout: 264 seconds)19:12
*** skipwich_ is now known as skipwich19:13
*** skipwich_ <skipwich_!~skipwich@user/skipwich> has joined #yosys19:46
*** skipwich <skipwich!~skipwich@user/skipwich> has quit IRC (Ping timeout: 248 seconds)19:48
*** skipwich <skipwich!~skipwich@user/skipwich> has joined #yosys19:48
*** skipwich_ <skipwich_!~skipwich@user/skipwich> has quit IRC (Ping timeout: 276 seconds)19:52
*** skipwich_ <skipwich_!~skipwich@user/skipwich> has joined #yosys19:59
*** skipwich <skipwich!~skipwich@user/skipwich> has quit IRC (Ping timeout: 258 seconds)20:01
*** skipwich <skipwich!~skipwich@user/skipwich> has joined #yosys20:02
*** skipwich_ <skipwich_!~skipwich@user/skipwich> has quit IRC (Ping timeout: 252 seconds)20:04
*** kristianpaul <kristianpaul!~paul@user/kristianpaul> has quit IRC (Ping timeout: 245 seconds)20:41
*** kristianpaul <kristianpaul!~paul@user/kristianpaul> has joined #yosys20:43
*** skipwich_ <skipwich_!~skipwich@user/skipwich> has joined #yosys20:53
*** skipwich <skipwich!~skipwich@user/skipwich> has quit IRC (Ping timeout: 255 seconds)20:55
*** skipwich <skipwich!~skipwich@user/skipwich> has joined #yosys20:57
*** kristianpaul <kristianpaul!~paul@user/kristianpaul> has quit IRC (Ping timeout: 248 seconds)20:57
*** skipwich_ <skipwich_!~skipwich@user/skipwich> has quit IRC (Ping timeout: 252 seconds)20:59
*** kristianpaul <kristianpaul!~paul@user/kristianpaul> has joined #yosys20:59
*** skipwich_ <skipwich_!~skipwich@user/skipwich> has joined #yosys21:02
*** skipwich <skipwich!~skipwich@user/skipwich> has quit IRC (Ping timeout: 252 seconds)21:04
*** skipwich_ is now known as skipwich21:04
*** kristianpaul <kristianpaul!~paul@user/kristianpaul> has quit IRC (Read error: Connection reset by peer)21:10
*** kristianpaul <kristianpaul!~paul@user/kristianpaul> has joined #yosys21:13
*** skipwich_ <skipwich_!~skipwich@user/skipwich> has joined #yosys21:55
*** skipwich <skipwich!~skipwich@user/skipwich> has quit IRC (Ping timeout: 272 seconds)21:57
*** skipwich_ is now known as skipwich21:57
*** nonchip <[email protected]> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)22:36
*** nonchip <[email protected]> has joined #yosys22:36
*** kristianpaul <kristianpaul!~paul@user/kristianpaul> has quit IRC (Quit: WeeChat 3.5)23:28
*** kristianpaul <kristianpaul!~paul@user/kristianpaul> has joined #yosys23:28

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