pluto_hdl_adi/library/common/ad_pps_receiver_constr.ttcl

26 lines
1.0 KiB
Plaintext
Raw Permalink Normal View History

###############################################################################
## Copyright (C) 2017-2023 Analog Devices, Inc. All rights reserved.
# SPDX short identifier: ADIBSD
###############################################################################
<: set ComponentName [getComponentNameString] :>
<: setOutputDirectory "./" :>
<: setFileName [ttcl_add $ComponentName "_pps_constr"] :>
<: setFileExtension ".xdc" :>
<: setFileProcessingOrder late :>
<: set pps_enable [getBooleanValue "PPS_RECEIVER_ENABLE"] :>
<: if {$pps_enable} { :>
set_property ASYNC_REG TRUE \
[get_cells -hier *_pps_m*] \
[get_cells -hier *_pps_status_m*]
set_false_path -to [get_cells -hier -filter {name =~ *_pps_m_reg[0] && IS_SEQUENTIAL}]
set_false_path -from [get_cells -hier -filter {name =~ *pps_status_reg && IS_SEQUENTIAL}] \
-to [get_cells -hier -filter {name =~ *up_pps_status_m_reg && IS_SEQUENTIAL}]
set_false_path -to [get_cells -hier -filter {name =~ *up_pps_rcounter_reg* && IS_SEQUENTIAL}]
<: } :>