Display correct number of bytes discarded when no work is found.
Check for a clear to write condition before writing in avalon.