Design Gateway LL10GEMAC-IP Instruction Manual

Ip core with aat demo

Advertisement

Quick Links

LL10GEMAC IP Core
LL10GEMAC-IP with AAT Demo Instruction
1
Overview .............................................................................................................................................................. 2
2
Target System Setup ........................................................................................................................................... 4
2.1 IP Address Configuration for Two 10G Ethernet Ports ................................................................................ 4
3
Host System Setup .............................................................................................................................................. 7
4
Run AAT Demo .................................................................................................................................................. 12
4.1 Initialization ................................................................................................................................................ 12
4.2 Market Data Transmission ......................................................................................................................... 14
4.3 AAT Demo.................................................................................................................................................. 16
4.3.1
Ethernet Kernel ............................................................................................................................. 16
4.3.2
Feed Handler Kernel ..................................................................................................................... 17
4.3.3
OrderBook Kernel .......................................................................................................................... 18
4.3.4
Order Entry Kernel ........................................................................................................................ 19
5
Revision History ................................................................................................................................................. 20
dg_ll10gemacip_aat_instruction
- 1 -
Copyright © 2024 Design Gateway Co.,Ltd

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the LL10GEMAC-IP and is the answer not in the manual?

Questions and answers

Summary of Contents for Design Gateway LL10GEMAC-IP

  • Page 1: Table Of Contents

    LL10GEMAC IP Core LL10GEMAC-IP with AAT Demo Instruction Overview ................................2 Target System Setup ............................4 2.1 IP Address Configuration for Two 10G Ethernet Ports ................4 2.2 Installation of “tcpreplay” ..........................6 Host System Setup .............................. 7 Run AAT Demo ..............................12 4.1 Initialization ..............................
  • Page 2: Overview

    Accelerated Algorithmic Trading (AAT) demo. This demo is a modification of AMD/Xilinx original AAT demo, designed to achieve lower latency by utilizing the LL10GEMAC-IP from Design Gateway, instead of the 10G/25G Ethernet subsystem. Latency details for LL10GMEAC-IP can be found in its datasheet: https://dgway.com/products/IP/Lowlatency-IP/dg_ll10gemacip_data_sheet_xilinx_en/...
  • Page 3 LL10GEMAC IP Core Figure 1 LL10GEMACIP with AAT Demo using Alveo U250/U50 Card - 3 - dg_ll10gemacip_aat_instruction Copyright © 2024 Design Gateway Co.,Ltd...
  • Page 4: Target System Setup

    Figure 2 Display Logical Name of 10G Ethernet Ports The output will display information about the network interfaces. For example, Figure 2 shows logical names such as “enp1s0f0” for SFP+#1 and “enp1s0f1” for SFP+#2. - 4 - dg_ll10gemacip_aat_instruction Copyright © 2024 Design Gateway Co.,Ltd...
  • Page 5 3) After configuring the IP addresses and netmask, verify the settings using the “ifconfig” command. Figure 4 Verify IP Address and Netmask Setting Ensure that both Ethernet ports are correctly assigned with their respective IP addresses and netmask values. - 5 - dg_ll10gemacip_aat_instruction Copyright © 2024 Design Gateway Co.,Ltd...
  • Page 6: Installation Of "Tcpreplay

    Run the following command to install the “tcpreplay” package: “sudo apt-get install tcpreplay”. Figure 5 “tcpreplay” Installation This command will install “tcpreplay”, as illustrated in Figure 5. Once the installation is completed, “tcpreplay” will be ready for use in the demo. - 6 - dg_ll10gemacip_aat_instruction Copyright © 2024 Design Gateway Co.,Ltd...
  • Page 7: Host System Setup

    U250 card, which has two QSFP+ channels, ensure the transceiver is inserted into the QSFP2 channel. ii) Connect SFP+ no.1 (IP: 192.168.10.100) and SFP+ no.2 (IP: 192.168.20.100) to the 10G Ethernet ports on the target system - 7 - dg_ll10gemacip_aat_instruction Copyright © 2024 Design Gateway Co.,Ltd...
  • Page 8 Depending on your card model, use the appropriate command. • For U250 card >> export XILINX_PLATFORM='xilinx_u250_gen3x16_xdma_4_1_202210_1' • For U50 card >> export XILINX_PLATFORM='xilinx_u50_gen3x16_xdma_5_202210_1' iv) Export the device path. >> export DEVICE=${PLATFORM_REPO_PATHS}/${XILINX_PLATFORM}/ ${XILINX_PLATFORM}.xpfm - 8 - dg_ll10gemacip_aat_instruction Copyright © 2024 Design Gateway Co.,Ltd...
  • Page 9 26 of UG1301 (V2.0) for detailed instructions. https://docs.amd.com/v/u/2.0-English/ug1301-getting-started-guide-alveo-accelerator-cards Detect the Accelerator card connected to TKAS-D2101 and obtain the Card BDF ID. >> sudo /opt/xilinx/xrt/bin/xbmgmt examine Figure 8 Examine the Accelerator Card - 9 - dg_ll10gemacip_aat_instruction Copyright © 2024 Design Gateway Co.,Ltd...
  • Page 10 Use the following command, along with the “card_BDF” (obtained from step 3i), to generate a JSON output file containing the partition file path. >> sudo /opt/xilinx/xrt/bin/xbmgmt examine --report platform --format json --output <output file.json> -- device <card_BDF> Figure 9 Generate JSON Report File of xbmgmt - 10 - dg_ll10gemacip_aat_instruction Copyright © 2024 Design Gateway Co.,Ltd...
  • Page 11 >> sudo /opt/xilinx/xrt/bin/xbmgmt program --device <card_BDF> --shell <path to partition file> Figure 10 Program the Shell Partition 4) Copy the “aat.u250_DGLL10GEMAC.xclbin” file provided by Design Gateway to the following directory: “../Accelerated_Algorithmic_Trading/build”. The default location of the “aat_shell_exe” in the AAT demo design is “../Accelerated_Algorithmic_Trading/build/bin”.
  • Page 12: Run Aat Demo

    2) After entering the command, you should see a confirmation message on the console “Listening on <Target PC name> 12345” indicating that the port is listening, as shown in Figure 12. - 12 - dg_ll10gemacip_aat_instruction Copyright © 2024 Design Gateway Co.,Ltd...
  • Page 13 5) If the parameter configuration is successful, the target console will display a message indicating that the port has been opened successfully, such as “Connection received on 192.168.20.200 32768”, as shown in Figure Figure 14 Port Opened Success - 13 - dg_ll10gemacip_aat_instruction Copyright © 2024 Design Gateway Co.,Ltd...
  • Page 14: Market Data Transmission

    : File name of the market data to be transmitted (e.g., cme_input_ arb.pcap). Figure 15 Sample Market Data Transmission by “tcpreplay” 2) As the data is transmitted, the console will display the status every second, showing the total number of packets transmitted. - 14 - dg_ll10gemacip_aat_instruction Copyright © 2024 Design Gateway Co.,Ltd...
  • Page 15 The data represents the sample order packet returned by the Accelerator card and serves as the result of the AAT demo. Figure 16 The Sample Data of Order Packet on SFP+#2 Channel - 15 - dg_ll10gemacip_aat_instruction Copyright © 2024 Design Gateway Co.,Ltd...
  • Page 16: Aat Demo

    Check the status of channel#0 and channel#1 to ensure they are operating correctly. The following parameters should be verified. Rx Block Lock Status (Live) : LOCKED ii) GT Power Good (Live) : true - 16 - dg_ll10gemacip_aat_instruction Copyright © 2024 Design Gateway Co.,Ltd...
  • Page 17: Feed Handler Kernel

    In Figure 15, an example is shown where 104 packets of sample market data were sent by the target PC. Out of these packets, 53 packets were processed by the Feed Handler kernel, while the remaining packets were rejected. - 17 - dg_ll10gemacip_aat_instruction Copyright © 2024 Design Gateway Co.,Ltd...
  • Page 18: Orderbook Kernel

    The right window shows the updated order book after all the sample market data has been processed. The bid/ask quantities and prices are adjusted based on the market data, as updated by the OrderBook kernel. - 18 - dg_ll10gemacip_aat_instruction Copyright © 2024 Design Gateway Co.,Ltd...
  • Page 19: Order Entry Kernel

    3) After transmitting the market data completely, the packet count in the Order Entry kernel will update from 0 to reflect the total number of messages or frames processed by the Order Entry kernel. - 19 - dg_ll10gemacip_aat_instruction Copyright © 2024 Design Gateway Co.,Ltd...
  • Page 20: Revision History

    Update the reference link for AAT 1.02 26-May-23 Add table of contents and correct the website of an example cables 1.01 7-Sep-22 Support AAT2022Q1 released version 1.00 11-Oct-21 Initial version release - 20 - dg_ll10gemacip_aat_instruction Copyright © 2024 Design Gateway Co.,Ltd...

Table of Contents