interconnect/stream/Monitor: Fix packet support and cleanup.
This commit is contained in:
parent
b990b90c0e
commit
7bd0311947
|
@ -728,12 +728,12 @@ class Monitor(Module, AutoCSR):
|
|||
)
|
||||
|
||||
# Packets Count ----------------------------------------------------------------------------
|
||||
if with_underflows:
|
||||
if with_packets:
|
||||
self.submodules.packet_counter = MonitorCounter(
|
||||
reset = reset,
|
||||
latch = latch,
|
||||
enable = endpoint.valid & getattr(endpoint, packet_delimiter) & endpoint.ready,
|
||||
count = self.underflows.status
|
||||
count = self.packets.status
|
||||
)
|
||||
|
||||
# Pipe ---------------------------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue