mirror of
https://github.com/fpganinja/taxi.git
synced 2025-12-10 17:28:40 -08:00
sync: Set ASYNC_REG in HDL instead of TCL
Signed-off-by: Alex Forencich <alex@alexforencich.com>
This commit is contained in:
@@ -14,6 +14,5 @@ foreach inst [get_cells -hier -filter {(ORIG_REF_NAME == taxi_sync_reset || REF_
|
||||
# reset synchronization
|
||||
set reset_ffs [get_cells -quiet -hier "sync_reg_reg[*]" -filter "PARENT == $inst"]
|
||||
|
||||
set_property ASYNC_REG TRUE $reset_ffs
|
||||
set_false_path -to [get_pins -of_objects $reset_ffs -filter {IS_PRESET || IS_RESET}]
|
||||
}
|
||||
|
||||
@@ -11,6 +11,5 @@
|
||||
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