From: Florent Kermarrec Date: Mon, 29 Jul 2019 06:37:46 +0000 (+0200) Subject: cores/pwm: remove default CSR reset values. X-Git-Tag: 24jan2021_ls180~1075 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=92d93ad221389d810b9f7d4c0353e789e5dbfe1a;p=litex.git cores/pwm: remove default CSR reset values. --- 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),