From: litghost <537074+litghost@users.noreply.github.com> Date: Mon, 13 Aug 2018 21:02:53 +0000 (-0700) Subject: Map .eblif extension as blif. X-Git-Tag: yosys-0.8~40^2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=80d7e007ff4cbe0a9669224751c68e5325fbed0a;p=yosys.git Map .eblif extension as blif. Signed-off-by: litghost <537074+litghost@users.noreply.github.com> --- 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")