Skip to content

Latest commit

 

History

History
60 lines (57 loc) · 2.18 KB

build_hardware.md

File metadata and controls

60 lines (57 loc) · 2.18 KB

Table of contents (steps)

1. Create an AWS account
2. Generate SSH keys
3. Create S3 credential
4. Request access to Amazon EC2 F1 instances
5. Create an AMI instance
6. Configure S3 bucket
7. Setup development environment
8. Simulate the design
9. Build the hardware design
10. Generate the AFI
11. Program the FPGA
12. Compile the runtime of the design
13. Bookkeping the AFI

9. Build the hardware design

  1. Change the instance type for a compute optimized instance (c4.4xlarge or c5.4xlarge)
  2. Connect to the instance via ssh
  3. Go to the aws-fpga folder cd <the-path-of-aws-fpga-folder>
  4. Setup the hardware environment source hdk_setup.sh
  5. Go to the hello-world example folder cd hdk/cl/examples/cl_hello_world
  6. Export environment variable for the design export CL_DIR=$PWD
  7. Go to the hardware scripts folder cd build/scripts
  8. Run ./aws_build_dcp_from_cl.sh
  9. Run tail -f last_log to monitor progress and exit anytime by running ctrl+c
  10. Wait until Xilinx Vivado finishes building the design and the final design (.tar) will be located at $CL_DIR/build/checkpoints/to_aws/*.Developer_CL.tar
  11. Copy the final tar-file to the s3 bucket aws s3 cp $CL_DIR/build/checkpoints/to_aws/*.Developer_CL.tar s3://<your-s3-bucket>