CIRCT
20.0.0git
|
#include "esi/Accelerator.h"
#include "esi/Manifest.h"
#include "esi/Services.h"
#include <iostream>
#include <map>
#include <stdexcept>
Go to the source code of this file.
Functions | |
void | printInfo (std::ostream &os, AcceleratorConnection &acc) |
void | printHier (std::ostream &os, AcceleratorConnection &acc) |
int | main (int argc, const char *argv[]) |
void | printPort (std::ostream &os, const BundlePort &port, std::string indent="") |
void | printInstance (std::ostream &os, const HWModule *d, std::string indent="") |
int main | ( | int | argc, |
const char * | argv[] | ||
) |
Definition at line 29 of file esiquery.cpp.
References esiaccel.accelerator::ctxt, esi::services::SysInfo::getEsiVersion(), printHier(), and printInfo().
void printHier | ( | std::ostream & | os, |
AcceleratorConnection & | acc | ||
) |
Definition at line 126 of file esiquery.cpp.
References esi::Manifest::buildAccelerator(), esi::AcceleratorConnection::getCtxt(), esi::services::SysInfo::getJsonManifest(), esi::AcceleratorConnection::getService(), and printInstance().
Referenced by main().
void printInfo | ( | std::ostream & | os, |
AcceleratorConnection & | acc | ||
) |
Definition at line 71 of file esiquery.cpp.
References esi::Manifest::getApiVersion(), esi::AcceleratorConnection::getCtxt(), esi::Manifest::getModuleInfos(), esi::AcceleratorConnection::getService(), and esi::Manifest::getTypeTable().
Referenced by main().
void printInstance | ( | std::ostream & | os, |
const HWModule * | d, | ||
std::string | indent = "" |
||
) |
Definition at line 107 of file esiquery.cpp.
References esi::HWModule::getChildrenOrdered(), esi::HWModule::getPortsOrdered(), and printPort().
Referenced by printHier().
void printPort | ( | std::ostream & | os, |
const BundlePort & | port, | ||
std::string | indent = "" |
||
) |
Definition at line 93 of file esiquery.cpp.
References esi::BundlePort::getChannels(), and esi::BundlePort::getID().
Referenced by printInstance().