[libre-riscv-dev] libresoc memory architecture

Luke Kenneth Casson Leighton lkcl at lkcl.net
Tue Jun 23 19:26:19 BST 2020

On Tue, Jun 23, 2020 at 7:13 PM Michael Nolan <mtnolan2640 at gmail.com> wrote:
> On 6/23/20 2:04 PM, Luke Kenneth Casson Leighton wrote:
> > there is slightly more to it than that however that is quite enough for now.
> >
> > any questions?
> Great, that and the discussion on bug 393 helps quite a bit

this one covers the "contract of sale" API.

there *is* a potential way to do this without modifying Wishbone -
however it means we have to use our own Bus protocol (PortInterface)
right the way through to talking to Minerva LoadStoreInterface.

however when it comes to using nmigen-soc Wishbone InterconnectShared:

we will need an "address-aware" system that tells us - in hardware
terms not in python source code terms - in *hardware* - whether the
address being requested will succeed/fail or not.

this means that we need a *hardware* function which respects / mirrors
the nmigen_soc WB Decoder "memory_map":

that hardware function will tell us - *at the offer phase* of the
Contract-of-Sale - whether the request WOULD succeed IF allowed to
proceed to exchange-and-complete.

this is not as straightforward as a "simple range of addresses"
because in the case of DRAM (connected over LiteDRAM) the range of
physical addresses that will succeed will *depend on available
external RAM chip size*.


More information about the libre-riscv-dev mailing list