Skip to content
Snippets Groups Projects
Commit b079a227 authored by Yaman Umuroglu's avatar Yaman Umuroglu
Browse files

Merge branch 'feature/2022_hotfix_new' of https://github.com/fpjentzsch/finn...

Merge branch 'feature/2022_hotfix_new' of https://github.com/fpjentzsch/finn into feature/fix_2022.1_zynqbuild
parents c344ab31 67af9330
No related branches found
No related tags found
No related merge requests found
...@@ -425,6 +425,13 @@ class CreateStitchedIP(Transformation): ...@@ -425,6 +425,13 @@ class CreateStitchedIP(Transformation):
) )
% (vivado_stitch_proj_dir, block_vendor, block_library, block_name) % (vivado_stitch_proj_dir, block_vendor, block_library, block_name)
) )
# in some cases, the IP packager seems to infer an aperture of 64K or 4G,
# preventing address assignment of the DDR_LOW and/or DDR_HIGH segments
# the following is a hotfix to remove this aperture during IODMA packaging
tcl.append(
"ipx::remove_segment -quiet m_axi_gmem0:APERTURE_0 "
"[ipx::get_address_spaces m_axi_gmem0 -of_objects [ipx::current_core]]"
)
tcl.append("set_property core_revision 2 [ipx::find_open_core %s]" % block_vlnv) tcl.append("set_property core_revision 2 [ipx::find_open_core %s]" % block_vlnv)
tcl.append("ipx::create_xgui_files [ipx::find_open_core %s]" % block_vlnv) tcl.append("ipx::create_xgui_files [ipx::find_open_core %s]" % block_vlnv)
# mark bus interface params as user-resolvable to avoid FREQ_MHZ mismatches # mark bus interface params as user-resolvable to avoid FREQ_MHZ mismatches
......
...@@ -129,7 +129,7 @@ if {$BOARD == "ZCU104"} { ...@@ -129,7 +129,7 @@ if {$BOARD == "ZCU104"} {
create_bd_design "top" create_bd_design "top"
if {$ZYNQ_TYPE == "zynq_us+"} { if {$ZYNQ_TYPE == "zynq_us+"} {
create_bd_cell -type ip -vlnv xilinx.com:ip:zynq_ultra_ps_e:3.3 zynq_ps create_bd_cell -type ip -vlnv xilinx.com:ip:zynq_ultra_ps_e:3.4 zynq_ps
apply_bd_automation -rule xilinx.com:bd_rule:zynq_ultra_ps_e -config {apply_board_preset "1" } [get_bd_cells zynq_ps] apply_bd_automation -rule xilinx.com:bd_rule:zynq_ultra_ps_e -config {apply_board_preset "1" } [get_bd_cells zynq_ps]
#activate one slave port, deactivate the second master port #activate one slave port, deactivate the second master port
set_property -dict [list CONFIG.PSU__USE__S_AXI_GP2 {1}] [get_bd_cells zynq_ps] set_property -dict [list CONFIG.PSU__USE__S_AXI_GP2 {1}] [get_bd_cells zynq_ps]
...@@ -182,7 +182,7 @@ proc assign_axi_addr_proc {axi_intf_path} { ...@@ -182,7 +182,7 @@ proc assign_axi_addr_proc {axi_intf_path} {
#align base address to range #align base address to range
set offset [expr ($axi_peripheral_base + ($range-1)) & ~($range-1)] set offset [expr ($axi_peripheral_base + ($range-1)) & ~($range-1)]
#perform assignment #perform assignment
assign_bd_address [get_bd_addr_segs $axi_intf_path/Reg] -offset $offset -range $range assign_bd_address [get_bd_addr_segs $axi_intf_path/Reg0] -offset $offset -range $range
#advance base address #advance base address
set axi_peripheral_base [expr $offset + $range] set axi_peripheral_base [expr $offset + $range]
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment