Step 3: Create a Design in IP Integrator - 2022.1 English

Vitis Model Composer Tutorial (UG1498)

Document ID
UG1498
Release Date
2022-07-25
Version
2022.1 English
In this step you will create a design using the Vitis Model Composer IP.
  1. Click Create Block Design in the Flow Navigator pane.

  2. In the Create Block Design dialog box, click OK to accept the default name.

    You will first create an IP repository for the Vitis Model Composer IP, and add the IP to the repository.

  3. In the Settings dialog box, select IP > Repository under Project Settings and click the Add Repository button () to add a repository.

  4. In the IP Repositories dialog box, navigate to the following directory:
    \HDL_Library\Lab5\IPI_Project\ip
  5. With folder ip selected, click Select to create the new repository as shown in the following figure.

  6. Click OK to exit the Add Repository dialog box.
  7. Click OK to exit the Settings dialog box.
  8. Click the Add IP button in the center of the canvas.
  9. Type zynq in the Search field.
  10. Double-click ZYNQ7 Processing System to add the CPU.

  11. Click Run Block Automation as shown in the following figure.

  12. Leave Apply Board Preset selected and click OK. This will ensure the design is automatically configured to operate on the ZC702 evaluation board.
  13. Right-click anywhere in the block diagram and select Add IP.

  14. Type lab5 in the Search dialog box.
  15. Double-click lab5_1 to add the IP to the design.

    You will now connect the IP to the rest of the design. Vivado IP integrator provides automated assistance when the design uses AXI interfaces.

  16. Click Run Connection Automation (at the top of the design canvas).
  17. Click OK to accept the default options (lab5_1_0/lab5_1_s_axi to processing_system7_0/M_AXI_GP0) and connect the AXI4-Lite interface to the Zynq®-7000 IP SoC.
  18. Double-click the ZYNQ7 Processing System to customize the IP.
  19. Click the PS-PL Configuration as shown in the following figure.
  20. Expand the HP Slave AXI Interface and select the S AXI HP0 interface.

    Make sure to check the box next to S AXI HP0 interface.



  21. Click OK to add this port to the Zynq Processing System.
  22. On the Model Composer IP lab5_1 block, click the AXI4-Stream input interface port s_axis_source and drag the mouse. Possible valid connections are shown with green check marks as the pencil cursor approaches them. Drag the mouse to the S_AXI_HP0 port on the Zynq Processing System to complete the connection.

  23. Click OK in the Make Connection dialog box.
  24. Click Run Connection Automation to connect the AXI4-Lite interface on the AXI DMA to the processor.
  25. Click OK to accept the default.
  26. Use the Validate Design toolbar button to confirm the design has no errors.

  27. Click OK to close the Validate Design message.

    The design from Vitis Model Composer has now been successfully incorporated into an IP integrator design. The IP in the repository can be used within any Vivado project, by simply adding the repository to the project.

You will now process the design through to bitstream.