Add the equivalent IP to the block
diagram. The following are example steps for AXI GPIO:
- Right-click anywhere in the block diagram and select Add IP.
- Search for and double-click AXI GPIO to add the IP.
- Double-click the instance
(axi_gpio_0)
to configure the IP. - Open the MHS and match the settings as closely as possible; parameters could have been added, modified, or removed.
- If possible, select Generate Board based IO Constraints to set parameters based upon the board.
- Click OK.Note: Parameter verification is discussed in the section Verifying Parameters between XPS and IP Integrator Designs for AXI Masters and Slaves in a Zynq Platform Processor-Based Design.
- In the MHS, in the AXI slave instance section, find the
BUS_INTERFACE S_AXI
line.Note that
S_AXI
could have a slightly different name. - Based on the right side of the equation on that line
(BUS_INTERFACE S_AXI = AXI_INTERCONNECT_GP0_MASTER
in this case(AXI_INTERCONNECT_GP0_MASTER)
, do a search and trace back into the processing_system_7 instance.Consider, for example,
BUS_INTERFACE M_AXI_GP0 = AXI_INTERCONNECT_GP0_MASTER
.This AXI Slave interface is connected to the
M_AXI_GP0
interface. AXI Slave interfaces for Zynq devices can be connected toM_AXI_GP0
,M_AXI_GP1
depending on the connection in the MHS. - Run Connection Automation on the AXI
Slave interface(s) on the IP. Consider, for example, the
/axi_gpio_0/S_AXI
interface. For the/axi_gpio_0/S_AXI
interface, the interface connection should be for the Master:/processing_system7_0/M_AXI_GP0
. -
Select OK.
This creates or modifies the
processing_system7_0_axi_periph
instance.
For other clocks and resets, and for other internal or external signals, the method
for making connections is similar to the method used in XPS designs. If possible,
use the Connection Automation on external interfaces such as the
/axi_gpio_0/GPIO
interface.