Fix read_uhdm frontend extra_args is neccessary for read_uhdm frontend as it sets filename Signed-off-by: Kamil Rakoczy <krakoczy@antmicro.com>
diff --git a/systemverilog-plugin/uhdmcommonfrontend.cc b/systemverilog-plugin/uhdmcommonfrontend.cc index 53214c5..d12a9c3 100644 --- a/systemverilog-plugin/uhdmcommonfrontend.cc +++ b/systemverilog-plugin/uhdmcommonfrontend.cc
@@ -112,6 +112,7 @@ unhandled_args.push_back(args[i]); } } + extra_args(f, filename, args, args.size() - 1); // pass only unhandled args to Surelog // unhandled args starts with command name, // but Surelog expects args[0] to be program name