aboutsummaryrefslogtreecommitdiffstats
path: root/passes
diff options
context:
space:
mode:
authorMiodrag Milanovic <mmicko@gmail.com>2019-09-29 13:22:11 +0200
committerMiodrag Milanovic <mmicko@gmail.com>2019-09-29 13:22:11 +0200
commit3f70c1fd26eb109c2c4d899cce55f24bbf04acc1 (patch)
tree327cbd6c9c1c62362efe6e363ad6856f2f7e9a36 /passes
parentce0631c371f69f0132ea9ee4bc8f5ee576dbb1a3 (diff)
downloadyosys-3f70c1fd26eb109c2c4d899cce55f24bbf04acc1.tar.gz
yosys-3f70c1fd26eb109c2c4d899cce55f24bbf04acc1.tar.bz2
yosys-3f70c1fd26eb109c2c4d899cce55f24bbf04acc1.zip
Open aig frontend as binary file
Diffstat (limited to 'passes')
-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 7eac08d17..7c764451f 100644
--- a/passes/techmap/abc9.cc
+++ b/passes/techmap/abc9.cc
@@ -471,7 +471,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());