Add --dump-config-string flag
[riscv-isa-sim.git] / riscv / sim.h
index 89d3648ee4aa91651d5628d960ccd56ecfa66291..d8f39e2e73ed9e7637bf55834dc303d00a2cf1ae 100644 (file)
@@ -29,6 +29,7 @@ public:
   void set_histogram(bool value);
   void set_procs_debug(bool value);
   htif_isasim_t* get_htif() { return htif.get(); }
+  const char* get_config_string() { return &config_string->contents()[0]; }
 
   // returns the number of processors in this simulator
   size_t num_cores() { return procs.size(); }