22#include <boost/python.hpp>
36namespace bp = boost::python;
41 bp::object module(bp::handle<>(bp::borrowed(PyImport_AddModule(
"rogue.interfaces.memory"))));
44 bp::scope().attr(
"memory") =
module;
47 bp::scope io_scope =
module;
67 rim::Master::setup_python();
68 rim::Slave::setup_python();
69 rim::Hub::setup_python();
70 rim::Transaction::setup_python();
71 rim::TransactionLock::setup_python();
72 rim::TcpClient::setup_python();
73 rim::TcpServer::setup_python();
74 rim::Block::setup_python();
75 rim::Variable::setup_python();
76 rim::Emulate::setup_python();
static const uint8_t Fixed
Block access type for fixed-point numeric data.
static const uint8_t Double
Block access type for double-precision (double) data.
static const uint8_t Bytes
Block access type for raw byte data.
static const uint32_t Read
Memory read transaction type.
static const uint8_t UInt
Block access type for unsigned integer data.
static const uint8_t String
Block access type for string data.
static const uint8_t PyFunc
Block access type for Python callback functions.
static const uint8_t Bool
Block access type for boolean data.
static const uint32_t Write
Memory write transaction type.
static const uint32_t Verify
Memory verify readback transaction type.
static const uint8_t Custom
Block access type for custom handlers.
static const uint8_t Float
Block access type for floating-point (float) data.
static const uint32_t Post
Memory posted write transaction type.
static const uint8_t Int
Block access type for signed integer data.