[Libre-soc-bugs] [Bug 491] MMU Function Unit needed

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Sat May 1 23:44:06 BST 2021


https://bugs.libre-soc.org/show_bug.cgi?id=491

--- Comment #6 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
the order in ehich requests are made, when a LDST comes in, is that a dcache
request goes out first, and if it fails an MMU request is made instead.


if d_in.error = '1' then
    if d_in.cache_paradox = '1' then
        -- signal an interrupt straight away
        exception := '1';
        dsisr(63 - 38) := not r2.req.load;
        -- XXX there is no architected bit for this
        -- (probably should be a machine check in fact)
        dsisr(63 - 35) := d_in.cache_paradox;
    else
        -- Look up the translation for TLB miss
        -- and also for permission error and RC error
        -- in case the PTE has been updated.
        mmureq := '1';
        v.state := MMU_LOOKUP;
        v.stage1_en := '0';
    end if;
end if

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the libre-soc-bugs mailing list