From: colepoirier Date: Wed, 3 Jun 2020 02:27:54 +0000 (-0700) Subject: Fixed missing nia.ok.eq(1) in OP_RFID X-Git-Tag: div_pipeline~637^2~9 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=66a391230b530ccac0bcd8067e6bfd34f0461662;p=soc.git Fixed missing nia.ok.eq(1) in OP_RFID --- 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]):