If you need urgent consulting help click here

Simulation Interface

When you define a simulation platform in a repl file, it is also possible to define SocketPeripheral device:

model: SocketPeripheral @ sysbus <0x70000000, +0x100>

In your resc file you can then set the path to the executable which will actually be invoked as “handler” for this memory region.

model PeripheralPath $ORIGIN/../peripheral/peripheral.elf

It is this executable that requires this library in order to setup a connection back to the emulator and establish two way communication.