Merge pull request #843 from gregdavill/monitor_token_fix

cores/stream/monitor: Fix typo
This commit is contained in:
enjoy-digital 2021-03-10 11:00:55 +01:00 committed by GitHub
commit ee2d373477
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -648,7 +648,7 @@ class Monitor(Module, AutoCSR):
# Tokens Count ----------------------------------------------------------------------------- # Tokens Count -----------------------------------------------------------------------------
if with_tokens: if with_tokens:
tokens_counter = MonitorCounter(reset, latch, endpoint.valid & endpoint.ready, self.tokens.status) token_counter = MonitorCounter(reset, latch, endpoint.valid & endpoint.ready, self.tokens.status)
self.submodules += token_counter self.submodules += token_counter
# Overflows Count (only useful when endpoint is expected to always be ready) --------------- # Overflows Count (only useful when endpoint is expected to always be ready) ---------------