You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I'm trying to add a user-defined property of string[] or just string type and use it in one of my registers with its default value.
When I try to access it by using get_property(<udp>) I get 'None'
I confirm that the compiler throws an exception if a UDP with type = string[] is used. That should be supported and is definitely a bug. This is related to an incomplete fix for #147 .
However I do not see any issue with the non-array example you show. I do indeed see that with type = string, the property resolves as expected: reg1_instance->myUDP == "STR"
amykyta3
changed the title
User defined property of list type isn't shown in get_property method
User defined property of array type causes exception
Jul 19, 2023
amykyta3
changed the title
User defined property of array type causes exception
User defined property default for array type causes exception
Jul 20, 2023
Describe the bug
I'm trying to add a user-defined property of string[] or just string type and use it in one of my registers with its default value.
When I try to access it by using
get_property(<udp>)
I get 'None'Details like these can be helpful:
RDL code:
I expect that if no value was assigned to this UDP, I would get "STR" as a result of the method.
The text was updated successfully, but these errors were encountered: