projects
/
litex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25ca0a8
)
cores/pwm: remove default CSR reset values.
author
Florent Kermarrec
<florent@enjoy-digital.fr>
Mon, 29 Jul 2019 06:37:46 +0000
(08:37 +0200)
committer
Florent Kermarrec
<florent@enjoy-digital.fr>
Mon, 29 Jul 2019 06:38:28 +0000
(08:38 +0200)
litex/soc/cores/pwm.py
patch
|
blob
|
history
diff --git
a/litex/soc/cores/pwm.py
b/litex/soc/cores/pwm.py
index 00810aa9870a2346d4ae3d8d09876ae179f3eca9..8a5ff08bcd0e4af7ece091d3cb97ab22f37a6b04 100644
(file)
--- 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),