*** tpb <[email protected]> has joined #yosys | 00:00 | |
*** shoragan <shoragan!~shoragan@user/shoragan> has quit IRC (Read error: Connection reset by peer) | 00:04 | |
*** shoragan <shoragan!~shoragan@user/shoragan> has joined #yosys | 00:08 | |
*** shoragan <shoragan!~shoragan@user/shoragan> has quit IRC (Quit: quit) | 00:21 | |
*** shoragan <shoragan!~shoragan@user/shoragan> has joined #yosys | 00:22 | |
*** lexano <[email protected]> has quit IRC (Ping timeout: 272 seconds) | 01:37 | |
*** xutaxkamay <[email protected]> has quit IRC (Quit: ZNC 1.8.2+deb3.1 - https://znc.in) | 01:45 | |
*** xutaxkamay <xutaxkamay!~xutaxkama@2a01:e0a:a7e:1050:759d:d366:2d0a:849b> has joined #yosys | 01:45 | |
*** FabM <[email protected]> has joined #yosys | 07:04 | |
*** anticw <[email protected]> has quit IRC (Remote host closed the connection) | 07:30 | |
*** anticw <[email protected]> has joined #yosys | 07:31 | |
*** peeps <peeps!~peepsalot@openscad/peepsalot> has quit IRC (Ping timeout: 260 seconds) | 07:31 | |
*** peeps[zen] <peeps[zen]!~peepsalot@openscad/peepsalot> has joined #yosys | 07:34 | |
*** Guest86 <Guest86!~Guest86@p200300e7ff26f052f23b947e36f2ed29.dip0.t-ipconnect.de> has joined #yosys | 10:28 | |
Guest86 | is it bad if yosys-abc failed with return code 134? | 10:36 |
---|---|---|
Guest86 | or asked differently: what is the impact (I'm naive about it and the resulting bitstream works), and how do I track down what causes it? | 10:40 |
gatecat | Guest86: it's because of https://github.com/YosysHQ/yosys/pull/1974 | 10:41 |
gatecat | theoretically, a failure of &mfs might produce slightly worse results (e.g. a higher percentage of resources used), but if it's fitting fine anyway, then you don't really need to worry | 10:42 |
gatecat | it's unlikely that anything specific in the design is causing it, just bad luck | 10:42 |
Guest86 | we're targeting ECP5 and we know that the commercial lattice tools can probably reach much higher frequencies, but it's not a big problem yet | 10:45 |
Guest86 | (the worse issue is that the open source tools can't use some ALU elements) | 10:46 |
Guest86 | are there any recommendations about how to implement CDC on a yosys based toolchain? you need to ensure that FFs are not optimized away or duplicated, that they're placed close together, potentially using robust FFs suited for it; on xilinx I'd just use the xpm_cdc macros to handle the low level details | 10:56 |
Guest86 | all I can think of is setting the "keep" attribute (documented in yosys/README.md only?), and hope for the best | 11:04 |
lofty | gatecat and Guest86: &mfs failures should be less of an issue after https://github.com/YosysHQ/yosys/pull/4351 | 11:38 |
lofty | Guest86: speaking officially, "hope for the best" is recommended practice | 11:39 |
lofty | ... Yosys isn't timing aware, so CDC isn't something considered by it. nextpnr *is* timing aware, however it doesn't perform anything special with regards to CDC, AIUI. | 11:40 |
lofty | Guest86: if you get that ABC error with Yosys 0.40, file a bug; I'll take a look at it. | 11:44 |
*** lexano <[email protected]> has joined #yosys | 11:47 | |
Guest86 | lofty: I just tried with oss-cad-suite 2024-05-07 and can confirm the crash is gone in my case (with a ~2 month old release it happened on every run) | 11:59 |
Guest86 | lofty: in my opinion (I'm normally software developer) the only sane way to even have a chance of getting CDC right is if the toolchain provides special CDC modules (at least for synchronized FFs that won't do surprising things after optimization), even if they get reduced to nothing special during synthesis for a specific FPGA | 12:02 |
lofty | They normally control timing like false-paths etc. nextpnr isn't quite smart enough to handle this properly, but usually it works in practice. | 12:03 |
tnt | I usually have an eye at the max delay between the two domain to make sure it didn't do anything crazy, but that's as much as you can do I think. It'd be nice if we could actually constrain it but ... | 12:20 |
Guest86 | my main issue here is that my shiny new code might work now, but could break when the tools get more sophisticated optimizations | 12:21 |
tnt | Well `keep` is documented and should ensure the FF doesn't get optimized. You can also instanciate the actual FF primitive with dont_touch to make extra sure. | 12:22 |
tnt | What you can't really do is control where those will be placed (short of fully placing them manually) or the delay between them. | 12:22 |
*** Guest86 <Guest86!~Guest86@p200300e7ff26f052f23b947e36f2ed29.dip0.t-ipconnect.de> has quit IRC (Quit: Client closed) | 12:28 | |
*** Guest86 <Guest86!~Guest86@p200300e7ff26f052f23b947e36f2ed29.dip0.t-ipconnect.de> has joined #yosys | 13:32 | |
*** kristianpaul <kristianpaul!~paul@user/kristianpaul> has quit IRC (Ping timeout: 256 seconds) | 14:13 | |
*** kristianpaul <kristianpaul!~paul@user/kristianpaul> has joined #yosys | 14:56 | |
*** FabM <FabM!~FabM@armadeus/team/FabM> has quit IRC (Ping timeout: 240 seconds) | 15:00 | |
*** kristianpaul <kristianpaul!~paul@user/kristianpaul> has quit IRC (Ping timeout: 252 seconds) | 15:51 | |
*** kristianpaul <kristianpaul!~paul@user/kristianpaul> has joined #yosys | 15:53 | |
*** Guest86 <Guest86!~Guest86@p200300e7ff26f052f23b947e36f2ed29.dip0.t-ipconnect.de> has quit IRC (Quit: Client closed) | 15:55 | |
*** Guest86 <Guest86!~Guest86@p200300e7ff26f052f23b947e36f2ed29.dip0.t-ipconnect.de> has joined #yosys | 15:55 | |
*** Guest86 <Guest86!~Guest86@p200300e7ff26f052f23b947e36f2ed29.dip0.t-ipconnect.de> has quit IRC (Quit: Client closed) | 17:18 | |
*** Psentee <Psentee!~psentee@user/psentee> has quit IRC (Quit: Off) | 20:00 | |
*** Psentee <Psentee!~psentee@user/psentee> has joined #yosys | 20:01 | |
*** Psentee <Psentee!~psentee@user/psentee> has quit IRC (Quit: Off) | 20:10 | |
*** Psentee <Psentee!~psentee@user/psentee> has joined #yosys | 20:13 | |
*** nonchip <[email protected]> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) | 22:30 | |
*** nonchip <[email protected]> has joined #yosys | 22:30 | |
*** Guest58 <Guest58!~Guest15@p200300e7ff26f052f23b947e36f2ed29.dip0.t-ipconnect.de> has joined #yosys | 23:22 | |
*** Guest58 <Guest58!~Guest15@p200300e7ff26f052f23b947e36f2ed29.dip0.t-ipconnect.de> has quit IRC (Client Quit) | 23:22 | |
*** Klotz <Klotz!~Klotzoman@gateway/tor-sasl/klotz> has joined #yosys | 23:24 | |
*** Klotz <Klotz!~Klotzoman@gateway/tor-sasl/klotz> has quit IRC (Quit: Klotz) | 23:33 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!