tpb has quit [Remote host closed the connection]
tpb has joined #yosys
lexano has quit [Ping timeout: 246 seconds]
nelgau has joined #yosys
nelgau has quit [Read error: Connection reset by peer]
nelgau has joined #yosys
skipwich has quit [Quit: DISCONNECT]
skipwich has joined #yosys
nelgau_ has joined #yosys
nelgau has quit [Read error: Connection reset by peer]
nelgau_ has quit [Read error: Connection reset by peer]
nelgau has joined #yosys
nelgau has quit [Read error: Connection reset by peer]
nelgau has joined #yosys
nelgau has quit [Read error: Connection reset by peer]
notgull has joined #yosys
jn has quit [Ping timeout: 264 seconds]
jn has joined #yosys
notgull has quit [Ping timeout: 240 seconds]
notgull has joined #yosys
derekn_ has quit [Ping timeout: 252 seconds]
derekn has joined #yosys
derekn has quit [Ping timeout: 264 seconds]
notgull has quit [Ping timeout: 260 seconds]
derekn has joined #yosys
emeb_mac has quit [Quit: Leaving.]
derekn has quit [Ping timeout: 252 seconds]
ZipCPU has quit [Ping timeout: 268 seconds]
ZipCPU has joined #yosys
FabM has joined #yosys
derekn has joined #yosys
derekn has quit [Ping timeout: 268 seconds]
derekn has joined #yosys
derekn has quit [Ping timeout: 264 seconds]
derekn has joined #yosys
derekn has quit [Ping timeout: 268 seconds]
derekn has joined #yosys
bjorkintosh has joined #yosys
bjorkintosh has quit [Changing host]
bjorkintosh has joined #yosys
lexano has joined #yosys
emeb_mac has joined #yosys
Zevv has joined #yosys
<
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?
<
tnt>
Zevv: yosys should be fine with those ...
<
Zevv>
well, nextpnr then :)
<
tnt>
nextpnr will not even see them
<
tnt>
(they're not present in yosys' output ...)
<
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')
<
Zevv>
that is what I end up with
<
Zevv>
that's nextpnr complaining
<
lofty>
Zevv: yeah, that's twice this has been reported
<
lofty>
though since you mention just using them for simulation, can you wrap them in `ifndef SYNTHESIS/`endif ?
<
Zevv>
I can, but they're all over the place
<
lofty>
I have a hackier solution, although this is what you "should" be doing :p
<
Zevv>
I grep them out before synthesizing but that's silly of course
<
tnt>
Huh ... I could swear this used to work just fine. I have $display in code I've ran through yosys/nextpnr.
<
lofty>
tnt: yes, it
*used to* work just fine
<
Zevv>
what's your hacky solution.
<
Zevv>
module $display(...) ... endmodule ?
<
lofty>
Zevv: I suppose you're using a `-json` argument to a synthesis script, right?
<
Zevv>
YOSYSCMD := synth_ice40 -top top -json $(NAME).json -noflatten
<
lofty>
if you have -json at the very end of your script arguments, then: s/-json/; delete t:$print; write_json/
<
lofty>
I would very much not use -noflatten :p
<
Zevv>
yeah that's left there for reasons of inspection
<
lofty>
<lofty> if you have -json at the very end of your script arguments, then: s/-json/; delete t:$print;;; write_json/ <-- or this
<
lofty>
(fun fact: yosys has load-bearing semicolons)
<
Zevv>
well, that should do the job as well, thanks
notgull has joined #yosys
kristianpaul has quit [Read error: Connection reset by peer]
kristianpaul has joined #yosys
FabM has quit [Ping timeout: 268 seconds]
notgull has quit [Ping timeout: 246 seconds]
notgull has joined #yosys
flokli has quit [Ping timeout: 260 seconds]
flokli has joined #yosys
nonchip has joined #yosys