Skip to content

Commit

Permalink
frontend/dma/monitor: reduce count_width from 32-bit (default) to 16-…
Browse files Browse the repository at this point in the history
…bit.
  • Loading branch information
enjoy-digital committed Apr 29, 2020
1 parent 22faa07 commit 3ca6e38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions litepcie/frontend/dma.py
Original file line number Diff line number Diff line change
Expand Up @@ -631,8 +631,8 @@ def __init__(self, phy, endpoint, table_depth=256,

# Monitor ----------------------------------------------------------------------------------
if with_monitor:
self.submodules.writer_monitor = stream.Monitor(self.sink, with_overflows = True)
self.submodules.reader_monitor = stream.Monitor(self.source, with_underflows = True)
self.submodules.writer_monitor = stream.Monitor(self.sink, count_width=16, with_overflows = True)
self.submodules.reader_monitor = stream.Monitor(self.source, count_width=16, with_underflows = True)

def add_plugin_module(self, m):
self.comb += [
Expand Down

0 comments on commit 3ca6e38

Please sign in to comment.