systemc: Fix accounting in the sc_fifo class.
authorGabe Black <gabeblack@google.com>
Tue, 9 Oct 2018 05:39:36 +0000 (22:39 -0700)
committerGabe Black <gabeblack@google.com>
Tue, 16 Oct 2018 01:14:55 +0000 (01:14 +0000)
commitae1ecec85aa090b90c09cc126a32b8dfa810c94d
treed3e4e3e6872d7913755af74e3a6a739ef73b9ffc
parent70f52c3561012bd9ba01b3f123e4807d2f5da3d4
systemc: Fix accounting in the sc_fifo class.

Reads shouldn't free up space until an update happens.

Change-Id: I18e1601c27b44643f103c86f04b1fa2c23baf1e8
Reviewed-on: https://gem5-review.googlesource.com/c/13333
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
src/systemc/ext/channel/sc_fifo.hh