diff --git a/platform/xilinx/wr_gtp_phy/xilinx-ip/gthe3/create_gthe3.tcl b/platform/xilinx/wr_gtp_phy/xilinx-ip/gthe3/create_gthe3.tcl new file mode 100644 index 0000000000000000000000000000000000000000..e7f0f8406b35a3e51b0a937b73d10345827d51e7 --- /dev/null +++ b/platform/xilinx/wr_gtp_phy/xilinx-ip/gthe3/create_gthe3.tcl @@ -0,0 +1,30 @@ +# Regeneration of the gthe4 IP +# Open a vivado project with an ZynqUS+ target +# in the TCL console +# source ./create-gth.tcl +# Check the differences +# Cleanup (comment out unused gthe3, gtye3 and gtye4 instantiations; this +# avoids adding extra unused files) +# Copy the files + +set module_name {wr_gth_wrapper} + +create_ip -name gtwizard_ultrascale -vendor xilinx.com -library ip -version 1.7 -module_name $module_name -dir . + +set_property CONFIG.preset {GTH-Gigabit_Ethernet} [get_ips $module_name] + +set_property -dict [list \ + CONFIG.CHANNEL_ENABLE {X0Y8} \ + CONFIG.RX_MASTER_CHANNEL {X0Y8} \ + CONFIG.TX_MASTER_CHANNEL {X0Y8} \ + CONFIG.RX_BUFFER_MODE {0} \ + CONFIG.RX_SLIDE_MODE {PCS} \ + CONFIG.TX_BUFFER_MODE {0} \ +] [get_ips $module_name] + +generate_target all [get_ips $module_name] +catch { config_ip_cache -export [get_ips $module_name] } +export_ip_user_files -of_objects [get_ips $module_name] -no_script -sync -force -quiet +create_ip_run [get_ips $module_name] + +unset module_name