minerva cli.py is capable of specifying at runtime what to "make". we need similar capability at strategic interfaces in order to carry out different levels of testing without other code (untested or just too much of it) being in the way. a class is therefore needed that selects between * TestMemoryLoadStoreUnit * BareLoadStoreUnit * CacheLoadStoreUnit * others (to be added)
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)
apologies, michael, i didn't hear back from you, had to move on: [master c88f971] add reconfigureable Load/Store class