diff options
author | Andrew Zonenberg <azonenberg@drawersteak.com> | 2016-03-30 20:38:18 -0700 |
---|---|---|
committer | Andrew Zonenberg <azonenberg@drawersteak.com> | 2016-03-30 20:38:18 -0700 |
commit | d16d05e41587a282a53eda59af837b7d264498fc (patch) | |
tree | 01febb97bddc8cefa1352916d1b1c5baca21b101 /kernel/yosys.cc | |
parent | 94a6923e7dd363c5b11116e9bd85aa012fed512a (diff) | |
parent | 0db53284fd610cac1e956a87c7eec7df3d8564c5 (diff) | |
download | yosys-d16d05e41587a282a53eda59af837b7d264498fc.tar.gz yosys-d16d05e41587a282a53eda59af837b7d264498fc.tar.bz2 yosys-d16d05e41587a282a53eda59af837b7d264498fc.zip |
Merge https://github.com/cliffordwolf/yosys
Diffstat (limited to 'kernel/yosys.cc')
-rw-r--r-- | kernel/yosys.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/kernel/yosys.cc b/kernel/yosys.cc index a69a85447..501d94224 100644 --- a/kernel/yosys.cc +++ b/kernel/yosys.cc @@ -104,7 +104,7 @@ void yosys_banner() log(" | |\n"); log(" | yosys -- Yosys Open SYnthesis Suite |\n"); log(" | |\n"); - log(" | Copyright (C) 2012 - 2015 Clifford Wolf <clifford@clifford.at> |\n"); + log(" | Copyright (C) 2012 - 2016 Clifford Wolf <clifford@clifford.at> |\n"); log(" | |\n"); log(" | Permission to use, copy, modify, and/or distribute this software for any |\n"); log(" | purpose with or without fee is hereby granted, provided that the above |\n"); @@ -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") |