From: Luke Kenneth Casson Leighton Date: Wed, 15 Dec 2021 20:15:56 +0000 (+0000) Subject: remove more unneeded code X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=300bf202b2ffd6b294da8c47fc6b833836dee8b3;p=soc.git remove more unneeded code --- diff --git a/src/soc/simple/inorder.py b/src/soc/simple/inorder.py index b6cfbcbf..510bd2da 100644 --- a/src/soc/simple/inorder.py +++ b/src/soc/simple/inorder.py @@ -162,17 +162,6 @@ class FetchFSM(ControlBase): sync += dec_opcode_o.eq(insn) m.next = "INSN_READY" - with m.State("INSN_READ2"): - with m.If(self.imem.f_busy_o): # zzz... - # busy: stay in wait-read - comb += self.imem.a_i_valid.eq(1) - comb += self.imem.f_i_valid.eq(1) - with m.Else(): - # not busy: instruction fetched - insn = get_insn(self.imem.f_instr_o, cur_state.pc+4) - sync += dec_opcode_o.eq(insn) - m.next = "INSN_READY" - with m.State("INSN_READY"): # hand over the instruction, to be decoded comb += fetch_insn_o_valid.eq(1)