aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorlitghost <537074+litghost@users.noreply.github.com>2018-08-13 14:02:53 -0700
committerlitghost <537074+litghost@users.noreply.github.com>2018-08-13 14:02:53 -0700
commit80d7e007ff4cbe0a9669224751c68e5325fbed0a (patch)
tree5fc6e5ba597e2d882b7dc99422d2b87c60eae739 /kernel
parente275692e84c935d0cdf42c2a4adf7ac949a88132 (diff)
downloadyosys-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>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/yosys.cc2
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")