_clocks -of_objects [get_pins <=: pipe_clk_path :>pipe_clock_i/pclk_i1_bufgctrl.pclk_i1/I1]] [get_pins <=: pipe_clk_path :>pipe_clock_i/second_stage_buf.pclk_i2/O]
set_clock_groups -name pcieclkmux_x0y1 -physically_exclusive -group pipeclk_125mhz_x0y1 -group pipeclk_250mhz_x0y1
set_false_path -to [get_pins <=: pipe_clk_path :>pipe_clock_i/pclk_i1_bufgctrl.pclk_i1/S0]
set_false_path -to [get_pins <=: pipe_clk_path :>pipe_clock_i/pclk_i1_bufgctrl.pclk_i1/S1]

create_generated_clock -name rxclk_125mhz_x0y1 -source [get_pins <=: pipe_clk_path :>pipe_clock_i/pclk_i1_bufgctrl.pclk_i1/I0] -divide_by 1 [get_pins <=: pipe_clk_path :>pipe_clock_i/second_stage_buf.rxusrclk_i2/O]
create_generated_clock -name rxclk_250mhz_x0y1 -source [get_pins <=: pipe_clk_path :>pipe_clock_i/pclk_i1_bufgctrl.pclk_i1/I1] -divide_by 1 -add -master_clock [get_clocks -of_objects [get_pins <=: pipe_clk_path :>pipe_clock_i/pclk_i1_bufgctrl.pclk_i1/I1]] [get_pins <=: pipe_clk_path :>pipe_clock_i/second_stage_buf.rxusrclk_i2/O]
create_generated_clock -name rxclk_rxout_x0y1  -source [get_pins <=: pipe_clk_path :>pipe_clock_i/second_stage_buf.rxusrclk_i2/I1] -divide_by 1 -add -master_clock [get_clocks -of_objects [get_pins <=: pipe_clk_path :>pipe_clock_i/second_stage_buf.rxusrclk_i2/I1]] [get_pins <=: pipe_clk_path :>pipe_clock_i/second_stage_buf.rxusrclk_i2/O]
set_clock_groups -name usrclkmux_x0y1 -physically_exclusive -group rxclk_125mhz_x0y1 -group rxclk_250mhz_x0y1 -group rxclk_rxout_x0y1
set_false_path -to [get_pins <=: pipe_clk_path :>pipe_clock_i/second_stage_buf.rxusrclk_i2/S0]
set_false_path -to [get_pins <=: pipe_clk_path :>pipe_clock_i/second_stage_buf.rxusrclk_i2/S1]

# physically exclusive because of bufg connectivity
set_clock_groups -name pcietousrclk0_x0y1 -physically_exclusive -group pipeclk_125mhz_x0y1 -group rxclk_250mhz_x0y1
set_clock_groups -name pcietousrclk1_x0y1 -physically_exclusive -group pipeclk_250mhz_x0y1 -group rxclk_125mhz_x0y1
# physically exclusive because of design RTL
set_clock_groups -name pcietousrclk2_x0y1 -physically_exclusive -group pipeclk_125mhz_x0y1 -group rxclk_rxout_x0y1
<: } :>
    <: } :>
<: } :>
#
<: if {$enable_jtag_dbg == "TRUE"} { :>
<: if {$external_clocking_bool} { :>
<#: ttcl/JTAG_async_Constraints_xdc.ttcl :>
<: } :>
<: } :>
