Closed rodrigomelo9 closed 4 years ago
I didn't test with iverilog, so you are finding corner cases I missed. Good!
For code quality and organization reasons, I completely avoid the use of assign
except when it must be used. You've just found a third such exception. :)
Yes, please go ahead with the PR. I will be editing my coding standard to match. Thanks!
Thanks!
It is a complaint from iVerilog. The problem is here (because nothing is changed inside of the
always
):What about to use an
assign
instead? Something like:Let me know if you agree with the suggested change to create a PR.
PS: is only a warning, which could have not a negative effect, but in this form is simpler and the warning removed.