CIRCT 24.0.0git
Loading...
Searching...
No Matches
esiquery.cpp File Reference
#include "esi/Accelerator.h"
#include "esi/CLI.h"
#include "esi/Manifest.h"
#include "esi/Services.h"
#include <algorithm>
#include <iostream>
#include <map>
#include <nlohmann/json.hpp>
#include <stdexcept>
#include <string>
Include dependency graph for esiquery.cpp:

Go to the source code of this file.

Functions

void printInfo (std::ostream &os, AcceleratorConnection &acc, bool details)
void printHier (std::ostream &os, AcceleratorConnection &acc, bool details)
void printTelemetry (std::ostream &os, AcceleratorConnection &acc)
void printTelemetryJson (std::ostream &os, AcceleratorConnection &acc)
void resetDesign (std::ostream &os, AcceleratorConnection &acc)
int main (int argc, const char *argv[])
static bool showPort (const BundlePort &port, bool details)
void printPort (std::ostream &os, const BundlePort &port, std::string indent, bool details)
void printInstance (std::ostream &os, const HWModule *d, std::string indent, bool details)
static bool collectTelemetryJson (const HWModule &module, nlohmann::json &node)

Function Documentation

◆ collectTelemetryJson()

bool collectTelemetryJson ( const HWModule & module,
nlohmann::json & node )
static

◆ main()

◆ printHier()

void printHier ( std::ostream & os,
AcceleratorConnection & acc,
bool details )

◆ printInfo()

void printInfo ( std::ostream & os,
AcceleratorConnection & acc,
bool details )

◆ printInstance()

void printInstance ( std::ostream & os,
const HWModule * d,
std::string indent,
bool details )

Definition at line 143 of file esiquery.cpp.

References printInstance(), and printPort().

Referenced by printHier(), and printInstance().

◆ printPort()

void printPort ( std::ostream & os,
const BundlePort & port,
std::string indent,
bool details )

Definition at line 127 of file esiquery.cpp.

References showPort().

Referenced by printInstance().

◆ printTelemetry()

void printTelemetry ( std::ostream & os,
AcceleratorConnection & acc )

◆ printTelemetryJson()

void printTelemetryJson ( std::ostream & os,
AcceleratorConnection & acc )

◆ resetDesign()

void resetDesign ( std::ostream & os,
AcceleratorConnection & acc )

Definition at line 249 of file esiquery.cpp.

Referenced by main().

◆ showPort()

bool showPort ( const BundlePort & port,
bool details )
static

Definition at line 122 of file esiquery.cpp.

Referenced by printPort().