From: Martin W. <ic...@ma...> - 2020-10-01 13:47:40
|
On 01/10/2020 10:02, Evan Lavelle wrote: > A couple of minor irritations: > > 1 - a genvar has a size which is calculated dynamically by Icarus; it > might be 5 bits, or 10 bits, or whatever. This is fine, but when you > connect it to a module port there's nothing you can declare the port as > that won't generate a compiler warning (unless you guess or derive the > correct size, of course). So, you can't generally declare the port as > '[31:0]', for example This should have been avoidable by using the -gstrict-expr-width compiler option, but this particular case wasn't handled. I've pushed a fix for that to both the master and v11 branches. > 2 - Under some circumstances, a task with no parameters will raise a > compiler warning; in some circumstances, it won't. It would be nice to > get rid of this warning as well - it serves no purpose. Can you give an example of this. |