Skip to content

Commit

Permalink
litescope/core/port: fix EdgeDetector CSRs names
Browse files Browse the repository at this point in the history
  • Loading branch information
enjoy-digital committed Aug 24, 2015
1 parent fd31e6a commit 27b1dd7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions misoclib/tools/litescope/core/port.py
Expand Up @@ -99,14 +99,14 @@ def __init__(self, dw):
class LiteScopeEdgeDetector(LiteScopeEdgeDetectorUnit, AutoCSR):
def __init__(self, dw):
LiteScopeEdgeDetectorUnit.__init__(self, dw)
self._rising = CSRStorage(dw)
self._falling = CSRStorage(dw)
self._both = CSRStorage(dw)
self._rising_mask = CSRStorage(dw)
self._falling_mask = CSRStorage(dw)
self._both_mask = CSRStorage(dw)

# # #

self.comb += [
self.rising_mask.eq(self._rising.storage),
self.falling_mask.eq(self._falling.storage),
self.both_mask.eq(self._both.storage)
self.rising_mask.eq(self._rising_mask.storage),
self.falling_mask.eq(self._falling_mask.storage),
self.both_mask.eq(self._both_mask.storage)
]

0 comments on commit 27b1dd7

Please sign in to comment.