Skip to content

[External Peripherals] Define external peripheral read/write to Ripes memory #163

@mortbopet

Description

@mortbopet

For peripherals such as DMAs, a peripheral may need to access the internal simulator memory.
This is currently supported by the following functions, which may be set by a peripheral:

Ripes/src/io/iobase.h

Lines 116 to 120 in daad80f

/**
* Read/write functions from peripheral to bus (memory/other periphs)
*/
std::function<void(AInt, AInt, VInt)> memWrite;
std::function<VInt(AInt, AInt)> memRead;

A protocol needs to be implemented to handle memory accesses from the peripheral server to the Ripes memory.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions