Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

hw_emu hangs

Đang mở
#91 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

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

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Xilinx/Vitis_Accel_Examples

Tất cả issue của Xilinx/Vitis_Accel_Examples

Issue tương tự

Thêm issue về Build System

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.