Skip to content

Commit

Permalink
Merge pull request #538 from QuantamHD/fix_param_union
Browse files Browse the repository at this point in the history
Allows Union Types in Parameter Fields
  • Loading branch information
wsipak authored Sep 1, 2023
2 parents 128ed9c + 26eb722 commit 834794d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions systemverilog-plugin/UhdmAst.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4817,6 +4817,7 @@ void UhdmAst::process_parameter()
packed_ranges.push_back(make_range(63, 0));
break;
}
case vpiUnionTypespec:
case vpiStructTypespec: {
visit_one_to_one({vpiTypespec}, obj_h, [&](AST::AstNode *node) {
if (node && !node->str.empty()) {
Expand Down

0 comments on commit 834794d

Please sign in to comment.