*** tpb <[email protected]> has joined #yosys | 00:00 | |
*** lexano <[email protected]> has quit IRC (Ping timeout: 246 seconds) | 00:58 | |
*** nelgau <[email protected]> has joined #yosys | 02:54 | |
*** nelgau <[email protected]> has quit IRC (Read error: Connection reset by peer) | 02:59 | |
*** nelgau <[email protected]> has joined #yosys | 02:59 | |
*** skipwich <skipwich!~skipwich@user/skipwich> has quit IRC (Quit: DISCONNECT) | 03:01 | |
*** skipwich <skipwich!~skipwich@user/skipwich> has joined #yosys | 03:03 | |
*** nelgau_ <[email protected]> has joined #yosys | 03:10 | |
*** nelgau <[email protected]> has quit IRC (Read error: Connection reset by peer) | 03:10 | |
*** nelgau_ <[email protected]> has quit IRC (Read error: Connection reset by peer) | 03:14 | |
*** nelgau <[email protected]> has joined #yosys | 03:14 | |
*** nelgau <[email protected]> has quit IRC (Read error: Connection reset by peer) | 03:18 | |
*** nelgau <[email protected]> has joined #yosys | 03:19 | |
*** nelgau <[email protected]> has quit IRC (Read error: Connection reset by peer) | 03:22 | |
*** notgull <notgull!~notgull@ec2-50-112-148-23.us-west-2.compute.amazonaws.com> has joined #yosys | 03:46 | |
*** jn <jn!~quassel@user/jn/x-3390946> has quit IRC (Ping timeout: 264 seconds) | 03:54 | |
*** jn <jn!~quassel@user/jn/x-3390946> has joined #yosys | 03:54 | |
*** notgull <notgull!~notgull@ec2-50-112-148-23.us-west-2.compute.amazonaws.com> has quit IRC (Ping timeout: 240 seconds) | 04:50 | |
*** notgull <notgull!~notgull@ec2-50-112-148-23.us-west-2.compute.amazonaws.com> has joined #yosys | 05:38 | |
*** derekn_ <[email protected]> has quit IRC (Ping timeout: 252 seconds) | 06:04 | |
*** derekn <[email protected]> has joined #yosys | 06:06 | |
*** derekn <[email protected]> has quit IRC (Ping timeout: 264 seconds) | 06:45 | |
*** notgull <notgull!~notgull@ec2-50-112-148-23.us-west-2.compute.amazonaws.com> has quit IRC (Ping timeout: 260 seconds) | 06:54 | |
*** derekn <[email protected]> has joined #yosys | 07:01 | |
*** emeb_mac <[email protected]> has quit IRC (Quit: Leaving.) | 07:07 | |
*** derekn <[email protected]> has quit IRC (Ping timeout: 252 seconds) | 07:15 | |
*** ZipCPU <[email protected]> has quit IRC (Ping timeout: 268 seconds) | 07:31 | |
*** ZipCPU <[email protected]> has joined #yosys | 07:31 | |
*** FabM <FabM!~FabM@armadeus/team/FabM> has joined #yosys | 07:32 | |
*** derekn <[email protected]> has joined #yosys | 07:56 | |
*** derekn <[email protected]> has quit IRC (Ping timeout: 268 seconds) | 08:01 | |
*** derekn <[email protected]> has joined #yosys | 08:16 | |
*** derekn <[email protected]> has quit IRC (Ping timeout: 264 seconds) | 08:34 | |
*** derekn <[email protected]> has joined #yosys | 08:44 | |
*** derekn <[email protected]> has quit IRC (Ping timeout: 268 seconds) | 08:57 | |
*** derekn <[email protected]> has joined #yosys | 09:08 | |
*** bjorkintosh <bjorkintosh!~bjork@2600:1700:5400:c80:a51a:518b:13bc:c32a> has joined #yosys | 12:26 | |
*** lexano <[email protected]> has joined #yosys | 12:32 | |
*** emeb_mac <[email protected]> has joined #yosys | 14:42 | |
*** Zevv <[email protected]> has joined #yosys | 16:47 | |
Zevv | hi all; is there a way to make yosys accept/ignore my $display()s that i use for simulation so I can just keep those in? | 16:48 |
---|---|---|
tnt | Zevv: yosys should be fine with those ... | 16:48 |
Zevv | well, nextpnr then :) | 16:49 |
tnt | nextpnr will not even see them | 16:50 |
tnt | (they're not present in yosys' output ...) | 16:50 |
Zevv | ERROR: cell type '$print' is unsupported (instantiated as 'machine.cpu0.rd_en_SB_DFFE_Q_E_SB_LUT4_O_I1_SB_LUT4_O_I2_SB_LUT4_I3_O_$print_EN') | 16:51 |
Zevv | that is what I end up with | 16:51 |
Zevv | that's nextpnr complaining | 16:53 |
lofty | Zevv: yeah, that's twice this has been reported | 16:55 |
lofty | though since you mention just using them for simulation, can you wrap them in `ifndef SYNTHESIS/`endif ? | 16:55 |
Zevv | I can, but they're all over the place | 16:56 |
lofty | I have a hackier solution, although this is what you "should" be doing :p | 16:56 |
Zevv | I grep them out before synthesizing but that's silly of course | 16:56 |
tnt | Huh ... I could swear this used to work just fine. I have $display in code I've ran through yosys/nextpnr. | 16:56 |
lofty | tnt: yes, it *used to* work just fine | 16:56 |
lofty | then https://github.com/YosysHQ/yosys/pull/4129 arrived and caused these cells to leak through | 16:57 |
tnt | -_- | 16:57 |
lofty | anyway. | 16:57 |
Zevv | what's your hacky solution. | 16:57 |
Zevv | module $display(...) ... endmodule ? | 16:58 |
lofty | Zevv: I suppose you're using a `-json` argument to a synthesis script, right? | 16:58 |
lofty | no :p | 16:58 |
Zevv | yes | 16:58 |
Zevv | YOSYSCMD := synth_ice40 -top top -json $(NAME).json -noflatten | 16:58 |
lofty | if you have -json at the very end of your script arguments, then: s/-json/; delete t:$print; write_json/ | 16:58 |
Zevv | whoah | 16:59 |
lofty | I would very much not use -noflatten :p | 16:59 |
Zevv | yeah that's left there for reasons of inspection | 16:59 |
lofty | <lofty> if you have -json at the very end of your script arguments, then: s/-json/; delete t:$print;;; write_json/ <-- or this | 16:59 |
lofty | (fun fact: yosys has load-bearing semicolons) | 17:00 |
Zevv | well, that should do the job as well, thanks | 17:01 |
*** notgull <notgull!~notgull@ec2-50-112-148-23.us-west-2.compute.amazonaws.com> has joined #yosys | 19:22 | |
*** kristianpaul <kristianpaul!~paul@user/kristianpaul> has quit IRC (Read error: Connection reset by peer) | 19:36 | |
*** kristianpaul <kristianpaul!~paul@user/kristianpaul> has joined #yosys | 19:42 | |
*** FabM <FabM!~FabM@armadeus/team/FabM> has quit IRC (Ping timeout: 268 seconds) | 19:53 | |
*** notgull <notgull!~notgull@ec2-50-112-148-23.us-west-2.compute.amazonaws.com> has quit IRC (Ping timeout: 246 seconds) | 22:02 | |
*** notgull <notgull!~notgull@ec2-50-112-148-23.us-west-2.compute.amazonaws.com> has joined #yosys | 22:04 | |
*** flokli <flokli!~flokli@2a01:4f8:261:11ce::1> has quit IRC (Ping timeout: 260 seconds) | 23:03 | |
*** flokli <flokli!~flokli@2a01:4f8:261:11ce::1> has joined #yosys | 23:16 | |
*** nonchip <[email protected]> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) | 23:24 | |
*** nonchip <[email protected]> has joined #yosys | 23:24 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!