From 2bca2e156c3d2154a4af4308c47492f2bb29949c Mon Sep 17 00:00:00 2001 From: AndreiGrozav Date: Wed, 5 Feb 2020 08:50:28 +0200 Subject: [PATCH] cn0506_rgmii: Fix no clock defined warnings This commit fixes the critical warning regarding the missing clock definitions. - Defined MDC(MDIO) clocks - Set false path on(to) the ps8 MDIO input pins. There are synchronization stages in the GMII to RGMII converter for the CDC between the 375M refclk and 2.5M MDC clock domains. --- projects/cn0506_rgmii/zcu102/system_constr.xdc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/projects/cn0506_rgmii/zcu102/system_constr.xdc b/projects/cn0506_rgmii/zcu102/system_constr.xdc index 6fec8ff27..5a468e334 100644 --- a/projects/cn0506_rgmii/zcu102/system_constr.xdc +++ b/projects/cn0506_rgmii/zcu102/system_constr.xdc @@ -61,3 +61,9 @@ set_property UNAVAILABLE_DURING_CALIBRATION TRUE [get_ports rgmii_txd_b] set_property UNAVAILABLE_DURING_CALIBRATION TRUE [get_ports link_st_b] +create_clock -period 400.000 -name mdio_clk_a [get_pins i_system_wrapper/system_i/sys_ps8/inst/emio_enet0_mdio_mdc] +create_clock -period 400.000 -name mdio_clk_b [get_pins i_system_wrapper/system_i/sys_ps8/inst/emio_enet1_mdio_mdc] + +set_false_path -setup -to [get_pins i_system_wrapper/system_i/sys_ps8/inst/PS8_i/EMIOENET0MDIOI] +set_false_path -setup -to [get_pins i_system_wrapper/system_i/sys_ps8/inst/PS8_i/EMIOENET1MDIOI] +