diff --git a/backends/firrtl/firrtl.cc b/backends/firrtl/firrtl.cc index 7d2da7b00..a6cb9cfbe 100644 --- a/backends/firrtl/firrtl.cc +++ b/backends/firrtl/firrtl.cc @@ -106,7 +106,11 @@ std::string getFileinfo(dict attributes) fileinfo << "]"; } } - return fileinfo.str(); + + std::string fileinfo_str = fileinfo.str(); + fileinfo_str.erase(std::remove(fileinfo_str.begin(), fileinfo_str.end(), '\"'), fileinfo_str.end()); + + return fileinfo_str; } // Get a port direction with respect to a specific module.