3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-05 17:14:08 +00:00

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

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;