commit
3a0158919144757a2b369c9b750c72339e912f1d
Author: Jean-François Nguyen <jf@lambdaconcept.com>
Date: Wed Sep 11 01:34:46 2019 +0200
fetch,loadstore: Fix `{f,m}_busy` signal in case of a cache miss.
]
with m.Elif(f_icache_select):
m.d.comb += [
- self.f_busy_o.eq(icache.s2_re & icache.s2_miss),
+ self.f_busy_o.eq(icache.s2_miss),
self.f_instr_o.eq(icache.s2_rdata)
]
with m.Else():
self.m_busy_o.eq(0),
self.m_ld_data_o.eq(0)
]
- with m.Elif(m_dcache_select):
+ with m.Elif(self.m_load & m_dcache_select):
m.d.comb += [
- self.m_busy_o.eq(dcache.s2_re & dcache.s2_miss),
+ self.m_busy_o.eq(dcache.s2_miss),
self.m_ld_data_o.eq(dcache.s2_rdata)
]
with m.Else():