From bb0a39a11894d8fabdcc4a14e0e349e1f222c3e9 Mon Sep 17 00:00:00 2001 From: Tobias Platen Date: Fri, 7 May 2021 20:39:37 +0200 Subject: [PATCH] fix 'sync' referenced before assignment in src/soc/fu/mmu/fsm.py --- src/soc/fu/mmu/fsm.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(): -- 2.30.2