mirror of
https://github.com/fpganinja/taxi.git
synced 2025-12-09 00:48:40 -08:00
syn: Add timing constraints for signal synchronizer
Signed-off-by: Alex Forencich <alex@alexforencich.com>
This commit is contained in:
16
syn/vivado/taxi_sync_signal.tcl
Normal file
16
syn/vivado/taxi_sync_signal.tcl
Normal file
@@ -0,0 +1,16 @@
|
||||
# SPDX-License-Identifier: CERN-OHL-S-2.0
|
||||
#
|
||||
# Copyright (c) 2020-2025 FPGA Ninja, LLC
|
||||
#
|
||||
# Authors:
|
||||
# - Alex Forencich
|
||||
#
|
||||
|
||||
# signal synchronizer timing constraints
|
||||
|
||||
foreach inst [get_cells -hier -filter {(ORIG_REF_NAME == taxi_sync_signal || REF_NAME == taxi_sync_signal)}] {
|
||||
puts "Inserting timing constraints for taxi_sync_signal instance $inst"
|
||||
|
||||
set_property ASYNC_REG TRUE [get_cells -hier "sync_reg_reg[*][*]" -filter "PARENT == $inst"]
|
||||
set_false_path -to [get_cells -hier "sync_reg_reg[0][*]" -filter "PARENT == $inst"]
|
||||
}
|
||||
Reference in New Issue
Block a user