cores/pwm: remove default CSR reset values.

This commit is contained in:
Florent Kermarrec 2019-07-29 08:37:46 +02:00
parent 25ca0a8b71
commit 92d93ad221

View file

@ -48,9 +48,9 @@ class PWM(Module, AutoCSR):
self.add_csr() self.add_csr()
def add_csr(self): def add_csr(self):
self._enable = CSRStorage(reset=1) self._enable = CSRStorage()
self._width = CSRStorage(32, reset=2**19) self._width = CSRStorage(32)
self._period = CSRStorage(32, reset=2**20) self._period = CSRStorage(32)
self.comb += [ self.comb += [
self.enable.eq(self._enable.storage), self.enable.eq(self._enable.storage),