element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • 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 & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • 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 & Tria Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
Avnet Boards General Ultra96v2 Xilinx Vitis 2020.1 Software Emulation
  • 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
  • Replies 0 replies
  • Subscribers 345 subscribers
  • Views 780 views
  • Users 0 members are here
  • Using Xilinx Tools
  • ultra96-v2
  • vitis 2020.1
  • microzed
  • Software Application Development
Related

Ultra96v2 Xilinx Vitis 2020.1 Software Emulation

akakkel211s
akakkel211s over 4 years ago

Hello,
I have recently bought a Ultra96v2 board and I would like to run the Vitis_Accel_Examples here. I have previously worked with Alveo boards and ZCU102 boards with terminal commands. For example I use the following command to create a software emulation for zcu102 board:

$ make cleanall;make all TARGET=sw_emu DEVICE=/opt/xilinx/platforms/xilinx_zcu102_base_202010_1/xilinx_zcu102_base_202010_1.xpfm HOST_ARCH=aarch64 SYSROOT=/opt/petalinux/2020.1/sysroots/aarch64-xilinx-linux EDGE_COMMON_SW=/opt/xilinx/xilinx-zynqmp-common-v2020.1;./package.sw_emu/launch_sw_emu.sh

 

So I downloaded the ULTRA96V2_VITIS_2020_1.tar.gz file from the sharepoint website.Extracted it to a directory and modified the instruction to have the xpfm file of the Ultra96v2 as the following

 

$ make cleanall;make all TARGET=sw_emu DEVICE=/opt/xilinx/platforms/ULTRA96V2/ULTRA96V2.xpfm HOST_ARCH=aarch64 SYSROOT=/opt/petalinux/2020.1/sysroots/aarch64-xilinx-linux EDGE_COMMON_SW=/opt/xilinx/xilinx-zynqmp-common-v2020.1;./package.sw_emu/launch_sw_emu.sh

 

The rest of the instruction is not required to modify I think because  the Xilinx website here ( https://www.xilinx.com/support/download/index.html/content/xilinx/en/downloadNav/embedded-platforms/2020-1.html  ) states that :

 

Important Information

The ‘common image’ packages below contain a prebuilt Linux kernel, root file system and sysroot that can be used with any Zynq or ZynqMP board for embedded Vitis platform developers.

 

The build process is very fast compared to zcu102 instruction and when the PS-QEMU launches it doesn't allow me to enter any input it shows the following messages:

FATSIZE:1124

fat_start:63

fat_end:2096639

fat_sector:2096577

ext4_start:0

ext4_sector:4142856

EXT4SIZE:2048

TOTALSIZE:3172

dummy_ext4_sector:51448

sd_card_fat_start:2048

sd_card_ext4_start:2195456

dummy_ext4_start:6338312

2096577+0 records in

2096577+0 records out

1073447424 bytes (1.1 GB, 1.0 GiB) copied, 2.76072 s, 389 MB/s

4142856+0 records in

4142856+0 records out

2121142272 bytes (2.1 GB, 2.0 GiB) copied, 5.28124 s, 402 MB/s

51448+0 records in

51448+0 records out

26341376 bytes (26 MB, 25 MiB) copied, 0.0740622 s, 356 MB/s

INFO: [v++ 60-2343] Use the vitis_analyzer tool to visualize and navigate the relevant reports. Run the following command.

    vitis_analyzer /home/ubuntu/workspace/project/fpga.xclbin.package_summary

INFO: [v++ 60-791] Total elapsed time: 0h 0m 23s

INFO: [v++ 60-1653] Closing dispatch client.

Current working dir /home/ubuntu/workspace/project/package.sw_emu

Required emulation files like qemu_args exists

Running SW Emulation

INFO :  [LAUNCH_EMULATOR] pl_sim_dir option is not provided.

Starting QEMU

- Press <Ctrl-a h> for help

Waiting for QEMU to start. qemu_port 8166

Qemu_pids 18785 18786

qemu-system-aarch64: -chardev socket,path=/tmp/18731/qemu-rport-_pmu@0,server,id=pmu-apu-rp: info: QEMU waiting for connection on: disconnected:unix:/tmp/18731/qemu-rport-_pmu@0,server

QEMU started. qemu_pid=18785.

Waiting for PMU to start. Qemu_pids 18789 18790

qemu-system-aarch64: -chardev socket,id=pl-rp,host=127.0.0.1,port=8859,server: info: QEMU waiting for connection on: disconnected:tcp:127.0.0.1:8859,server

PMC started. pmc_pid=18789

Starting PL simulation.Generating PLLauncher commandline

running PLL Launcher

 

After the PLL Launcher the terminal freezes it does not allow any inputs. When I type Ctrl+A+X command the QEMU launcher disconnects. What should I do to fix this issue ?

 

Thank you!

  • Sign in to reply
  • 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