CIRCT 21.0.0git
|
Common options and code for ESI runtime tools. More...
#include <CLI.h>
Public Member Functions | |
CliParser (const std::string &toolName) | |
int | esiParse (int argc, const char **argv) |
Run the parser. | |
std::unique_ptr< AcceleratorConnection > | connect () |
Connect to the accelerator using the specified backend and connection. | |
Context & | getContext () |
Get the context. | |
Protected Attributes | |
Context | ctxt |
std::string | backend |
std::string | connStr |
bool | debug |
bool | verbose |
|
inline |
|
inline |
|
inline |
Run the parser.
Definition at line 43 of file CLI.h.
References ctxt, esi::Logger::Debug, esi::Logger::Info, and verbose.
Referenced by main().
|
inline |
|
protected |
Definition at line 63 of file CLI.h.
Referenced by CliParser(), and connect().
|
protected |
Definition at line 64 of file CLI.h.
Referenced by CliParser(), and connect().
|
protected |
Definition at line 61 of file CLI.h.
Referenced by connect(), esiParse(), and getContext().
|
protected |
Definition at line 65 of file CLI.h.
Referenced by esi-cosim.Verilator::compile_commands(), and esi-cosim.Simulator::run().
|
protected |
Definition at line 66 of file CLI.h.
Referenced by CliParser(), and esiParse().