aboutsummaryrefslogtreecommitdiffstats
path: root/backends/aiger/aiger.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/aiger/aiger.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/aiger/aiger.cc')
-rw-r--r--backends/aiger/aiger.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/backends/aiger/aiger.cc b/backends/aiger/aiger.cc
index 516e538a5..4c2ea511a 100644
--- a/backends/aiger/aiger.cc
+++ b/backends/aiger/aiger.cc
@@ -776,6 +776,7 @@ struct AigerBackend : public Backend {
writer.write_aiger(*f, ascii_mode, miter_mode, symbols_mode);
if (!map_filename.empty()) {
+ rewrite_filename(filename);
std::ofstream mapf;
mapf.open(map_filename.c_str(), std::ofstream::trunc);
if (mapf.fail())