From 5a2c3f5b9f18b9958f5b19230d52e39461d41a3e Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sat, 5 Sep 2020 18:15:36 +0100 Subject: [PATCH] MSR read in INSN_READ only occurs for 1 cycle --- src/soc/simple/issuer.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/soc/simple/issuer.py b/src/soc/simple/issuer.py index 5c3bb51a..d2b573bb 100644 --- a/src/soc/simple/issuer.py +++ b/src/soc/simple/issuer.py @@ -187,6 +187,7 @@ class TestIssuer(Elaboratable): # don't read msr every cycle comb += self.state_r_msr.ren.eq(0) + msr_read = Signal(reset=1) # connect up debug signals # TODO comb += core.icache_rst_i.eq(dbg.icache_rst_o) @@ -227,6 +228,7 @@ class TestIssuer(Elaboratable): # initiate read of MSR comb += self.state_r_msr.ren.eq(1<