From 365bdcd2904e2b7a0bdadfd5528a366fc0c0863c Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Fri, 26 Feb 2021 13:46:22 +0000 Subject: [PATCH] remove sv_changed input to fetch_fsm, add it to issue_fsm TestIssuer --- src/soc/simple/issuer.py | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/soc/simple/issuer.py b/src/soc/simple/issuer.py index 5998feed..8cb86d83 100644 --- a/src/soc/simple/issuer.py +++ b/src/soc/simple/issuer.py @@ -146,7 +146,7 @@ class TestIssuerInternal(Elaboratable): self.state_nia = self.core.regs.rf['state'].w_ports['nia'] self.state_nia.wen.name = 'state_nia_wen' - def fetch_fsm(self, m, core, dbg, pc, pc_changed, sv_changed, insn_done, + def fetch_fsm(self, m, core, dbg, pc, pc_changed, insn_done, core_rst, cur_state, fetch_pc_ready_o, fetch_pc_valid_i, fetch_insn_valid_o, fetch_insn_ready_i): @@ -263,7 +263,7 @@ class TestIssuerInternal(Elaboratable): comb += self.state_w_pc.wen.eq(1<