File tree Expand file tree Collapse file tree 1 file changed +13
-8
lines changed Expand file tree Collapse file tree 1 file changed +13
-8
lines changed Original file line number Diff line number Diff line change @@ -3070,8 +3070,14 @@ void UhdmAst::process_parameter()
30703070 break ;
30713071 }
30723072 case vpiEnumTypespec:
3073- case vpiRealTypespec:
3073+ case vpiRealTypespec: {
3074+ shared.report .mark_handled (typespec_h);
3075+ break ;
3076+ }
30743077 case vpiIntTypespec: {
3078+ #ifdef BUILD_UPSTREAM
3079+ packed_ranges.push_back (make_range (31 , 0 ));
3080+ #endif
30753081 shared.report .mark_handled (typespec_h);
30763082 break ;
30773083 }
@@ -3107,13 +3113,12 @@ void UhdmAst::process_parameter()
31073113 }
31083114 }
31093115 vpi_release_handle (typespec_h);
3110- } else {
3111- AST::AstNode *constant_node = process_value (obj_h);
3112- if (constant_node) {
3113- constant_node->filename = current_node->filename ;
3114- constant_node->location = current_node->location ;
3115- current_node->children .push_back (constant_node);
3116- }
3116+ }
3117+ AST::AstNode *constant_node = process_value (obj_h);
3118+ if (constant_node) {
3119+ constant_node->filename = current_node->filename ;
3120+ constant_node->location = current_node->location ;
3121+ current_node->children .push_back (constant_node);
31173122 }
31183123 add_multirange_wire (current_node, packed_ranges, unpacked_ranges);
31193124}
You can’t perform that action at this time.
0 commit comments