projects
/
litex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bdc47b2
)
migen/genlib/io: use 0 instead of Signal() for default rst value (immutable thanks sb)
author
Florent Kermarrec
<florent@enjoy-digital.fr>
Wed, 18 Mar 2015 13:41:43 +0000
(14:41 +0100)
committer
Florent Kermarrec
<florent@enjoy-digital.fr>
Wed, 18 Mar 2015 13:41:43 +0000
(14:41 +0100)
migen/genlib/io.py
patch
|
blob
|
history
diff --git
a/migen/genlib/io.py
b/migen/genlib/io.py
index cd4360729230b0fe5390434ff22e28a8719a9ab4..ab8cc9bf50f95135a3b7dde805fb489f6df77fa4 100644
(file)
--- a/
migen/genlib/io.py
+++ b/
migen/genlib/io.py
@@
-35,7
+35,7
@@
class DifferentialOutput(Special):
raise NotImplementedError("Attempted to use a differential output, but platform does not support them")
class CRG(Module):
- def __init__(self, clk, rst=
Signal()
):
+ def __init__(self, clk, rst=
0
):
self.clock_domains.cd_sys = ClockDomain()
self.clock_domains.cd_por = ClockDomain(reset_less=True)