From b7f34f7bd9bf8c457cfc9f64e0afebb7728275e6 Mon Sep 17 00:00:00 2001 From: Laszlo Nagy Date: Tue, 17 Aug 2021 13:19:00 +0100 Subject: [PATCH] adrv9009zu11eg & common/zcu102 : Fix zynqmp ref clock definition The derived clocks of the zynqmp core are not calculated correctly due rounding issues, instead of 100MHz the value of 99999001 is received causing warnings during system validation. This can be fixed/worked around with the proper reference clock definition. --- projects/adrv9009zu11eg/common/adrv9009zu11eg_bd.tcl | 1 + projects/common/zcu102/zcu102_system_bd.tcl | 1 + 2 files changed, 2 insertions(+) diff --git a/projects/adrv9009zu11eg/common/adrv9009zu11eg_bd.tcl b/projects/adrv9009zu11eg/common/adrv9009zu11eg_bd.tcl index 8b2234834..9b5096240 100644 --- a/projects/adrv9009zu11eg/common/adrv9009zu11eg_bd.tcl +++ b/projects/adrv9009zu11eg/common/adrv9009zu11eg_bd.tcl @@ -23,6 +23,7 @@ create_bd_port -dir I dac_fifo_bypass ad_ip_instance zynq_ultra_ps_e sys_ps8 +ad_ip_parameter sys_ps8 CONFIG.PSU__PSS_REF_CLK__FREQMHZ 33.333333333 ad_ip_parameter sys_ps8 CONFIG.PSU__USE__M_AXI_GP0 0 ad_ip_parameter sys_ps8 CONFIG.PSU__USE__M_AXI_GP1 0 ad_ip_parameter sys_ps8 CONFIG.PSU__USE__M_AXI_GP2 1 diff --git a/projects/common/zcu102/zcu102_system_bd.tcl b/projects/common/zcu102/zcu102_system_bd.tcl index 19c2d4f13..30c6e1d02 100644 --- a/projects/common/zcu102/zcu102_system_bd.tcl +++ b/projects/common/zcu102/zcu102_system_bd.tcl @@ -22,6 +22,7 @@ ad_ip_instance zynq_ultra_ps_e sys_ps8 apply_bd_automation -rule xilinx.com:bd_rule:zynq_ultra_ps_e \ -config {apply_board_preset 1} [get_bd_cells sys_ps8] +ad_ip_parameter sys_ps8 CONFIG.PSU__PSS_REF_CLK__FREQMHZ 33.333333333 ad_ip_parameter sys_ps8 CONFIG.PSU__USE__M_AXI_GP0 0 ad_ip_parameter sys_ps8 CONFIG.PSU__USE__M_AXI_GP1 0 ad_ip_parameter sys_ps8 CONFIG.PSU__USE__M_AXI_GP2 1