This repo contains AWS-FPGA compatible Runtime C Drivers that will drive the AWS-FPGA CL Designs to interract with the Cloud FPGA via AFI.
- First Copy the Driver you want to run. (Considering the AFI is loaded in slot 0)
- Paste it in your design's
software/runtime
directory. - Open Terminal in this directory.
- First type
make driverName
(for example if the driver is loader.c then typemake loader
) - Then once the driver is compiled successfully type
sudo ./driverName
(for example if driver if bramLoader.c then typesudo ./loader *args
) - All the interactions that the driver has done with the FPGA will be shown on the terminal screen
This repo contains the following drivers
Driver | Format | Purpose |
---|---|---|
Loader | ./loader <hex-file>/<elf-file> dma/bram | Reads a hex/elf file and stores the data into BRAM/DMA (WORD aligned) |
UART | ./uart_runtime | Transmit and Receive data through UART via OCL Interface |