It is possible to have DCFIFO that has 16 bit input port and 32 bit output port and also reverse!What does the usedw signal count in these scenarios? Does it count how many 16 bit words it has stored or how many 32 bit words it has stored?
The SCFIFO core doesn't support mixed width as far as I can tell.The DCFIFO does however, but that has separate read and write used word signals (wrusedw and rdusedw). So they will represent the width of the respective ports.
Sorry, I corrected the question. You have answered the question. Basically, in the code I was looking at, at top level there was just one usedw signal and not two. However, looking deaper into the code I have found that a DCFIFO is being used and one of the usedw is not connected to the module port.