mirror of https://github.com/YosysHQ/yosys.git
Fix "read -incdir"
Signed-off-by: Clifford Wolf <clifford@clifford.at>
This commit is contained in:
parent
ee68b4d963
commit
f897af626d
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue