Skip to content

Commit

Permalink
Merge pull request #960 from slaclab/creset
Browse files Browse the repository at this point in the history
Reset fifo counters when countReset chain is called
  • Loading branch information
slacrherbst authored Aug 8, 2023
2 parents 62e41dc + 2fd2ba5 commit d32ab47
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions python/pyrogue/interfaces/stream/_Fifo.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,6 @@ def __lshift__(self,other):
def __rshift__(self,other):
pyrogue.streamConnect(self,other)
return other

def countReset(self):
self._fifo.clearCnt()

0 comments on commit d32ab47

Please sign in to comment.