mac/sram: Minor cosmetic cleanup.
This commit is contained in:
parent
f30d6ef7b9
commit
78b8f9ee85
|
@ -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()
|
||||||
|
|
||||||
# # #
|
# # #
|
||||||
|
|
Loading…
Reference in New Issue