migen/genlib/io: use 0 instead of Signal() for default rst value (immutable thanks sb)
This commit is contained in:
parent
bdc47b205a
commit
2fc2f8a6c0
|
@ -35,7 +35,7 @@ class DifferentialOutput(Special):
|
||||||
raise NotImplementedError("Attempted to use a differential output, but platform does not support them")
|
raise NotImplementedError("Attempted to use a differential output, but platform does not support them")
|
||||||
|
|
||||||
class CRG(Module):
|
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_sys = ClockDomain()
|
||||||
self.clock_domains.cd_por = ClockDomain(reset_less=True)
|
self.clock_domains.cd_por = ClockDomain(reset_less=True)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue