aboutsummaryrefslogtreecommitdiffstats
path: root/backends/protobuf/protobuf.cc
diff options
context:
space:
mode:
authorEddie Hung <eddie@fpgeh.com>2019-06-20 19:00:36 -0700
committerEddie Hung <eddie@fpgeh.com>2019-06-20 19:00:36 -0700
commite612dade12b30bdee15b7dd2535af51e5ec1614d (patch)
treee38be54476c557471cc8a30bc8c140d7c2797b3a /backends/protobuf/protobuf.cc
parent014606affe3f1753ac16d2afd684967d72d83746 (diff)
parent477e566e8d203ec7754c90fc845d7f3f759f2974 (diff)
downloadyosys-e612dade12b30bdee15b7dd2535af51e5ec1614d.tar.gz
yosys-e612dade12b30bdee15b7dd2535af51e5ec1614d.tar.bz2
yosys-e612dade12b30bdee15b7dd2535af51e5ec1614d.zip
Merge remote-tracking branch 'origin/master' into xaig
Diffstat (limited to 'backends/protobuf/protobuf.cc')
-rw-r--r--backends/protobuf/protobuf.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/backends/protobuf/protobuf.cc b/backends/protobuf/protobuf.cc
index 549fc73ae..fff110bb0 100644
--- a/backends/protobuf/protobuf.cc
+++ b/backends/protobuf/protobuf.cc
@@ -336,6 +336,7 @@ struct ProtobufPass : public Pass {
std::stringstream buf;
if (!filename.empty()) {
+ rewrite_filename(filename);
std::ofstream *ff = new std::ofstream;
ff->open(filename.c_str(), std::ofstream::trunc);
if (ff->fail()) {