Skip to content
Snippets Groups Projects
Commit 15c80922 authored by Tristan Gingold's avatar Tristan Gingold Committed by Tristan Gingold
Browse files

platform/xilinx: add create_gthe3 tcl script

parent 6872a9b0
Branches mat_ebm
No related merge requests found
# 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
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment