In the following example, if I comment out the wild-card port connection and replace it with a named connection, the warning goes away. Ideally, there wouldn't be a warning for this case since the wire's purpose is only to interconnect two different modules.
slangtest162.sv:10:10: warning: net 'a' is driven but its value is never used [-Wunused-but-set-net]
wire a;
^
In the following example, if I comment out the wild-card port connection and replace it with a named connection, the warning goes away. Ideally, there wouldn't be a warning for this case since the wire's purpose is only to interconnect two different modules.