The UDP loopback just reads from the input FIFO, reverses src and destination addresses, and writes back to the output FIFO. This can be used to measure the throughput of the HPS-FPGA communication
130 lines
4.5 KiB
Tcl
130 lines
4.5 KiB
Tcl
# TCL File Generated by Component Editor 21.1
|
|
# Thu Jul 27 13:57:40 GMT+02:00 2023
|
|
# DO NOT MODIFY
|
|
|
|
|
|
#
|
|
# test_fpga "test_fpga" v1.0
|
|
# 2023.07.27.13:57:40
|
|
# Test PL-PS Communication
|
|
#
|
|
|
|
#
|
|
# request TCL package from ACDS 16.1
|
|
#
|
|
package require -exact qsys 16.1
|
|
|
|
|
|
#
|
|
# module test_fpga
|
|
#
|
|
set_module_property DESCRIPTION "Test PL-PS Communication"
|
|
set_module_property NAME test_fpga
|
|
set_module_property VERSION 1.0
|
|
set_module_property INTERNAL false
|
|
set_module_property OPAQUE_ADDRESS_MAP true
|
|
set_module_property AUTHOR ""
|
|
set_module_property DISPLAY_NAME test_fpga
|
|
set_module_property INSTANTIATE_IN_SYSTEM_MODULE true
|
|
set_module_property EDITABLE true
|
|
set_module_property REPORT_TO_TALKBACK false
|
|
set_module_property ALLOW_GREYBOX_GENERATION false
|
|
set_module_property REPORT_HIERARCHY false
|
|
|
|
|
|
#
|
|
# file sets
|
|
#
|
|
add_fileset QUARTUS_SYNTH QUARTUS_SYNTH "" ""
|
|
set_fileset_property QUARTUS_SYNTH TOP_LEVEL test_top
|
|
set_fileset_property QUARTUS_SYNTH ENABLE_RELATIVE_INCLUDE_PATHS false
|
|
set_fileset_property QUARTUS_SYNTH ENABLE_FILE_OVERWRITE_MODE false
|
|
add_fileset_file test_top.vhd VHDL PATH ../test_top.vhd TOP_LEVEL_FILE
|
|
add_fileset_file FWFT_FIFO.vhd VHDL PATH ../../src/FWFT_FIFO.vhd
|
|
add_fileset_file FWFT_FIFO_Altera.vhd VHDL PATH ../../src/FWFT_FIFO_Altera.vhd
|
|
add_fileset_file FWFT_FIFO_cfg.vhd VHDL PATH ../../src/FWFT_FIFO_cfg.vhd
|
|
add_fileset_file Avalon_MM_wrapper.vhd VHDL PATH ../../src/Avalon_MM_wrapper.vhd
|
|
add_fileset_file loopback.vhd VHDL PATH ../loopback.vhd
|
|
add_fileset_file math_pkg.vhd VHDL PATH ../../src/math_pkg.vhd
|
|
add_fileset_file rtps_config_package.vhd VHDL PATH ../../src/rtps_config_package.vhd
|
|
add_fileset_file rtps_package.vhd VHDL PATH ../../src/rtps_package.vhd
|
|
add_fileset_file TEMPLATE_user_config.vhd VHDL PATH ../../src/TEMPLATE_user_config.vhd
|
|
|
|
|
|
#
|
|
# parameters
|
|
#
|
|
|
|
|
|
#
|
|
# display items
|
|
#
|
|
|
|
|
|
#
|
|
# connection point clock
|
|
#
|
|
add_interface clock clock end
|
|
set_interface_property clock clockRate 0
|
|
set_interface_property clock ENABLED true
|
|
set_interface_property clock EXPORT_OF ""
|
|
set_interface_property clock PORT_NAME_MAP ""
|
|
set_interface_property clock CMSIS_SVD_VARIABLES ""
|
|
set_interface_property clock SVD_ADDRESS_GROUP ""
|
|
|
|
add_interface_port clock clk clk Input 1
|
|
|
|
|
|
#
|
|
# connection point reset
|
|
#
|
|
add_interface reset reset end
|
|
set_interface_property reset associatedClock clock
|
|
set_interface_property reset synchronousEdges DEASSERT
|
|
set_interface_property reset ENABLED true
|
|
set_interface_property reset EXPORT_OF ""
|
|
set_interface_property reset PORT_NAME_MAP ""
|
|
set_interface_property reset CMSIS_SVD_VARIABLES ""
|
|
set_interface_property reset SVD_ADDRESS_GROUP ""
|
|
|
|
add_interface_port reset reset reset Input 1
|
|
|
|
|
|
#
|
|
# connection point avalon_slave_0
|
|
#
|
|
add_interface avalon_slave_0 avalon end
|
|
set_interface_property avalon_slave_0 addressUnits WORDS
|
|
set_interface_property avalon_slave_0 associatedClock clock
|
|
set_interface_property avalon_slave_0 associatedReset reset
|
|
set_interface_property avalon_slave_0 bitsPerSymbol 8
|
|
set_interface_property avalon_slave_0 burstOnBurstBoundariesOnly false
|
|
set_interface_property avalon_slave_0 burstcountUnits WORDS
|
|
set_interface_property avalon_slave_0 explicitAddressSpan 0
|
|
set_interface_property avalon_slave_0 holdTime 0
|
|
set_interface_property avalon_slave_0 linewrapBursts false
|
|
set_interface_property avalon_slave_0 maximumPendingReadTransactions 0
|
|
set_interface_property avalon_slave_0 maximumPendingWriteTransactions 0
|
|
set_interface_property avalon_slave_0 readLatency 0
|
|
set_interface_property avalon_slave_0 readWaitTime 1
|
|
set_interface_property avalon_slave_0 setupTime 0
|
|
set_interface_property avalon_slave_0 timingUnits Cycles
|
|
set_interface_property avalon_slave_0 writeWaitTime 0
|
|
set_interface_property avalon_slave_0 ENABLED true
|
|
set_interface_property avalon_slave_0 EXPORT_OF ""
|
|
set_interface_property avalon_slave_0 PORT_NAME_MAP ""
|
|
set_interface_property avalon_slave_0 CMSIS_SVD_VARIABLES ""
|
|
set_interface_property avalon_slave_0 SVD_ADDRESS_GROUP ""
|
|
|
|
add_interface_port avalon_slave_0 address address Input 2
|
|
add_interface_port avalon_slave_0 read read Input 1
|
|
add_interface_port avalon_slave_0 write write Input 1
|
|
add_interface_port avalon_slave_0 readdata readdata Output 32
|
|
add_interface_port avalon_slave_0 writedata writedata Input 32
|
|
add_interface_port avalon_slave_0 waitrequest waitrequest Output 1
|
|
set_interface_assignment avalon_slave_0 embeddedsw.configuration.isFlash 0
|
|
set_interface_assignment avalon_slave_0 embeddedsw.configuration.isMemoryDevice 0
|
|
set_interface_assignment avalon_slave_0 embeddedsw.configuration.isNonVolatileStorage 0
|
|
set_interface_assignment avalon_slave_0 embeddedsw.configuration.isPrintableDevice 0
|
|
|