From 92d93ad221389d810b9f7d4c0353e789e5dbfe1a Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Mon, 29 Jul 2019 08:37:46 +0200 Subject: [PATCH] cores/pwm: remove default CSR reset values. --- litex/soc/cores/pwm.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/litex/soc/cores/pwm.py b/litex/soc/cores/pwm.py index 00810aa9..8a5ff08b 100644 --- a/litex/soc/cores/pwm.py +++ b/litex/soc/cores/pwm.py @@ -48,9 +48,9 @@ class PWM(Module, AutoCSR): self.add_csr() def add_csr(self): - self._enable = CSRStorage(reset=1) - self._width = CSRStorage(32, reset=2**19) - self._period = CSRStorage(32, reset=2**20) + self._enable = CSRStorage() + self._width = CSRStorage(32) + self._period = CSRStorage(32) self.comb += [ self.enable.eq(self._enable.storage), -- 2.30.2