16#ifndef CIRCT_DIALECT_ARC_RUNTIME_MODELINSTANCE_H
17#define CIRCT_DIALECT_ARC_RUNTIME_MODELINSTANCE_H
72 std::map<std::string, std::optional<std::string>>
arguments;
std::filesystem::path getTraceFilePath(const std::string &suffix)
Get the path to the output trace file.
static const std::string kArgKeyTraceFile
Workdir-relative or absolute path to trace file.
void onEval(ArcState *mutableState)
void parseArgs(const char *args)
Parse and initialize the instance settings from the given argument string.
static const std::string kArgKeyDebug
Enable verbose debug output.
static const std::string kArgKeyVcd
Select VCD trace mode.
std::unique_ptr< TraceEncoder > traceEncoder
std::map< std::string, std::optional< std::string > > arguments
std::filesystem::path workDir
The path to the instance's working directory.
const ArcState *const state
const uint64_t instanceID
static const std::string kArgKeyFst
Select FST trace mode.
void onInitialized(ArcState *mutableState)
static const std::string kArgKeyWorkDir
Instance's working directory. Absolute or relative to process workdir.
const char * getModelName() const
uint64_t * swapTraceBuffer()
const ArcRuntimeModelInfo *const modelInfo
The InstanceGraph op interface, see InstanceGraphInterface.td for more details.
Static information for a compiled hardware model, generated by the MLIR lowering.
const char * modelName
Name of the compiled model.
Combined runtime and model state for a hardware model instance.