From: Tobias Platen Date: Fri, 7 May 2021 18:39:37 +0000 (+0200) Subject: fix 'sync' referenced before assignment in src/soc/fu/mmu/fsm.py X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bb0a39a11894d8fabdcc4a14e0e349e1f222c3e9;p=soc.git fix 'sync' referenced before assignment in src/soc/fu/mmu/fsm.py --- diff --git a/src/soc/fu/mmu/fsm.py b/src/soc/fu/mmu/fsm.py index b9877435..e062ceb9 100644 --- a/src/soc/fu/mmu/fsm.py +++ b/src/soc/fu/mmu/fsm.py @@ -139,9 +139,9 @@ class FSMMMUStage(ControlBase): comb += self.debug0.eq(3) #if matched update local cached value with m.If(spr[0]): - sync += dsisr.eq(a_i[:32]) + m.d.sync += dsisr.eq(a_i[:32]) with m.Else(): - sync += dar.eq(a_i) + m.d.sync += dar.eq(a_i) comb += done.eq(1) # pass it over to the MMU instead with m.Else():