In this section, you will connect the AXI4-Lite compliant custom slave peripheral IP that you created in Creating Peripheral IP.
Open the Vivado project you previously created in Example 1: Creating a New Embedded Project with Zynq SoC.
Add the custom IP to the existing design. Right-click the Diagram view and select Add IP.
Type “blink” into the search view. Blink_v1.0 appears. Double-click the IP to add it to the design.
Click Run Connection Automation to make automatic port connections.
With the All Automation box checked by default, click OK to make the connections. Your new IP is automatically connected, but the leds output port is disconnected.
Right-click the leds port and select Make External.
In the Flow Navigator view, navigate to RTL Analysis and select Open Elaborated Design.
Click OK.
After the elaborated design opens, click the I/O Ports window and expand All ports → led_0.
Edit the leds port settings as follows:
Port Name
I/O Std
Package Pin
Leds[3]
LVCMOS25
P17
Leds[2]
LVCMOS25
P18
Leds[1]
LVCMOS25
W10
Leds[0]
LVCMOS25
V7
The following figure shows the completed leds port settings in the I/O Ports window.
Select Generate Bitstream.
The Save Project view opens. Ensure that the check box is selected and then click Save.
If a message appears stating that synthesis is Out-of-date, click Yes.
After the bitstream generation completes, export the hardware and launch the Vitis unified software platform.
Note
Make sure to select Include bitstream instead of Pre-synthesis on the Output page of the Export Hardware Platform wizard.