Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
821 Views

What does usedw count in FIFO that has different input and output widths?

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?
0 Kudos
2 Replies
Altera_Forum
Honored Contributor I
20 Views

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.
Altera_Forum
Honored Contributor I
20 Views

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.