Commit 18e67096 authored by Jaco Hofmann's avatar Jaco Hofmann
Browse files

Use sane defaults for missing address maps

parent da0b7e83
Pipeline #673 passed with stage
in 11 minutes and 7 seconds
...@@ -157,17 +157,17 @@ namespace eval addressmap { ...@@ -157,17 +157,17 @@ namespace eval addressmap {
puts " neither $intf nor $sintf were found in address map for $seg: $::errorInfo" puts " neither $intf nor $sintf were found in address map for $seg: $::errorInfo"
puts " assuming internal connection, setting values as found in segment:" puts " assuming internal connection, setting values as found in segment:"
set range [get_property RANGE $seg] set range [get_property RANGE $seg]
puts " range: $range"
if {$range eq ""} { if {$range eq ""} {
puts " found no range on segment $seg, skipping" puts " found no range on segment $seg, setting to max"
report_property $seg report_property $seg
continue set range [expr "1 << 64"]
} }
puts " range: $range"
set offset [get_property OFFSET $seg] set offset [get_property OFFSET $seg]
if {$offset eq ""} { if {$offset eq ""} {
puts " found no offset on segment $seg, skipping" puts " found no offset on segment $seg, setting to zero"
report_property $seg report_property $seg
continue set offset 0
} }
puts " offset: $offset" puts " offset: $offset"
set me [dict create "range" $range "offset" $offset "space" $space seg "$seg"] set me [dict create "range" $range "offset" $offset "space" $space seg "$seg"]
......
...@@ -313,6 +313,8 @@ ...@@ -313,6 +313,8 @@
connect_bd_intf_net [get_bd_intf_pins -regexp $pcie/M_AXI(_B)?] \ connect_bd_intf_net [get_bd_intf_pins -regexp $pcie/M_AXI(_B)?] \
[get_bd_intf_pins -of_objects $bridge -filter "VLNV == [tapasco::ip::get_vlnv aximm_intf] && MODE == Slave"] [get_bd_intf_pins -of_objects $bridge -filter "VLNV == [tapasco::ip::get_vlnv aximm_intf] && MODE == Slave"]
#assign_bd_address [get_bd_addr_segs {$bridge/S_AXI/reg0 }]
set out_ic [tapasco::ip::create_axi_sc "out_ic" 1 4] set out_ic [tapasco::ip::create_axi_sc "out_ic" 1 4]
tapasco::ip::connect_sc_default_clocks $out_ic "host" tapasco::ip::connect_sc_default_clocks $out_ic "host"
connect_bd_intf_net [get_bd_intf_pins -of_objects $bridge -filter "VLNV == [tapasco::ip::get_vlnv aximm_intf] && MODE == Master"] \ connect_bd_intf_net [get_bd_intf_pins -of_objects $bridge -filter "VLNV == [tapasco::ip::get_vlnv aximm_intf] && MODE == Master"] \
......
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