Skip to content

Commit 03ebfd5

Browse files
committed
UHDM model hierarchy changed to enforce vpiParent as weak reference.
1 parent 38a8a5d commit 03ebfd5

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
@@ -3878,9 +3878,6 @@ void UhdmAst::process_bit_select()
38783878
void UhdmAst::process_part_select()
38793879
{
38803880
current_node = make_ast_node(AST::AST_IDENTIFIER);
3881-
vpiHandle parent_h = vpi_handle(vpiParent, obj_h);
3882-
current_node->str = get_name(parent_h);
3883-
vpi_release_handle(parent_h);
38843881
auto range_node = new AST::AstNode(AST::AST_RANGE);
38853882
range_node->filename = current_node->filename;
38863883
range_node->location = current_node->location;
@@ -3891,9 +3888,6 @@ void UhdmAst::process_part_select()
38913888
void UhdmAst::process_indexed_part_select()
38923889
{
38933890
current_node = make_ast_node(AST::AST_IDENTIFIER);
3894-
vpiHandle parent_h = vpi_handle(vpiParent, obj_h);
3895-
current_node->str = get_name(parent_h);
3896-
vpi_release_handle(parent_h);
38973891
// TODO: check if there are other types, for now only handle 1 and 2 (+: and -:)
38983892
auto indexed_part_select_type = vpi_get(vpiIndexedPartSelectType, obj_h) == 1 ? AST::AST_ADD : AST::AST_SUB;
38993893
auto range_node = new AST::AstNode(AST::AST_RANGE);

0 commit comments

Comments
 (0)