z-mpsoc- map 0x4-0x8,0x7-0x9
parent
ca8b479cee
commit
3e57ff1fc5
|
@ -532,11 +532,19 @@ proc ad_cpu_interconnect {p_address p_name} {
|
|||
set p_seg [get_bd_addr_segs -of_objects [get_bd_cells $p_name]]
|
||||
set p_index 0
|
||||
foreach p_seg_name $p_seg {
|
||||
if {($p_index == 0) && ($sys_zynq < 2)} {
|
||||
if {$p_index == 0} {
|
||||
set p_seg_range [get_property range $p_seg_name]
|
||||
if {$p_seg_range < 0x1000} {
|
||||
set p_seg_range 0x1000
|
||||
}
|
||||
if {$sys_zynq == 2} {
|
||||
if {($p_address >= 0x40000000) && ($p_address <= 0x4fffffff)} {
|
||||
set p_address [expr ($p_address + 0x40000000)]
|
||||
}
|
||||
if {($p_address >= 0x70000000) && ($p_address <= 0x7fffffff)} {
|
||||
set p_address [expr ($p_address + 0x20000000)]
|
||||
}
|
||||
}
|
||||
create_bd_addr_seg -range $p_seg_range \
|
||||
-offset $p_address $sys_addr_cntrl_space \
|
||||
$p_seg_name "SEG_data_${p_name}"
|
||||
|
|
Loading…
Reference in New Issue