projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d176e61
)
Added back-end auto-detect for .edif and .json
author
Clifford Wolf
<clifford@clifford.at>
Thu, 9 Apr 2015 13:37:54 +0000
(15:37 +0200)
committer
Clifford Wolf
<clifford@clifford.at>
Thu, 9 Apr 2015 13:37:54 +0000
(15:37 +0200)
kernel/yosys.cc
patch
|
blob
|
history
diff --git
a/kernel/yosys.cc
b/kernel/yosys.cc
index bbc142f14adca39ac57ac6797ad3d3cd9781bcd3..3076158bd9e5397cc87c443e2ea000bfeebafec2 100644
(file)
--- 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())