From 300bf202b2ffd6b294da8c47fc6b833836dee8b3 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Wed, 15 Dec 2021 20:15:56 +0000 Subject: [PATCH] remove more unneeded code --- src/soc/simple/inorder.py | 11 ----------- 1 file changed, 11 deletions(-) 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) -- 2.30.2