From: Clifford Wolf Date: Mon, 16 Jul 2018 14:48:09 +0000 (+0200) Subject: Fix "read -incdir" X-Git-Tag: yosys-0.8~56 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f897af626dc8f84c79dc9274a5a5fa868018480f;p=yosys.git Fix "read -incdir" Signed-off-by: Clifford Wolf --- diff --git a/frontends/verific/verific.cc b/frontends/verific/verific.cc index ab752b96d..54b682082 100644 --- a/frontends/verific/verific.cc +++ b/frontends/verific/verific.cc @@ -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;