aboutsummaryrefslogtreecommitdiffstats
path: root/passes/techmap/abc9.cc
diff options
context:
space:
mode:
authorEddie Hung <eddie@fpgeh.com>2019-09-30 12:29:35 -0700
committerEddie Hung <eddie@fpgeh.com>2019-09-30 12:29:35 -0700
commit8684b58bed2875ab67e9b12912d791f9d588f272 (patch)
treee66d456aec1ffe83827ac7cb589bdbf1275cf67e /passes/techmap/abc9.cc
parentf6203e6bd65f7383f14a15e926fc4b8f5f9a3edf (diff)
parenta274b7cc86d4f64541d3d2903b4eeed4616ab1d8 (diff)
downloadyosys-8684b58bed2875ab67e9b12912d791f9d588f272.tar.gz
yosys-8684b58bed2875ab67e9b12912d791f9d588f272.tar.bz2
yosys-8684b58bed2875ab67e9b12912d791f9d588f272.zip
Merge remote-tracking branch 'origin/master' into xaig_dff
Diffstat (limited to 'passes/techmap/abc9.cc')
-rw-r--r--passes/techmap/abc9.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/passes/techmap/abc9.cc b/passes/techmap/abc9.cc
index 1847186bf..0276283a5 100644
--- a/passes/techmap/abc9.cc
+++ b/passes/techmap/abc9.cc
@@ -417,7 +417,7 @@ void abc9_module(RTLIL::Design *design, RTLIL::Module *current_module, std::stri
log_error("ABC: execution of command \"%s\" failed: return code %d.\n", buffer.c_str(), ret);
buffer = stringf("%s/%s", tempdir_name.c_str(), "output.aig");
- ifs.open(buffer);
+ ifs.open(buffer, std::ifstream::binary);
if (ifs.fail())
log_error("Can't open ABC output file `%s'.\n", buffer.c_str());