Skip to content

bol-edu/course-lab_aat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

LAB#D Accelerated Algorithmic Trading Demo

Introduction

The Accelerated Algorithmic Trading Platform (AAT) is an integrated hardware and software solution for the Xilinx® Alveo™ platform. The hardware side includes the network layer and transaction-related modules; the software side provides API and host program shell to set the hardware. However, the entire hardware verification process requires additional network cabling and setup. To simplify the verification process, we removed the network-related kernels and used a simple host program to verify the main transaction-related kernels.

About this lab

In this lab, you will run the Accelerated Algorithmic Trading platform provided by Xilinx, and learn about the algorithmic trading process from receiving packets to sending orders, as well as the design of the entire system.

How to build & run

build hw & host program

$ cd AAT_demo/build/
$ ./buildall.sh

run

$ ./run.sh

compile host program only

$ cd AAT_demo/aat_host/
$ make host

if you want to run C simulation with a specific kernel

$ cd AAT_demo/pricingEngine/test/
$ make

Others

If you cannot run *.sh

$ chmod u+x buildall.sh (or run.sh)

You may need to reset the FPGA before running Host program

$ xbutil reset --device

Using devtoolset-9 bash to avoid compilation problems

$ scl enable devtoolset-9 bash

Reference

https://xilinx.github.io/XRT/2021.2/html/xrt_native_apis.html https://github.com/Xilinx/Vitis_Accel_Examples/tree/master/host_xrt/streaming_free_running_k2k_xrt