corelogic/ReorderBuffer: do not touch empty count when issuing and reading at the same time

This commit is contained in:
Sebastien Bourdeauducq 2012-07-13 20:21:04 +02:00
parent 8de192dfbd
commit 30f1e77c18
1 changed files with 8 additions and 1 deletions

View File

@ -77,4 +77,11 @@ class ReorderBuffer:
)
]
return Fragment(comb, sync)
# do not touch empty count when issuing and reading at the same time
sync += [
If(self.issue & self.can_issue & self.read & self.can_read,
self._empty_count.eq(self._empty_count)
)
]
return Fragment(comb, sync)