Skip to content

Commit

Permalink
genlib/CRG: fix variable name conflict
Browse files Browse the repository at this point in the history
sbourdeauducq committed Sep 19, 2015

Verified

This commit was signed with the committer’s verified signature.
headius Charles Oliver Nutter
1 parent 0a55ef5 commit 84f98b4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions migen/genlib/io.py
Original file line number Diff line number Diff line change
@@ -48,12 +48,12 @@ def __init__(self, clk, rst=0):
clk = clk_se

# Power on Reset (vendor agnostic)
rst = Signal(reset=1)
self.sync.por += rst.eq(rst)
int_rst = Signal(reset=1)
self.sync.por += int_rst.eq(rst)
self.comb += [
self.cd_sys.clk.eq(clk),
self.cd_por.clk.eq(clk),
self.cd_sys.rst.eq(rst)
self.cd_sys.rst.eq(int_rst)
]


0 comments on commit 84f98b4

Please sign in to comment.