diff options
author | litghost <537074+litghost@users.noreply.github.com> | 2018-08-13 14:02:53 -0700 |
---|---|---|
committer | litghost <537074+litghost@users.noreply.github.com> | 2018-08-13 14:02:53 -0700 |
commit | 80d7e007ff4cbe0a9669224751c68e5325fbed0a (patch) | |
tree | 5fc6e5ba597e2d882b7dc99422d2b87c60eae739 | |
parent | e275692e84c935d0cdf42c2a4adf7ac949a88132 (diff) | |
download | yosys-80d7e007ff4cbe0a9669224751c68e5325fbed0a.tar.gz yosys-80d7e007ff4cbe0a9669224751c68e5325fbed0a.tar.bz2 yosys-80d7e007ff4cbe0a9669224751c68e5325fbed0a.zip |
Map .eblif extension as blif.
Signed-off-by: litghost <537074+litghost@users.noreply.github.com>
-rw-r--r-- | kernel/yosys.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/yosys.cc b/kernel/yosys.cc index 750a154e6..dca277532 100644 --- a/kernel/yosys.cc +++ b/kernel/yosys.cc @@ -825,6 +825,8 @@ void run_frontend(std::string filename, std::string command, std::string *backen command = "vhdl"; else if (filename.size() > 4 && filename.substr(filename.size()-5) == ".blif") command = "blif"; + else if (filename.size() > 5 && filename.substr(filename.size()-6) == ".eblif") + command = "blif"; else if (filename.size() > 4 && filename.substr(filename.size()-5) == ".json") command = "json"; else if (filename.size() > 3 && filename.substr(filename.size()-3) == ".il") |