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

Vitis Model Composer Tutorial: (UG1498)

Document ID
UG1498
Release Date
2021-07-16
Version
2021.1 English
In this step you will create a design using the 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 Model Composer IP, and add the IP to the repository.

  3. Right-click in the Diagram window, and select IP Settings.

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

  5. In the IP Repositories dialog box, navigate to the following directory:
    C:\ug1498-model-composer-sys-gen-tutorial\HDL_Library\Lab5\IPI_Project\ip
  6. With folder ip selected, click Select to create the new repository as shown in the following figure.

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

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

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

  15. Type lab5 in the Search dialog box.
  16. 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.

  17. Click Run Connection Automation (at the top of the design canvas).
  18. 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.
  19. Double-click the ZYNQ7 Processing System to customize the IP.
  20. Click the PS-PL Configuration as shown in the following figure.
  21. 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.



  22. Click OK to add this port to the Zynq Processing System.
  23. 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.

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

  28. Click OK to close the Validate Design message.

    The design from 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.

  29. You will now process the design through to bitstream.

You will now process the design through to bitstream.