- Newest
- Most votes
- Most comments
Can you please reply with which FPGA Developer AMI you are using and which version of the HDK? You can find the AMI by selecting the instance in the EC2 console and looking at the description. You can find the HDK version in the RELEASE_NOTES.md file in your clone of the aws-fpga repo.
Hello,
I am using the following AMI:
FPGA Developer AMI - 1.6.0
And the HDK version is the one i cloned from git yesterday, so it is the following:
Release 1.4.10.
Thanks in advance.
Thanks for reporting this. This is a bug in test_cl.c. This will be fixed in the next release and we will add tests to ensure that this works in the future. To fix the bug, please add the following 2 lines at line 58:
/* initialize the fpga_mgmt library */
rc = fpga_mgmt_init();
The modified code should look like:
int main(int argc, char **argv) {
int rc;
int slot_id;
/* initialize the fpga_mgmt library */
rc = fpga_mgmt_init();
/* initialize the fpga_pci library so we could have access to FPGA PCIe from this applications */
rc = fpga_pci_init();
fail_on(rc, out, "Unable to initialize the fpga_pci library");
Then rerun
make all; sudo ./test_cl
The output should look like:
$ sudo ./test_cl
AFI PCI Vendor ID: 0x1d0f, Device ID 0xf000
===== Hello World Example =====
Writing for VLED (0xAAAA) with BAR1-AXI GPIO
Use the following command to get the VLED value after running the software
# sudo fpga-get-virtual-led -S 0
FPGA slot id 0 have the following Virtual LED:
1010-1010-1010-1010
Writing to AXI BRAM with ASCII
Reading ASCII from AXI BRAM
H
e
l
l
o
W
o
r
l
d
!
Relevant content
- asked 5 years ago
- AWS OFFICIALUpdated 3 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 24 days ago