From ab55304ab7ecc492c5c5bff3bbfbaa59269fc81a Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Mon, 6 Apr 2020 13:17:30 +0200 Subject: [PATCH] mac/sram: use reset_less on datapath/configuration CSRStorages. --- liteeth/mac/sram.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/liteeth/mac/sram.py b/liteeth/mac/sram.py index 246a813..b612e02 100644 --- a/liteeth/mac/sram.py +++ b/liteeth/mac/sram.py @@ -153,8 +153,8 @@ class LiteEthMACSRAMReader(Module, AutoCSR): self._start = CSR() self._ready = CSRStatus() self._level = CSRStatus(log2_int(nslots) + 1) - self._slot = CSRStorage(slotbits) - self._length = CSRStorage(lengthbits) + self._slot = CSRStorage(slotbits, reset_less=True) + self._length = CSRStorage(lengthbits, reset_less=True) self.submodules.ev = EventManager() self.ev.done = EventSourcePulse()