diff --git a/fpga/common/syn/vivado/cmac_gty_ch_wrapper.tcl b/fpga/common/syn/vivado/cmac_gty_ch_wrapper.tcl index 584c5a96e..f381fd052 100644 --- a/fpga/common/syn/vivado/cmac_gty_ch_wrapper.tcl +++ b/fpga/common/syn/vivado/cmac_gty_ch_wrapper.tcl @@ -42,8 +42,12 @@ foreach inst [get_cells -hier -filter {(ORIG_REF_NAME == cmac_gty_ch_wrapper || constrain_sync_chain $inst "gt_txprbsforceerr_drp_reg_reg" "gt_txprbsforceerr_sync_1_reg_reg" "gt_txprbsforceerr_sync_2_reg_reg" constrain_sync_chain $inst "gt_txpolarity_drp_reg_reg" "gt_txpolarity_sync_reg_reg" constrain_sync_chain $inst "gt_txinhibit_drp_reg_reg" "gt_txinhibit_sync_reg_reg" - set_false_path -from [get_cells "$inst/gt_tx_pd_reg_reg"] - set_false_path -from [get_cells "$inst/gt_txelecidle_reg_reg"] + + set driver_ffs [get_cells -hier "gt_tx_pd_reg_reg gt_txelecidle_reg_reg" -filter "PARENT == $inst"] + + if {[llength $driver_ffs]} { + set_false_path -from $driver_ffs + } # RX constrain_sync_chain $inst "gt_rxpolarity_drp_reg_reg" "gt_rxpolarity_sync_reg_reg" diff --git a/fpga/common/syn/vivado/eth_xcvr_phy_10g_gty_wrapper.tcl b/fpga/common/syn/vivado/eth_xcvr_phy_10g_gty_wrapper.tcl index 76e4c05a6..09bb3c980 100644 --- a/fpga/common/syn/vivado/eth_xcvr_phy_10g_gty_wrapper.tcl +++ b/fpga/common/syn/vivado/eth_xcvr_phy_10g_gty_wrapper.tcl @@ -39,8 +39,12 @@ foreach inst [get_cells -hier -filter {(ORIG_REF_NAME == eth_xcvr_phy_10g_gty_wr constrain_sync_chain $inst "gt_txprbsforceerr_drp_reg_reg" "gt_txprbsforceerr_sync_1_reg_reg" "gt_txprbsforceerr_sync_2_reg_reg" constrain_sync_chain $inst "gt_txpolarity_drp_reg_reg" "gt_txpolarity_sync_reg_reg" constrain_sync_chain $inst "gt_txinhibit_drp_reg_reg" "gt_txinhibit_sync_reg_reg" - set_false_path -from [get_cells $inst/gt_tx_pd_reg_reg] - set_false_path -from [get_cells $inst/gt_txelecidle_reg_reg] + + set driver_ffs [get_cells -hier "gt_tx_pd_reg_reg gt_txelecidle_reg_reg" -filter "PARENT == $inst"] + + if {[llength $driver_ffs]} { + set_false_path -from $driver_ffs + } # RX constrain_sync_chain $inst "gt_rxpolarity_drp_reg_reg" "gt_rxpolarity_sync_reg_reg"