From: Luke Kenneth Casson Leighton Date: Sat, 5 Sep 2020 17:15:36 +0000 (+0100) Subject: MSR read in INSN_READ only occurs for 1 cycle X-Git-Tag: semi_working_ecp5~182 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5a2c3f5b9f18b9958f5b19230d52e39461d41a3e;p=soc.git MSR read in INSN_READ only occurs for 1 cycle --- 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<