diff options
Diffstat (limited to 'kernel/yosys.cc')
-rw-r--r-- | kernel/yosys.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/yosys.cc b/kernel/yosys.cc index bbc142f14..3076158bd 100644 --- a/kernel/yosys.cc +++ b/kernel/yosys.cc @@ -836,6 +836,10 @@ void run_backend(std::string filename, std::string command, RTLIL::Design *desig command = "ilang"; else if (filename.size() > 5 && filename.substr(filename.size()-5) == ".blif") command = "blif"; + else if (filename.size() > 5 && filename.substr(filename.size()-5) == ".edif") + command = "edif"; + else if (filename.size() > 5 && filename.substr(filename.size()-5) == ".json") + command = "json"; else if (filename == "-") command = "ilang"; else if (filename.empty()) |