Skip to content

Commit 274831c

Browse files
committed
Fix PTP clock CDC module timing constraints
Signed-off-by: Alex Forencich <[email protected]>
1 parent 84004c7 commit 274831c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

syn/vivado/ptp_clock_cdc.tcl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,26 +50,26 @@ foreach inst [get_cells -hier -filter {(ORIG_REF_NAME == ptp_clock_cdc || REF_NA
5050
}
5151

5252
# sample clock
53-
set sync_ffs [get_cells -quiet -hier -regexp ".*/src_sample_sync\[12\]_reg_reg" -filter "PARENT == $inst"]
53+
set sync_ffs [get_cells -quiet -hier -regexp ".*/src_sync_sample_sync\[12\]_reg_reg" -filter "PARENT == $inst"]
5454

5555
if {[llength $sync_ffs]} {
5656
set_property ASYNC_REG TRUE $sync_ffs
5757

5858
set src_clk [get_clocks -of_objects [get_pins "$inst/src_sync_reg_reg/C"]]
59-
set dest_clk [get_clocks -of_objects [get_pins "$inst/src_sample_sync1_reg_reg/C"]]
59+
set dest_clk [get_clocks -of_objects [get_pins "$inst/src_sync_sample_sync1_reg_reg/C"]]
6060

61-
set_max_delay -from [get_cells "$inst/src_sync_reg_reg"] -to [get_cells "$inst/src_sample_sync1_reg_reg"] -datapath_only [get_property -min PERIOD $src_clk]
61+
set_max_delay -from [get_cells "$inst/src_sync_reg_reg"] -to [get_cells "$inst/src_sync_sample_sync1_reg_reg"] -datapath_only [get_property -min PERIOD $src_clk]
6262
}
6363

64-
set sync_ffs [get_cells -quiet -hier -regexp ".*/dest_sample_sync\[12\]_reg_reg" -filter "PARENT == $inst"]
64+
set sync_ffs [get_cells -quiet -hier -regexp ".*/dest_sync_sample_sync\[12\]_reg_reg" -filter "PARENT == $inst"]
6565

6666
if {[llength $sync_ffs]} {
6767
set_property ASYNC_REG TRUE $sync_ffs
6868

6969
set src_clk [get_clocks -of_objects [get_pins "$inst/dest_sync_reg_reg/C"]]
70-
set dest_clk [get_clocks -of_objects [get_pins "$inst/dest_sample_sync1_reg_reg/C"]]
70+
set dest_clk [get_clocks -of_objects [get_pins "$inst/dest_sync_sample_sync1_reg_reg/C"]]
7171

72-
set_max_delay -from [get_cells "$inst/dest_sync_reg_reg"] -to [get_cells "$inst/dest_sample_sync1_reg_reg"] -datapath_only [get_property -min PERIOD $src_clk]
72+
set_max_delay -from [get_cells "$inst/dest_sync_reg_reg"] -to [get_cells "$inst/dest_sync_sample_sync1_reg_reg"] -datapath_only [get_property -min PERIOD $src_clk]
7373
}
7474

7575
# sample update sync

0 commit comments

Comments
 (0)