[Libre-soc-bugs] [Bug 403] runtime configureable LoadStoreUnit needed

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Thu Jun 25 11:28:42 BST 2020


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

Luke Kenneth Casson Leighton <lkcl at lkcl.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |CONFIRMED
         Resolution|FIXED                       |---

--- Comment #1 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
michael are you sure this is resolved, i didn't see a commit? did you remember
to "git add"?

forgot to add cross-ref:
http://lists.libre-riscv.org/pipermail/libre-riscv-dev/2020-June/008354.html

basic principle:

class ConfigureableLoadStoreUnit:
    def __init__(self, ifacetype, *args, **kwargs):
        if ifacetype == "testmem":
            self.lsi = TestMemoryLoadStoreUnit(*args, **kwargs)
        elif ifacetype == "bare_wb":
            self.lsi = BareLoadStoreUnit(*args, **kwargs)
        elif ifacetype == "cache_wb":
            self.lsi = CacheLoadStoreUnit(*args, **kwargs)

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


More information about the libre-soc-bugs mailing list