Skip to content

Commit

Permalink
mac/sram: Minor cosmetic cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
enjoy-digital committed Oct 15, 2024
1 parent f30d6ef commit 78b8f9e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions liteeth/mac/sram.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ def __init__(self, dw, depth, nslots=2, endianness="big", timestamp=None):
self._timestamp = CSRStatus(timestampbits)

# Event Manager.
self.ev = EventManager()
self.ev.available = EventSourceLevel()
self.ev = EventManager()
self.ev.available = EventSourceLevel()
self.ev.finalize()

# # #
Expand Down Expand Up @@ -195,8 +195,8 @@ def __init__(self, dw, depth, nslots=2, endianness="big", timestamp=None):
self._timestamp = CSRStatus(timestampbits)

# Event Manager.
self.ev = EventManager()
self.ev.done = EventSourcePulse() if timestamp is None else EventSourceLevel()
self.ev = EventManager()
self.ev.done = EventSourcePulse() if timestamp is None else EventSourceLevel()
self.ev.finalize()

# # #
Expand Down

0 comments on commit 78b8f9e

Please sign in to comment.