now generating simulation ini file will try to create directory first
#include "vtr_assert.h"
#include "vtr_time.h"
+/* Headers from openfpgautil library */
+#include "openfpga_digest.h"
+
#include "simulation_utils.h"
#include "verilog_constants.h"
@@ -34,6 +37,11 @@ void print_verilog_simulation_info(const std::string& ini_fname,
std::string timer_message = std::string("Write exchangeable file containing simulation information '") + ini_fname + std::string("'");
+ std::string ini_dir_path = format_dir_path(find_path_dir_name(ini_fname));
+
+ /* Create directories */
+ create_directory(ini_dir_path);
+
/* Start time count */
vtr::ScopedStartFinishTimer timer(timer_message);
