We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 12fa74f + ba8c453 commit 811e120Copy full SHA for 811e120
uhdm-plugin/UhdmAst.cc
@@ -2315,6 +2315,10 @@ void UhdmAst::process_assignment_pattern_op()
2315
for (auto p : ordered_children) {
2316
current_node->children.push_back(p.second);
2317
}
2318
+ // flattened nodes have correct order, but unflattened ones still needs to be reversed
2319
+ if (!(vpi_get(vpiFlattened, obj_h) == 1)) {
2320
+ std::reverse(current_node->children.begin(), current_node->children.end());
2321
+ }
2322
return;
2323
2324
auto assign_node = find_ancestor({AST::AST_ASSIGN, AST::AST_ASSIGN_EQ, AST::AST_ASSIGN_LE});
0 commit comments