From cf6eab17efcae7fa51238b8912ec7ff15e75b632 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Mon, 18 May 2020 04:56:54 +0100 Subject: [PATCH] dumb syntax error --- src/soc/fu/branch/main_stage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/soc/fu/branch/main_stage.py b/src/soc/fu/branch/main_stage.py index 76b00ea0..6efc5745 100644 --- a/src/soc/fu/branch/main_stage.py +++ b/src/soc/fu/branch/main_stage.py @@ -89,7 +89,7 @@ class BranchMainStage(PipeModBase): comb += self.o.ctr.ok.eq(1) # take either all 64 bits or only 32 of post-incremented counter ctr_m = Signal(64, reset_less=True) - with m.If((op.is_32bit): + with m.If(op.is_32bit): comb += ctr_m.eq(ctr[:32]) with m.Else(): comb += ctr_m.eq(ctr) -- 2.30.2