From 66a391230b530ccac0bcd8067e6bfd34f0461662 Mon Sep 17 00:00:00 2001 From: colepoirier Date: Tue, 2 Jun 2020 19:27:54 -0700 Subject: [PATCH] Fixed missing nia.ok.eq(1) in OP_RFID --- src/soc/fu/trap/main_stage.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/soc/fu/trap/main_stage.py b/src/soc/fu/trap/main_stage.py index 3f5c11e9..83528957 100644 --- a/src/soc/fu/trap/main_stage.py +++ b/src/soc/fu/trap/main_stage.py @@ -181,9 +181,8 @@ class TrapMainStage(PipeModBase): ctrl_tmp.msr(MSR_DR) <= '1'; end if; """ - # TODO translate this, import and use br_ext from branch stage - # f_out.redirect_nia <= a_in(63 downto 2) & "00"; -- srr0 comb += self.o.nia.data.eq(br_ext(a[63:1] & 0)) + comb += self.o.nia.ok.eq(1) for stt, end in [(0,16), (22, 27), (31, 64)]: comb += self.o.msr.data[stt:end].eq(a[stt:end]) with m.If(a[MSR_PR]): -- 2.30.2