Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken documentation in Part4-data_center.md #438

Open
nightduck opened this issue Apr 22, 2024 · 0 comments
Open

Broken documentation in Part4-data_center.md #438

nightduck opened this issue Apr 22, 2024 · 0 comments

Comments

@nightduck
Copy link

nightduck commented Apr 22, 2024

These lines reference host.cpp in the wrong directory (should be ../src/host.cpp)

g++ -g -std=c++17 -Wall -O0 ../../src/host.cpp -o ./app.exe -I$XILINX_XRT/include/ -L$XILINX_XRT/lib -lxrt_coreutil -pthread

g++ -g -std=c++17 -Wall -O0 ../../src/host.cpp -o ./app.exe -I$XILINX_XRT/include/ -L$XILINX_XRT/lib -lxrt_coreutil -pthread

g++ -g -std=c++17 -Wall -O0 ../../src/host.cpp -o ./app.exe -I$XILINX_XRT/include/ -L$XILINX_XRT/lib -lxrt_coreutil -pthread


Likewise for u250.cfg here

v++ -l -t hw --platform xilinx_u250_gen3x16_xdma_4_1_202210_1 --config ../../src/u250.cfg ./hw/vadd.xo -o ./hw/vadd.xclbin


u250_hls.cfg doesn't exist. It should be ../src/u250.cfg

v++ -c --mode hls --platform xilinx_u250_gen3x16_xdma_4_1_202210_1 --config ./u250_hls.cfg --work_dir hw_emu

v++ -c --mode hls --platform xilinx_u250_gen3x16_xdma_4_1_202210_1 --config ./u250_hls.cfg --work_dir hw


Whenever ./app.exe is invoked, it throws a runtime error because the xclbin file is not in the present directory.



Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant