This is a project for ECE 6775 - High-Level Digital Design Automation - at Cornell University. It uses HLS to accelerating Monte Carlo Based Options Pricing. The ecelinux folder contains a Vivado HLS project to synthesize the monte carlo hardware module. The zedboard contains a C++ project to build the monte carlo host program which can then be run on the zedboard after programming the FPGA with this code.
- Navigate to the ecelinux folder within this repository.
- Run
vivado_hls -f run.tcl
- Run
vivado_hls -f run.tcl
to generate Verilog for this module - Run
source run_bitstream.sh
to generate the bitstream that will be used to reconfigure the FPGA - Scp the generated
xillydemo.bit
to the zedboard usingscp xillydemo.bit <user>@zhang-zedboard-xx.ece.cornell.edu:~
- Login to the zedboard -
ssh <user>@zhang-zedboard-xx.ece.cornell.edu
- Run
mount /mnt/sd
to mount the SD card - Run
cp xillydemo.bit /mnt/sd
- Run
sudo reboot
so these changes take effect - Scp this whole monte-carlo folder to the zedboard that was just reprogrammed using
scp /path-to-zip/monte-carlo.zip <user>@zhang-zedboard-xx.ece.cornell.edu:
- After unzipping the folder, navigate to the zedboard folder and run
make fpga
Collaborators - Angela Cui, Andrew Cheng, Eshita Sangani, Evan Williams