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

Fix bug in construct_address_map

* must take into account range of both slave and master, and only use
  lesser one
* fix was necessary for MicroBlaze
parent 56b77300
Pipeline #310 passed with stage
in 3 minutes and 4 seconds
......@@ -253,6 +253,7 @@ namespace eval platform {
puts " address map info: $me]"
set range [expr "max([dict get $me range], 4096)"]
set offset [dict get $me "offset"]
set range [expr "min($range, [get_property RANGE $intf])"]
puts " range: $range"
puts " offset: $offset"
puts " space: $space"
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