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
In xinterrupt_wrap.c, the function XSetPriorityTriggerType() includes code to transform the IntrId passed in as an argument to a IntrNum which it then passes to the XScuGic_SetPriorityTriggerType() function.
The function XGetPriorityTriggerType() is missing this transform. It takes the IntrId passed in as an argument and passes it directly to XScuGic_GetPriorityTriggerType() which results in hitting an assertion.
In xinterrupt_wrap.c, the function XSetPriorityTriggerType() includes code to transform the IntrId passed in as an argument to a IntrNum which it then passes to the XScuGic_SetPriorityTriggerType() function.
The function XGetPriorityTriggerType() is missing this transform. It takes the IntrId passed in as an argument and passes it directly to XScuGic_GetPriorityTriggerType() which results in hitting an assertion.
This can be corrected by adding the transformation from IntrId to IntrNum into XGetPriorityTriggerType() as done in the attached patch file:
0001-updated-XGetPriorityTriggerType-with-IntrId-to-IntrN.patch
Reference to where this was reported on the forums earlier this year:
Vitis Unified IDE Bug in xinterrupt_wrap.h|.c XGetPriorityTriggerType() hanging at assertion on IntrId
The text was updated successfully, but these errors were encountered: