Finally cracked out my Icebreaker and started playing with it, but quickly wanted to run simulations with an open source tool. Any suggestions? Long ago, I used Icarus and GTKWave, but figured there must be something newer/better.
Also, anyone using SystemVerilog with the Icebreaker? Any issues?
I think the only other simulator is Verilator, which is free and open source, but a bit different than icarus. It does use GTKWave for viewing the results though.
Related, I’m in the process of switching from Icarus to Verilator because Icarus does not support the SystemVerilog commands I have started to use (always_ff, always_comb) and Verilator does.
Yosys works fine with the limited SystemVerilog commands I have used so far, you do have to remember to use the -sv flag though.
ah, well I was using -g2012 but I was on the latest stable branch and saw some chatter on forums about those commands not being supported. It looks like support for those commands was added to the dev branch in late 2019. I upgraded and now it sort of works, getting this error:
sorry: constant selects in always_* processes are not currently supported (all bits will be included)