projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c15a3a
)
Added .vhd file extension support
author
Clifford Wolf
<clifford@clifford.at>
Wed, 30 Mar 2016 11:24:49 +0000
(13:24 +0200)
committer
Clifford Wolf
<clifford@clifford.at>
Wed, 30 Mar 2016 11:24:49 +0000
(13:24 +0200)
kernel/yosys.cc
patch
|
blob
|
history
diff --git
a/kernel/yosys.cc
b/kernel/yosys.cc
index a69a854472eb3a9fda503b1bf66556a41e960b6e..b9a26ee89b162107641e2982fc44cefba5f683df 100644
(file)
--- a/
kernel/yosys.cc
+++ b/
kernel/yosys.cc
@@
-763,6
+763,8
@@
void run_frontend(std::string filename, std::string command, std::string *backen
command = "verilog";
else if (filename.size() > 2 && filename.substr(filename.size()-3) == ".sv")
command = "verilog -sv";
+ else if (filename.size() > 2 && filename.substr(filename.size()-4) == ".vhd")
+ command = "vhdl";
else if (filename.size() > 4 && filename.substr(filename.size()-5) == ".blif")
command = "blif";
else if (filename.size() > 3 && filename.substr(filename.size()-3) == ".il")