Skip to content

Commit e732445

Browse files
committed
Check for variables inside block
Signed-off-by: Kamil Rakoczy <[email protected]>
1 parent 33996be commit e732445

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

uhdm-plugin/UhdmAst.cc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1925,6 +1925,13 @@ void UhdmAst::process_begin()
19251925
}
19261926
}
19271927
});
1928+
// TODO: find out how to set VERILOG_FRONTEND::sv_mode to true
1929+
// simplify checks if sv_mode is set to ture when wire is declared inside unnamed block
1930+
/*visit_one_to_many({vpiVariables}, obj_h, [&](AST::AstNode *node) {
1931+
if (node) {
1932+
current_node->children.push_back(node);
1933+
}
1934+
});*/
19281935
}
19291936

19301937
void UhdmAst::process_operation()

0 commit comments

Comments
 (0)