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.
1 parent 2acc97d commit ba8c453Copy full SHA for ba8c453
uhdm-plugin/UhdmAst.cc
@@ -2479,6 +2479,10 @@ void UhdmAst::process_assignment_pattern_op()
2479
for (auto p : ordered_children) {
2480
current_node->children.push_back(p.second);
2481
}
2482
+ // flattened nodes have correct order, but unflattened ones still needs to be reversed
2483
+ if (!(vpi_get(vpiFlattened, obj_h) == 1)) {
2484
+ std::reverse(current_node->children.begin(), current_node->children.end());
2485
+ }
2486
return;
2487
2488
auto assign_node = find_ancestor({AST::AST_ASSIGN, AST::AST_ASSIGN_EQ, AST::AST_ASSIGN_LE});
0 commit comments