cores/pwm: remove default CSR reset values.
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Mon, 29 Jul 2019 06:37:46 +0000 (08:37 +0200)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Mon, 29 Jul 2019 06:38:28 +0000 (08:38 +0200)
litex/soc/cores/pwm.py

index 00810aa9870a2346d4ae3d8d09876ae179f3eca9..8a5ff08bcd0e4af7ece091d3cb97ab22f37a6b04 100644 (file)
@@ -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),