-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes issue with extra assigned addressmaps in ZCU102
- Auto assigned addresses introduced earlier lead to issues with extra address segments of the MPSoC processing system - Added ignore addresses feature to enable system specific ignores from auto assignment
- Loading branch information
Showing
7 changed files
with
70 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,9 +21,8 @@ | |
# are instantiated, depending on the number interrupt sources returned by the architecture. | ||
# @author Jaco A. Hofmann, TU Darmstadt ([email protected]) | ||
# | ||
# check if TAPASCO_HOME env var is set | ||
if {![info exists ::env(TAPASCO_HOME)]} { | ||
puts "Could not find TaPaSCo root directory, please set environment variable 'TAPASCO_HOME'." | ||
if { [::tapasco::vivado_is_newer "2018.1"] == 0 } { | ||
puts "Vivado [version -short] is too old to support MPSoC." | ||
exit 1 | ||
} | ||
|
||
|
@@ -59,11 +58,22 @@ | |
} | ||
if {$base != "skip"} { set peam [addressmap::assign_address $peam $m $base $stride $range $comp] } | ||
} | ||
assign_bd_address [get_bd_addr_segs {host/zynqmp/SAXIGP2/HP0_DDR_HIGH }] | ||
assign_bd_address [get_bd_addr_segs {host/zynqmp/SAXIGP4/HP2_DDR_HIGH }] | ||
return $peam | ||
} | ||
|
||
proc get_ignored_segments { } { | ||
set ignored [list] | ||
lappend ignored "/host/zynqmp/SAXIGP2/HP0_DDR_LOW" | ||
lappend ignored "/host/zynqmp/SAXIGP2/HP0_LPS_OCM" | ||
lappend ignored "/host/zynqmp/SAXIGP2/HP0_PCIE_LOW" | ||
lappend ignored "/host/zynqmp/SAXIGP2/HP0_QSPI" | ||
lappend ignored "/host/zynqmp/SAXIGP4/HP2_DDR_LOW" | ||
lappend ignored "/host/zynqmp/SAXIGP4/HP2_LPS_OCM" | ||
lappend ignored "/host/zynqmp/SAXIGP4/HP2_PCIE_LOW" | ||
lappend ignored "/host/zynqmp/SAXIGP4/HP2_QSPI" | ||
return $ignored | ||
} | ||
|
||
proc number_of_interrupt_controllers {} { | ||
set no_pes [llength [arch::get_processing_elements]] | ||
return [expr "$no_pes > 96 ? 4 : ($no_pes > 64 ? 3 : ($no_pes > 32 ? 2 : 1))"] | ||
|
@@ -317,6 +327,7 @@ | |
[get_bd_pins -of_objects $bic -filter { TYPE == rst && DIR == I && NAME =~ "S00_ARESETN" }] | ||
} | ||
|
||
|
||
# generate PS MPSoC instance. Default values are fine | ||
set ps [tapasco::ip::create_ultra_ps "zynqmp" [tapasco::get_board_preset] [tapasco::get_design_frequency]] | ||
|
||
|