Open ascenium opened 8 years ago
I believe that the support that you're looking for is already in place with the --wi
, --wo
, and --wio
. These will turn on unconnected IO warnings for inputs, outputs, or both, respectively. This will warn you about all unconnected inputs/outputs which is slightly less targeted than what you may be intending ("don't expect to be unconnected are unconnected"). However, this is the standard output that you'd expect from a synthesis tool that warns you about every possible unconnected IO.
FWIW, there's a lot of undocumented command line options (https://github.com/ucb-bar/chisel/blob/master/src/main/scala/Driver.scala#L344) that come in handy now and again.
It would be really nice to be able to put in a flag that would allow you to check to see if any module ports you don't expect to be unconnected are unconnected. I know the lower level tools do this, but still it would be a nice feature.