18#ifndef __ROGUE_INTERFACES_MEMORY_EMULATOR_H__
19#define __ROGUE_INTERFACES_MEMORY_EMULATOR_H__
31 #include <boost/python.hpp>
34#define EMULATE_MAP_TYPE std::map<uint64_t, uint8_t*>
61 std::shared_ptr<rogue::Logging> log_;
77 static std::shared_ptr<rogue::interfaces::memory::Emulate>
create(uint32_t
min, uint32_t
max);
106 void doTransaction(std::shared_ptr<rogue::interfaces::memory::Transaction> transaction);
112typedef std::shared_ptr<rogue::interfaces::memory::Emulate>
EmulatePtr;
Memory interface emulator device.
static std::shared_ptr< rogue::interfaces::memory::Emulate > create(uint32_t min, uint32_t max)
Creates an emulator device.
void doTransaction(std::shared_ptr< rogue::interfaces::memory::Transaction > transaction)
Handles an incoming memory transaction.
static void setup_python()
Registers this type with Python bindings.
~Emulate()
Destroys the emulator device.
uint32_t max()
Returns configured maximum transaction size.
uint32_t min()
Returns configured minimum transaction size.
std::shared_ptr< rogue::interfaces::memory::Emulate > EmulatePtr
Shared pointer alias for Emulate.