mac/sram: use reset_less on datapath/configuration CSRStorages.

This commit is contained in:
Florent Kermarrec 2020-04-06 13:17:30 +02:00
parent fb478537e7
commit ab55304ab7
1 changed files with 2 additions and 2 deletions

View File

@ -153,8 +153,8 @@ class LiteEthMACSRAMReader(Module, AutoCSR):
self._start = CSR() self._start = CSR()
self._ready = CSRStatus() self._ready = CSRStatus()
self._level = CSRStatus(log2_int(nslots) + 1) self._level = CSRStatus(log2_int(nslots) + 1)
self._slot = CSRStorage(slotbits) self._slot = CSRStorage(slotbits, reset_less=True)
self._length = CSRStorage(lengthbits) self._length = CSRStorage(lengthbits, reset_less=True)
self.submodules.ev = EventManager() self.submodules.ev = EventManager()
self.ev.done = EventSourcePulse() self.ev.done = EventSourcePulse()