variable tcl_scope
variable tcl_ipinst
set tcl_scope xit
set tcl_ipinst [ current_inst ]

if { [get_parameter_property DDR4_AXI_SELECTION] == "true" } {
copy_ipfile -force -fileType systemVerilogSource -usedIn [ list synthesis implementation simulation ] hdl/axi_files/axi/ddr4_pl_v1_0_a_upsizer.sv                 hdl/axi_files/axi/ddr4_pl_v1_0_a_upsizer.sv
copy_ipfile -force -fileType systemVerilogSource -usedIn [ list synthesis implementation simulation ] hdl/axi_files/axi/ddr4_pl_v1_0_axi.sv                       hdl/axi_files/axi/ddr4_pl_v1_0_axi.sv
copy_ipfile -force -fileType systemVerilogSource -usedIn [ list synthesis implementation simulation ] hdl/axi_files/axi/ddr4_pl_v1_0_axi_ar_channel.sv            hdl/axi_files/axi/ddr4_pl_v1_0_axi_ar_channel.sv
copy_ipfile -force -fileType systemVerilogSource -usedIn [ list synthesis implementation simulation ] hdl/axi_files/axi/ddr4_pl_v1_0_axi_aw_channel.sv            hdl/axi_files/axi/ddr4_pl_v1_0_axi_aw_channel.sv
copy_ipfile -force -fileType systemVerilogSource -usedIn [ list synthesis implementation simulation ] hdl/axi_files/axi/ddr4_pl_v1_0_axi_b_channel.sv             hdl/axi_files/axi/ddr4_pl_v1_0_axi_b_channel.sv
copy_ipfile -force -fileType systemVerilogSource -usedIn [ list synthesis implementation simulation ] hdl/axi_files/axi/ddr4_pl_v1_0_axi_cmd_arbiter.sv           hdl/axi_files/axi/ddr4_pl_v1_0_axi_cmd_arbiter.sv
copy_ipfile -force -fileType systemVerilogSource -usedIn [ list synthesis implementation simulation ] hdl/axi_files/axi/ddr4_pl_v1_0_axi_cmd_fsm.sv               hdl/axi_files/axi/ddr4_pl_v1_0_axi_cmd_fsm.sv
copy_ipfile -force -fileType systemVerilogSource -usedIn [ list synthesis implementation simulation ] hdl/axi_files/axi/ddr4_pl_v1_0_axi_cmd_translator.sv        hdl/axi_files/axi/ddr4_pl_v1_0_axi_cmd_translator.sv
copy_ipfile -force -fileType systemVerilogSource -usedIn [ list synthesis implementation simulation ] hdl/axi_files/axi/ddr4_pl_v1_0_axi_fifo.sv                  hdl/axi_files/axi/ddr4_pl_v1_0_axi_fifo.sv
copy_ipfile -force -fileType systemVerilogSource -usedIn [ list synthesis implementation simulation ] hdl/axi_files/axi/ddr4_pl_v1_0_axi_incr_cmd.sv              hdl/axi_files/axi/ddr4_pl_v1_0_axi_incr_cmd.sv
copy_ipfile -force -fileType systemVerilogSource -usedIn [ list synthesis implementation simulation ] hdl/axi_files/axi/ddr4_pl_v1_0_axi_r_channel.sv             hdl/axi_files/axi/ddr4_pl_v1_0_axi_r_channel.sv
copy_ipfile -force -fileType systemVerilogSource -usedIn [ list synthesis implementation simulation ] hdl/axi_files/axi/ddr4_pl_v1_0_axi_register_slice.sv        hdl/axi_files/axi/ddr4_pl_v1_0_axi_register_slice.sv
copy_ipfile -force -fileType systemVerilogSource -usedIn [ list synthesis implementation simulation ] hdl/axi_files/axi/ddr4_pl_v1_0_axi_upsizer.sv               hdl/axi_files/axi/ddr4_pl_v1_0_axi_upsizer.sv
copy_ipfile -force -fileType systemVerilogSource -usedIn [ list synthesis implementation simulation ] hdl/axi_files/axi/ddr4_pl_v1_0_axi_w_channel.sv             hdl/axi_files/axi/ddr4_pl_v1_0_axi_w_channel.sv
copy_ipfile -force -fileType systemVerilogSource -usedIn [ list synthesis implementation simulation ] hdl/axi_files/axi/ddr4_pl_v1_0_axi_wr_cmd_fsm.sv            hdl/axi_files/axi/ddr4_pl_v1_0_axi_wr_cmd_fsm.sv
copy_ipfile -force -fileType systemVerilogSource -usedIn [ list synthesis implementation simulation ] hdl/axi_files/axi/ddr4_pl_v1_0_axi_wrap_cmd.sv              hdl/axi_files/axi/ddr4_pl_v1_0_axi_wrap_cmd.sv
copy_ipfile -force -fileType systemVerilogSource -usedIn [ list synthesis implementation simulation ] hdl/axi_files/axi/ddr4_pl_v1_0_axic_register_slice.sv       hdl/axi_files/axi/ddr4_pl_v1_0_axic_register_slice.sv
copy_ipfile -force -fileType systemVerilogSource -usedIn [ list synthesis implementation simulation ] hdl/axi_files/axi/ddr4_pl_v1_0_carry_and.sv                 hdl/axi_files/axi/ddr4_pl_v1_0_carry_and.sv
copy_ipfile -force -fileType systemVerilogSource -usedIn [ list synthesis implementation simulation ] hdl/axi_files/axi/ddr4_pl_v1_0_carry_latch_and.sv           hdl/axi_files/axi/ddr4_pl_v1_0_carry_latch_and.sv
copy_ipfile -force -fileType systemVerilogSource -usedIn [ list synthesis implementation simulation ] hdl/axi_files/axi/ddr4_pl_v1_0_carry_latch_or.sv            hdl/axi_files/axi/ddr4_pl_v1_0_carry_latch_or.sv
copy_ipfile -force -fileType systemVerilogSource -usedIn [ list synthesis implementation simulation ] hdl/axi_files/axi/ddr4_pl_v1_0_carry_or.sv                  hdl/axi_files/axi/ddr4_pl_v1_0_carry_or.sv
copy_ipfile -force -fileType systemVerilogSource -usedIn [ list synthesis implementation simulation ] hdl/axi_files/axi/ddr4_pl_v1_0_command_fifo.sv              hdl/axi_files/axi/ddr4_pl_v1_0_command_fifo.sv
copy_ipfile -force -fileType systemVerilogSource -usedIn [ list synthesis implementation simulation ] hdl/axi_files/axi/ddr4_pl_v1_0_comparator.sv                hdl/axi_files/axi/ddr4_pl_v1_0_comparator.sv
copy_ipfile -force -fileType systemVerilogSource -usedIn [ list synthesis implementation simulation ] hdl/axi_files/axi/ddr4_pl_v1_0_comparator_sel.sv            hdl/axi_files/axi/ddr4_pl_v1_0_comparator_sel.sv
copy_ipfile -force -fileType systemVerilogSource -usedIn [ list synthesis implementation simulation ] hdl/axi_files/axi/ddr4_pl_v1_0_comparator_sel_static.sv     hdl/axi_files/axi/ddr4_pl_v1_0_comparator_sel_static.sv
copy_ipfile -force -fileType systemVerilogSource -usedIn [ list synthesis implementation simulation ] hdl/axi_files/axi/ddr4_pl_v1_0_r_upsizer.sv                 hdl/axi_files/axi/ddr4_pl_v1_0_r_upsizer.sv
copy_ipfile -force -fileType systemVerilogSource -usedIn [ list synthesis implementation simulation ] hdl/axi_files/axi/ddr4_pl_v1_0_w_upsizer.sv                 hdl/axi_files/axi/ddr4_pl_v1_0_w_upsizer.sv
copy_ipfile -force -fileType systemVerilogSource -usedIn [ list synthesis implementation simulation ] hdl/axi_files/axi_ctrl/ddr4_pl_v1_0_axi_ctrl_addr_decode.sv hdl/axi_files/axi_ctrl/ddr4_pl_v1_0_axi_ctrl_addr_decode.sv
copy_ipfile -force -fileType systemVerilogSource -usedIn [ list synthesis implementation simulation ] hdl/axi_files/axi_ctrl/ddr4_pl_v1_0_axi_ctrl_read.sv        hdl/axi_files/axi_ctrl/ddr4_pl_v1_0_axi_ctrl_read.sv
copy_ipfile -force -fileType systemVerilogSource -usedIn [ list synthesis implementation simulation ] hdl/axi_files/axi_ctrl/ddr4_pl_v1_0_axi_ctrl_reg.sv         hdl/axi_files/axi_ctrl/ddr4_pl_v1_0_axi_ctrl_reg.sv
copy_ipfile -force -fileType systemVerilogSource -usedIn [ list synthesis implementation simulation ] hdl/axi_files/axi_ctrl/ddr4_pl_v1_0_axi_ctrl_reg_bank.sv    hdl/axi_files/axi_ctrl/ddr4_pl_v1_0_axi_ctrl_reg_bank.sv
copy_ipfile -force -fileType systemVerilogSource -usedIn [ list synthesis implementation simulation ] hdl/axi_files/axi_ctrl/ddr4_pl_v1_0_axi_ctrl_top.sv         hdl/axi_files/axi_ctrl/ddr4_pl_v1_0_axi_ctrl_top.sv
copy_ipfile -force -fileType systemVerilogSource -usedIn [ list synthesis implementation simulation ] hdl/axi_files/axi_ctrl/ddr4_pl_v1_0_axi_ctrl_write.sv       hdl/axi_files/axi_ctrl/ddr4_pl_v1_0_axi_ctrl_write.sv
}
