systemverilog: Fix resolving interface members' types
diff --git a/systemverilog-plugin/UhdmAst.cc b/systemverilog-plugin/UhdmAst.cc index 8f92ac6..1c62f28 100644 --- a/systemverilog-plugin/UhdmAst.cc +++ b/systemverilog-plugin/UhdmAst.cc
@@ -2545,7 +2545,7 @@ if (shared.top_nodes.find(type) != shared.top_nodes.end()) { // Was created before, fill missing elaboratedInterface = shared.top_nodes[type]; - visit_one_to_many({vpiPort}, obj_h, [&](AST::AstNode *node) { + visit_one_to_many({vpiPort, vpiVariables}, obj_h, [&](AST::AstNode *node) { if (node) { add_or_replace_child(elaboratedInterface, node); }