Fix "read -incdir"

Signed-off-by: Clifford Wolf <clifford@clifford.at>
This commit is contained in:
Clifford Wolf 2018-07-16 16:48:09 +02:00
parent ee68b4d963
commit f897af626d
1 changed files with 1 additions and 1 deletions

View File

@ -2276,7 +2276,7 @@ struct ReadPass : public Pass {
}
args[0] = "verilog_defaults";
args[1] = "-add";
for (int i = 1; i < GetSize(args); i++)
for (int i = 2; i < GetSize(args); i++)
args[i] = "-I" + args[i];
Pass::call(design, args);
return;