CIRCT 24.0.0git
Loading...
Searching...
No Matches
esiCppAccel.cpp File Reference
#include "esi/Accelerator.h"
#include "esi/Services.h"
#include "esi/backends/Cosim.h"
#include <ranges>
#include <sstream>
#include <nanobind/nanobind.h>
#include <nanobind/stl/function.h>
#include <nanobind/stl/map.h>
#include <nanobind/stl/optional.h>
#include <nanobind/stl/pair.h>
#include <nanobind/stl/string.h>
#include <nanobind/stl/tuple.h>
#include <nanobind/stl/unique_ptr.h>
#include <nanobind/stl/vector.h>
Include dependency graph for esiCppAccel.cpp:

Go to the source code of this file.

Classes

struct  nanobind::detail::type_hook< ChannelPort >
struct  nanobind::detail::type_hook< Service >
struct  nanobind::detail::type_caster< std::any >
 Nanobind doesn't have a built-in type caster for std::any. More...

Namespaces

namespace  nanobind
namespace  nanobind::detail

Functions

nb::object getPyType (std::optional< const Type * > t)
 Resolve a Type to the Python wrapper object.
 NB_MODULE (esiCppAccel, m)

Function Documentation

◆ getPyType()

nb::object getPyType ( std::optional< const Type * > t)

Resolve a Type to the Python wrapper object.

Definition at line 104 of file esiCppAccel.cpp.

Referenced by NB_MODULE().

◆ NB_MODULE()

NB_MODULE ( esiCppAccel ,
m  )

Definition at line 112 of file esiCppAccel.cpp.

References esi::services::HostMem::allocate(), esi::services::MMIO::RegionDescriptor::base, esi::ChannelPort::ConnectOptions::bufferSize, esi::WindowType::Field::bulkCountWidth, esi::ChannelPort::connect(), esi::Context::connect(), esi::services::ChannelService::FromHost::connect(), esi::services::ChannelService::ToHost::connect(), esi::services::TelemetryService::Metric::connect(), esi::Logger::Debug, esi::ChannelPort::disconnect(), esi::Logger::Error, esi::WindowType::Frame::fields, esi::BundleType::From, esi::AcceleratorConnection::getAccelerator(), esi::Manifest::getApiVersion(), esi::Type::getBitWidth(), esi::MessageData::getBytes(), esi::BundlePort::getChannels(), esi::BundleType::getChannels(), esi::HWModule::getChildren(), esi::services::SysInfo::getCoreClockFrequency(), esi::services::SysInfo::getCycleCount(), esi::services::MMIO::MMIORegion::getDescriptor(), esi::ArrayType::getElementType(), esi::ListType::getElementType(), esi::services::SysInfo::getEsiVersion(), esi::StructType::getFields(), esi::UnionType::getFields(), esi::WindowType::getFrames(), esi::BundlePort::getID(), esi::Instance::getID(), esi::Type::getID(), esi::HWModule::getInfo(), esi::ChannelType::getInner(), esi::TypeAliasType::getInnerType(), esi::WindowType::getIntoType(), esi::services::SysInfo::getJsonManifest(), esi::WindowType::getLoweredType(), esi::Manifest::getModuleInfos(), esi::TypeAliasType::getName(), esi::WindowType::getName(), esi::HWModule::getPorts(), esi::services::HostMemRegion::getPtr(), getPyType(), esi::BundlePort::getRawRead(), esi::BundlePort::getRawWrite(), esi::services::MMIO::getRegions(), esi::HWModule::getServices(), esi::services::Service::getServiceSymbol(), esi::ArrayType::getSize(), esi::MessageData::getSize(), esi::services::HostMemRegion::getSize(), esi::ChannelPort::getType(), esi::BitVectorType::getWidth(), esi::ChannelPort::getWindowType(), esi::utils::hash_combine(), esi::Logger::Info, esi::StructType::isReverse(), esi::services::HostMem::mapMemory(), esi::WindowType::Field::name, esi::WindowType::Frame::name, esi::WindowType::Field::numItems, esi::services::ChannelService::ToHost::read(), esi::services::MMIO::MMIORegion::read(), esi::services::MMIO::read(), esi::services::TelemetryService::Metric::read(), esi::ReadChannelPort::readAsync(), esi::services::TelemetryService::Metric::readInt(), esi::Context::setLogger(), esi::services::MMIO::RegionDescriptor::size, esi::services::HostMem::start(), esi::BundleType::To, esi::AppIDPath::toStr(), esi::ChannelPort::ConnectOptions::translateMessage, esi::WriteChannelPort::tryWrite(), esi::Constant::type, esi::services::HostMem::unmapMemory(), esi::services::HostMemAllocator::Options::useLargePages, esi::Constant::value, esi::Logger::Warning, esi::services::MMIO::MMIORegion::write(), esi::services::MMIO::write(), esi::WriteChannelPort::write(), and esi::services::HostMemAllocator::Options::writeable.