Skip to content

Commit

Permalink
migen/genlib/io: use 0 instead of Signal() for default rst value (imm…
Browse files Browse the repository at this point in the history
…utable thanks sb)
  • Loading branch information
enjoy-digital committed Mar 18, 2015
1 parent bdc47b2 commit 2fc2f8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion migen/genlib/io.py
Expand Up @@ -35,7 +35,7 @@ def lower(dr):
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)

Expand Down

0 comments on commit 2fc2f8a

Please sign in to comment.