Commit d4922da0 authored by Naga Sureshkumar Relli's avatar Naga Sureshkumar Relli
Browse files

fix race condition for child nodes



Don't map child nodes in dict map, when the child nodes doesn't
have proper baseaddress.

we expect proper child node as child0: child@xxxxxxxx{}
but child0: child@0 is invalid.
so don't generate reference nodes for child node, when the
child node is actually not refering to any physical address.
Signed-off-by: default avatarNaga Sureshkumar Relli <nagasure@xilinx.com>
Acked-by: default avatarMichal Simek <michals@xilinx.com>
parent fa38cbe1
......@@ -1032,6 +1032,9 @@ proc gen_ps7_mapping {} {
continue
}
set unit_addr [get_property UNIT_ADDRESS $node]
if {[string length $unit_addr] <= 1} {
set unit_addr ""
}
set node_name [get_property NODE_NAME $node]
set node_label [get_property NODE_LABEL $node]
if {[catch {set status_prop [get_property CONFIG.status $node]} msg]} {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment