mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
cores/pwm: remove default CSR reset values.
This commit is contained in:
parent
25ca0a8b71
commit
92d93ad221
1 changed files with 3 additions and 3 deletions
|
@ -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),
|
||||
|
|
Loading…
Reference in a new issue