Skip to content

Commit 3c4008f

Browse files
committed
UHDM model hierarchy changed to enforce vpiParent as weak reference.
1 parent 6689e20 commit 3c4008f

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

systemverilog-plugin/UhdmAst.cc

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3985,9 +3985,6 @@ void UhdmAst::process_bit_select()
39853985
void UhdmAst::process_part_select()
39863986
{
39873987
current_node = make_ast_node(AST::AST_IDENTIFIER);
3988-
vpiHandle parent_h = vpi_handle(vpiParent, obj_h);
3989-
current_node->str = get_name(parent_h);
3990-
vpi_release_handle(parent_h);
39913988
auto range_node = new AST::AstNode(AST::AST_RANGE);
39923989
range_node->filename = current_node->filename;
39933990
range_node->location = current_node->location;
@@ -3998,9 +3995,6 @@ void UhdmAst::process_part_select()
39983995
void UhdmAst::process_indexed_part_select()
39993996
{
40003997
current_node = make_ast_node(AST::AST_IDENTIFIER);
4001-
vpiHandle parent_h = vpi_handle(vpiParent, obj_h);
4002-
current_node->str = get_name(parent_h);
4003-
vpi_release_handle(parent_h);
40043998
// TODO: check if there are other types, for now only handle 1 and 2 (+: and -:)
40053999
auto indexed_part_select_type = vpi_get(vpiIndexedPartSelectType, obj_h) == 1 ? AST::AST_ADD : AST::AST_SUB;
40064000
auto range_node = new AST::AstNode(AST::AST_RANGE);

0 commit comments

Comments
 (0)