mac/sram: Minor cosmetic cleanup.

This commit is contained in:
Florent Kermarrec 2024-10-15 09:17:42 +02:00
parent f30d6ef7b9
commit 78b8f9ee85
1 changed files with 4 additions and 4 deletions

View File

@ -40,8 +40,8 @@ class LiteEthMACSRAMWriter(LiteXModule):
self._timestamp = CSRStatus(timestampbits) self._timestamp = CSRStatus(timestampbits)
# Event Manager. # Event Manager.
self.ev = EventManager() self.ev = EventManager()
self.ev.available = EventSourceLevel() self.ev.available = EventSourceLevel()
self.ev.finalize() self.ev.finalize()
# # # # # #
@ -195,8 +195,8 @@ class LiteEthMACSRAMReader(LiteXModule):
self._timestamp = CSRStatus(timestampbits) self._timestamp = CSRStatus(timestampbits)
# Event Manager. # Event Manager.
self.ev = EventManager() self.ev = EventManager()
self.ev.done = EventSourcePulse() if timestamp is None else EventSourceLevel() self.ev.done = EventSourcePulse() if timestamp is None else EventSourceLevel()
self.ev.finalize() self.ev.finalize()
# # # # # #