hw_emu hangs
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- aws, shell
- Lĩnh vực
- build-system, embedded-iot
Hướng nghiên cứu
Start with the reported make run TARGET=hw_emu PLATFORM=$AWS_PLATFORM all command and compare it with the successful sw_emu run. Inspect .run/197694/hw_em/device0/binary_0/behav_waveform/xsim/simulate.log, including the point where it reaches Time resolution is 1 ps; done means hw_emu completes instead of hanging.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
No matter what example I choose, sw_emu (make run TARGET=sw_emu PLATFORM=$AWS_PLATFORM all passes successfully but hw_emu (make run TARGET=hw_emu PLATFORM=$AWS_PLATFORM all) hangs and never finishes.
The output of the command:
/bin/sh: 12: [[: not found
/bin/sh: 15: [[: not found
/bin/sh: 18: [[: not found
cp -rf ./_x.hw_emu.xilinx_aws-vu9p-f1_shell-v04261818_201920_3/emconfig.json .
XCL_EMULATION_MODE=hw_emu ./hello_world ./build_dir.hw_emu.xilinx_aws-vu9p-f1_shell-v04261818_201920_3/vadd.xclbin
XRT build version: 2.13.466
Build hash: f5505e402c2ca1ffe45eb6d3a9399b23a0dc8776
Build date: 2022-04-14 17:43:11
Git branch: 2022.1
PID: 197694
UID: 1000
[Fri Dec 31 12:00:00 2021 GMT]
HOST:
EXE: /home/kacper/aws-fpga/Vitis/examples/xilinx_2021.2/hello_world/hello_world
[XRT] WARNING: The xrt.ini flag "opencl_summary" is deprecated and will be removed in a future release. A summary file is generated when when any profiling is enabled, so please use the appropriate settings from "opencl_trace=true", "device_counter=true", and "device_trace=true."
[XRT] WARNING: The xrt.ini flag "opencl_device_counter" is deprecated and will be removed in a future release. Please use the equivalent flag "device_counter."
Found Platform
Platform Name: Xilinx
INFO: Reading ./build_dir.hw_emu.xilinx_aws-vu9p-f1_shell-v04261818_201920_3/vadd.xclbin
Loading: './build_dir.hw_emu.xilinx_aws-vu9p-f1_shell-v04261818_201920_3/vadd.xclbin'
Trying to program device[0]: xilinx_aws-vu9p-f1_shell-v04261818_201920_3
INFO: [HW-EMU 07-0] Please refer the path "/home/kacper/aws-fpga/Vitis/examples/xilinx_2021.2/hello_world/.run/197694/hw_em/device0/binary_0/behav_waveform/xsim/simulate.log" for more detailed simulation infos, errors and warnings.
last 10 lines of the /home/kacper/aws-fpga/Vitis/examples/xilinx_2021.2/hello_world/.run/197694/hw_em/device0/binary_0/behav_waveform/xsim/simulate.log file:
ga/Vitis/examples/xilinx_2021.2/hello_world/.run/197694/hw_em/device0/binary_0/behav_waveform/xsim/simulate.log
INFO: [Wavedata 42-564] Found protocol instance at /emu_wrapper/emu_i/dynamic_region//slr2/to_delete_kernel_ctrl_2/S_AXI
INFO: [Wavedata 42-564] Found protocol instance at /emu_wrapper/emu_i/dynamic_region//user_slr_icn/M00_AXI
INFO: [Wavedata 42-564] Found protocol instance at /emu_wrapper/emu_i/dynamic_region//user_slr_icn/M01_AXI
INFO: [Wavedata 42-564] Found protocol instance at /emu_wrapper/emu_i/dynamic_region//user_slr_icn/M02_AXI
INFO: [Wavedata 42-564] Found protocol instance at /emu_wrapper/emu_i/dynamic_region//user_slr_icn/S00_AXI
INFO: [Wavedata 42-564] Found protocol instance at /emu_wrapper/emu_i/dynamic_region//user_slr_icn/m00_couplers/M_AXI
INFO: [Common 17-14] Message 'Wavedata 42-564' appears 100 times and further instances of the messages will be disabled. Use the Tcl command set_msg_config to change the current settings.
INFO: [Wavedata 42-565] Reading protoinst file protoinst_files/emu.protoinst
INFO: [Wavedata 42-565] Reading protoinst file ./dr_behav.protoinst
Time resolution is 1 ps
Any ideas why? I tried searching everywhere and couldn't find any solution. I would really appreciate any help here!
I'm using Vitis 2021.2 package.
- Ngôn ngữ chính
- Makefile
- Star
- 609
- Fork
- 233
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của Xilinx/Vitis_Accel_Examples
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
-
Example file is missing.Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 35/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 30/100
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
Tất cả issue của Xilinx/Vitis_Accel_Examples
Issue tương tự
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 75/100
tesseract-ocr/tesseract#4653 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug Report] `pip install -e .` fails on Windows: setup.py reads README.md without UTF-8 encodingĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
Farama-Foundation/Minigrid#538 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
NicholasSynovic/VisKnacks#40 ·
-
enhancement good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Novatip/novatip-contracts#133 ·
-
bug complexity::1-low effort::1-hours priority::2-should
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
jumpingrivers/audit.base#61 ·