From 84f98b4632aa8141b0418438395228f700bbe84f Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sat, 19 Sep 2015 11:18:44 +0800 Subject: [PATCH] genlib/CRG: fix variable name conflict --- migen/genlib/io.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/migen/genlib/io.py b/migen/genlib/io.py index 3439f088..12d8b0a1 100644 --- a/migen/genlib/io.py +++ b/migen/genlib/io.py @@ -48,12 +48,12 @@ class CRG(Module): 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) ] -- 2.30.2