Monday, 2024-01-22

*** tpb <[email protected]> has joined #yosys00:00
*** lexano <[email protected]> has quit IRC (Ping timeout: 246 seconds)00:58
*** nelgau <[email protected]> has joined #yosys02:54
*** nelgau <[email protected]> has quit IRC (Read error: Connection reset by peer)02:59
*** nelgau <[email protected]> has joined #yosys02:59
*** skipwich <skipwich!~skipwich@user/skipwich> has quit IRC (Quit: DISCONNECT)03:01
*** skipwich <skipwich!~skipwich@user/skipwich> has joined #yosys03:03
*** nelgau_ <[email protected]> has joined #yosys03: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 #yosys03:14
*** nelgau <[email protected]> has quit IRC (Read error: Connection reset by peer)03:18
*** nelgau <[email protected]> has joined #yosys03: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 #yosys03: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 #yosys03: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 #yosys05:38
*** derekn_ <[email protected]> has quit IRC (Ping timeout: 252 seconds)06:04
*** derekn <[email protected]> has joined #yosys06: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 #yosys07: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 #yosys07:31
*** FabM <FabM!~FabM@armadeus/team/FabM> has joined #yosys07:32
*** derekn <[email protected]> has joined #yosys07:56
*** derekn <[email protected]> has quit IRC (Ping timeout: 268 seconds)08:01
*** derekn <[email protected]> has joined #yosys08:16
*** derekn <[email protected]> has quit IRC (Ping timeout: 264 seconds)08:34
*** derekn <[email protected]> has joined #yosys08:44
*** derekn <[email protected]> has quit IRC (Ping timeout: 268 seconds)08:57
*** derekn <[email protected]> has joined #yosys09:08
*** bjorkintosh <bjorkintosh!~bjork@2600:1700:5400:c80:a51a:518b:13bc:c32a> has joined #yosys12:26
*** lexano <[email protected]> has joined #yosys12:32
*** emeb_mac <[email protected]> has joined #yosys14:42
*** Zevv <[email protected]> has joined #yosys16:47
Zevvhi 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
tntZevv: yosys should be fine with those ...16:48
Zevvwell, nextpnr then :)16:49
tntnextpnr will not even see them16:50
tnt(they're not present in yosys' output ...)16:50
ZevvERROR: 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
Zevvthat is what I end up with16:51
Zevvthat's nextpnr complaining16:53
loftyZevv: yeah, that's twice this has been reported16:55
loftythough since you mention just using them for simulation, can you wrap them in `ifndef SYNTHESIS/`endif ?16:55
ZevvI can, but they're all over the place16:56
loftyI have a hackier solution, although this is what you "should" be doing :p16:56
ZevvI grep them out before synthesizing but that's silly of course16:56
tntHuh ... I could swear this used to work just fine. I have $display in code I've ran through yosys/nextpnr.16:56
loftytnt: yes, it *used to* work just fine16:56
loftythen https://github.com/YosysHQ/yosys/pull/4129 arrived and caused these cells to leak through16:57
tnt-_-16:57
loftyanyway.16:57
Zevvwhat's your hacky solution.16:57
Zevvmodule $display(...) ... endmodule ?16:58
loftyZevv: I suppose you're using a `-json` argument to a synthesis script, right?16:58
loftyno :p16:58
Zevvyes16:58
ZevvYOSYSCMD := synth_ice40 -top top -json $(NAME).json -noflatten16:58
loftyif you have -json at the very end of your script arguments, then: s/-json/; delete t:$print; write_json/16:58
Zevvwhoah16:59
loftyI would very much not use -noflatten :p16:59
Zevvyeah that's left there for reasons of inspection16:59
lofty<lofty> if you have -json at the very end of your script arguments, then: s/-json/; delete t:$print;;; write_json/ <-- or this16:59
lofty(fun fact: yosys has load-bearing semicolons)17:00
Zevvwell, that should do the job as well, thanks17:01
*** notgull <notgull!~notgull@ec2-50-112-148-23.us-west-2.compute.amazonaws.com> has joined #yosys19:22
*** kristianpaul <kristianpaul!~paul@user/kristianpaul> has quit IRC (Read error: Connection reset by peer)19:36
*** kristianpaul <kristianpaul!~paul@user/kristianpaul> has joined #yosys19: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 #yosys22: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 #yosys23:16
*** nonchip <[email protected]> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)23:24
*** nonchip <[email protected]> has joined #yosys23:24

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