handle vpiTypeParameter
diff --git a/systemverilog-plugin/UhdmAst.cc b/systemverilog-plugin/UhdmAst.cc index 54a2524..011ae12 100644 --- a/systemverilog-plugin/UhdmAst.cc +++ b/systemverilog-plugin/UhdmAst.cc
@@ -4533,6 +4533,13 @@ case vpiClockingBlock: process_unsupported_stmt(object); break; + case vpiTypeParameter: + // Instances in an `uhdmTopModules` tree already have all parameter references + // substituted with the parameter type/value by Surelog, + // so the plugin doesn't need to process the parameter itself. + // Other parameter types are handled by the plugin + // mainly because they were implemented before Surelog did the substitution. + break; case vpiProgram: default: report_error("%.*s:%d: Encountered unhandled object '%.*s' of type '%s'\n", (int)object->VpiFile().length(), object->VpiFile().data(),