Commit d6adc315 authored by Jens Korinth's avatar Jens Korinth
Browse files

Bugfix for newer Vivado versions in Zynq platform

* address map code did not work correctly, fixed
parent 3c810860
...@@ -317,9 +317,11 @@ namespace eval platform { ...@@ -317,9 +317,11 @@ namespace eval platform {
set masters [tapasco::get_aximm_interfaces $pe] set masters [tapasco::get_aximm_interfaces $pe]
foreach m $masters { foreach m $masters {
set slaves [find_bd_objs -relation addressable_slave $m] set slaves [find_bd_objs -relation addressable_slave $m]
set spaces [get_bd_addr_spaces $pe/* -filter { NAME =~ "*m_axi*" || NAME =~ "*M_AXI*" }] foreach s $slaves {
foreach u $spaces { create_bd_addr_seg -range [get_property RANGE [get_bd_addr_spaces $m]] -offset 0 \
create_bd_addr_seg -range [get_property RANGE $u] -offset 0 $u [get_bd_addr_segs $slaves/*] "SEG_$u" [get_bd_addr_spaces $m] \
[get_bd_addr_segs $s/*] \
"SEG_${m}_${s}"
} }
} }
} }
......
Supports Markdown
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