AR# 45468


PlanAhead - Attempting to set a LOC property on a pointer to a deleted port results in an unexpected error


If I execute the Tcl script with a set_property LOC command similar to the following example, I receive exception errors and the PlanAhead tool crashes.

For Example:

set my_port [get_ports we] 
set _we_loc [get_property LOC $my_port]
set_property LOC "" $my_port
delete_port $my_port
set_property LOC AB17 $my_port

"An unexpected error has occurred (11)
.../ISE_DS/PlanAhead/tps/lnx64/jre/lib/amd64/server/ [0x2b44b3a6393d]
.../ISE_DS/PlanAhead/tps/lnx64/jre/lib/amd64/server/ [0x2b44b3a60e9b]
.../ISE_DS/PlanAhead/tps/lnx64/jre/lib/amd64/server/ [0x2b44b3a643e0]
.../ISE_DS/PlanAhead/tps/lnx64/jre/lib/amd64/server/ [0x2b44b3a60dae]
/lib64/ [0x32d560eb10]"


The problem is that when a port is deleted by using the "delete_port $my_port" statement, the pointer $my_port still holds the old pointer port data. 

A subsequent reference of the $my_port will cause the software to crash.

To correct this issue, call "set my_port [get_ports we]" again to reset $my_port.

AR# 45468
日期 08/11/2014
状态 Active
Type 已知问题
People Also Viewed