Create the Base Vivado Project from Preset - 2023.2 English

Vitis Tutorials: Vitis Platform Creation (XD101)

Document ID
XD101
Release Date
2023-12-26
Version
2023.2 English
  1. Create workspace and Launch Vivado

    Run the following commands on a Linux console.

    source <Vivado_Install_Directory>/settings64.sh
    mkdir WorkSpace
    cd WorkSpace
    mkdir zcu104_hardware_platform  #create directory for our step1 
    cd zcu104_hardware_platform
    vivado &
    
  2. Create a Vivado project named zcu104_custom_platform.

    1. Select File->Project->New, and click Next.

    2. In Project Name dialog box, set Project name to zcu104_custom_platform. Uncheck Create project subdirectory, and click Next.

    3. Enable Project is an extensible Vitis platform and click Next.

      missing image

    4. Select the Boards tab, then select Zynq UltraScale+ ZCU104 Evaluation Board, and click Next.

    5. Review the project summary and click Finish.

      Note: If you need to change an existing Vivado project to an extensible Vitis platform project, you can go to Settings in Flow Navigator in an opened Vivado design, go to General and enable project is an extensible Vitis platform

      missing image

  3. Create a block design.

    1. In Project Manager, under IP INTEGRATOR, select Create Block Design.

    2. (Optional) Change the design name to system.

    3. Click OK.

  4. Add the AMD Zynq™ UltraScale+™ MPSoC IP and run block automation to configure it.

    1. Right-click Diagram view, and select Add IP.

    2. Search for zynq and then double-click the Zynq UltraScale+ MPSoC from the IP search results.

    3. Click the Run Block Automation link to apply the board presets.

    4. In the Run Block Automation dialog, ensure the following is checked:

      • All Automation

      • Zynq_ultra_ps_e_0

      • Apply Board Presets

    5. Click OK. You should get MPSoC block configured like below:

      block_automation_result.png

What Just Happened?

At this stage, the Vivado block automation has added a Zynq UltraScale+ MPSoC block and applied all board presets for the ZCU104. The presets includes MPSoC PS side block configurations and pin assignments.

What to do for custom boards?

For a custom board, double-click MPSoC block and set up parameters according to the board hardware. Next, add the IP blocks and metadata to create a base hardware design that supports the acceleration kernels.