This is a continuation from the discussion here https://github.com/FPGAwars/apio/discussions . Yosys recommends linting with Verilator but when we do so we get from tons of warnings from Yosys standard libraries and with the latest version of Yosys, also fatal errors in a standard ECP5 library.
My questions to you are:
Do you lint the Verilog code of your Yosys projects?
What linter are you using?
If you use Verilator, do you get warnings and errors in Yosys’s libraries and how do you handle them.
I think that the Yosys team needs to determine if having the ability to ‘lint’ yosys projects is a goal (regardless if it’s done by a third party tool like Verilator or yosys itself), and then go from there.
The approach of ‘yosys doesn’t need to be strict because there are third party lint tools’ and then having yosys projects not being compatible with any lint tool (which is the case since release 2025-10-09) is confusing.