Use "verilog -sv" to parse .sv files
This commit is contained in:
parent
55a1b8dbac
commit
847e2ee4a1
1 changed files with 2 additions and 0 deletions
|
@ -54,6 +54,8 @@ static void run_frontend(std::string filename, std::string command, RTLIL::Desig
|
|||
if (command == "auto") {
|
||||
if (filename.size() > 2 && filename.substr(filename.size()-2) == ".v")
|
||||
command = "verilog";
|
||||
else if (filename.size() > 2 && filename.substr(filename.size()-3) == ".sv")
|
||||
command = "verilog -sv";
|
||||
else if (filename.size() > 3 && filename.substr(filename.size()-3) == ".il")
|
||||
command = "ilang";
|
||||
else if (filename.size() > 3 && filename.substr(filename.size()-3) == ".ys")
|
||||
|
|
Loading…
Add table
Reference in a new issue