https://vlsiweb.com/fifo-depth-calculations/