[Libre-soc-bugs] [Bug 485] Create I-Cache from microwatt icache.vhdl
bugzilla-daemon at libre-soc.org
bugzilla-daemon at libre-soc.org
Tue Sep 29 17:17:13 BST 2020
https://bugs.libre-soc.org/show_bug.cgi?id=485
--- Comment #14 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
(In reply to Cole Poirier from comment #12)
> (In reply to Luke Kenneth Casson Leighton from comment #9)
> > 1243 # -- Requests are all sent if stb is 0
> > 1244 # stbs_done := r.wb.stb = '0';
> > 1245 # Requests are all sent if stb is 0
> > 1246 sync += stbs_done.eq(r.wb.stb == 0)
> >
> > likewise stbs_done will here be set ONLY ON THE NEXT CYCLE yet the
> > expectation is clearly for use in this FSM state.
> >
> > you want comb += just like i did in dcache.
>
> Done. This reqires making the following change as well:
> 1271 sync += r.wb.stb.eq(0)
> 1272 comb += stbs_done.eq(1)
well spotted. this sets stbs_done in the cycle it is needed.
> ```
>
> r is driven by sync domain in the rest of the function/process,
correct.
> is the above
> correct?
looks reasonable.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the libre-soc-bugs
mailing list