In reply to CRVAddict:
What you were doing leaves fifo[5] out of the sum expression.
(fifo[0] + fifo[1] + fifo[2] + fifo[3] + fifo[4] + 6 + fifo[6] + fifo[7]) == 20
In reply to CRVAddict:
What you were doing leaves fifo[5] out of the sum expression.
(fifo[0] + fifo[1] + fifo[2] + fifo[3] + fifo[4] + 6 + fifo[6] + fifo[7]) == 20