element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Avnet Boards Forums
  • Products
  • Dev Tools
  • Avnet Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
Ultra96 Hardware Design Vitis vadd example hardware emulation on u96v2_sbc_dualcam exiting with error
  • Forum
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Avnet Boards Forums to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 4 replies
  • Subscribers 330 subscribers
  • Views 1789 views
  • Users 0 members are here
  • ultra96v2
  • ultra96-v2
  • acceleration
  • hardware emulation
Related

Vitis vadd example hardware emulation on u96v2_sbc_dualcam exiting with error

bettyET
bettyET over 3 years ago

Hi, 

I successfully built the u96v2_sbc_dualcam design according to

https://www.hackster.io/AlbertaBeef/stereo-face-detection-with-the-dual-camera-mezzanine-8c7baf#toc-appendix-1---rebuilding-the-design-6. 

Now I want to add my own accelerator instead of the xilinx dpu. For that, I follwed the vadd tutorial 

https://github.com/Xilinx/Vitis-Tutorials/tree/2021.2/Hardware_Acceleration/Feature_Tutorials/01-rtl_kernel_workflow, but unfortunately, the building process exits with an error: 

link steps log: 

ERROR: [XSIM 43-3409] Failed to compile generated C file ../../../../prj.ip_user_files/bd/u96v2_sbc_dualcam/ip/u96v2_sbc_dualcam_v_proc_ss_scaler_0_0/bd_0/sim/bd_11ff_sci.cxx.
ERROR: [XSIM 43-3915] Encountered a fatal error. Cannot continue. Exiting...

vivado.log: 

ERROR: caught error: xsc -c --gcc_compile_options -DBOOST_SYSTEM_NO_DEPRECATED --gcc_compile_options -I../../../../prj.ip_user_files/bd/u96v2_sbc_dualcam/ip/u96v2_sbc_dualcam_v_proc_ss_scaler_0_0/bd_0/sim -I/tools/Xilinx/Vivado/2021.1/tps/boost_1_72_0 -work xil_defaultlib -f u96v2_sbc_dualcam_wrapper_xsc.prj
ERROR: [XSIM 43-3409] Failed to compile generated C file ../../../../prj.ip_user_files/bd/u96v2_sbc_dualcam/ip/u96v2_sbc_dualcam_v_proc_ss_scaler_0_0/bd_0/sim/bd_11ff_sci.cxx.
ERROR: [XSIM 43-3915] Encountered a fatal error. Cannot continue. Exiting...

How to fix that? Thank you! 

Cheers, 

Betty 

  • Sign in to reply
  • Cancel
  • bettyET
    0 bettyET over 3 years ago

    Is there anyone who can help?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • albertabeef
    0 albertabeef over 3 years ago

    Betty,
    First, are you using different versions ?
    The vitis platform you are refering to was created with 2021.1, but the vadd example you are refering to was created with 2021.2.
    There is no support for mixing versions, as this is known to have unexpected issues.

    There is a new version of the dual camera design for 2021.2 : https://avnet.me/vitis-ai-2.0-dualcam 

    Regards,
    Mario.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • bettyET
    0 bettyET over 3 years ago in reply to albertabeef

    Hi Mario, 

    thanks for your reply. 

    No, actually I built the vadd kernel with 2021.1, too. Anyways, its exactly the same rtl sources for 2021.1 and 2021.2. 

    Everything works when building for the hardware, but not for hardware emulation. 

    Cheers,

    Betty 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • bettyET
    0 bettyET over 3 years ago in reply to albertabeef

    Hi Mario, 

    the problem seems to be missing include paths when executing /Emulation-HW/binary_container_1.build/link/vivado/vpl/prj/prj.sim/sim_1/behav_waveform/xsim/compile.sh: 

    In file included from ../../../../prj.ip_user_files/bd/u96v2_sbc_dualcam/ip/u96v2_sbc_dualcam_v_proc_ss_scaler_0_0/bd_0/sim/bd_11ff_sci.cxx:2:0:
    ../../../../prj.ip_user_files/bd/u96v2_sbc_dualcam/ip/u96v2_sbc_dualcam_v_proc_ss_scaler_0_0/bd_0/sim/bd_11ff_sci.h:5:18: fatal error: xtlm.h: No such file or directory
    #include "xtlm.h"

    So I found out that when adding "/tools/Xilinx/Vivado/2021.1/data/xsim/ip/common_cpp_v1_0/include" and "/tools/Xilinx/Vivado/2021.1/data/xsim/ip/xtlm/include" to the include paths I can rerun compile.sh without error. However, compile.sh is a generated file... Do you know where I can add the missing include paths into the vitis flow? 

    Thank you 

    Betty

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube