mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
migen/genlib/io: use 0 instead of Signal() for default rst value (immutable thanks sb)
This commit is contained in:
parent
bdc47b205a
commit
2fc2f8a6c0
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue