The Vivado IDE tool uses the IP integrator for embedded development. A variety of IP are available in the Vivado IDE IP catalog to accommodate complex designs. You can also add custom IP to the IP catalog.
You can migrate a Zynq 7000 platform processor-based design into the Vivado Design Suite using the following steps.
- Generate the system infrastructure.
- Create a Vivado project with the desired board or programmable device.
- In the Flow Navigator, click IP Integrator and select Create Block Design.
- Enter the Design name: design_1. This generates the block design.
- Add the ZYNQ7 processing system and import the XML file from the XPS
design.
- In the block diagram, right-click anywhere and select Add IP to open the IP Catalog.
- In the IP catalog, double-click
ZYNQ7 Processing System. This instantiates a
processing_system7_0
instance on the block design. - Double-click the processing_system7_0 instance.
- At the top of the Re-customize IP dialog box, click Import XPS Settings.
- Click browse and select the directory of the XML file that was used for XPS.
- Click OK. Tip: Typically the XML file is located in the <XPS_Project>/data/ps7_system_prj.xml. The XML file stores information dealing with Zynq device Peripherals, MIO settings, DDR settings, and clocking including fabric clocks. You must enable AXI and other interfaces for Zynq devices manually.
- Open the MHS file and look at the processing_system7 instance parameters and
ports.
- In the Page Navigator, select the PS-PL Configuration.
- Do a search in the MHS file and set the following options based
on the options listed in the following table.
Table 1. PS/PL Configuration Options Settings Parameter or Port Exists Does Not Exist C_USE_M_AXI_GP0 = 1
GP Master AXI Interface/M AXI GP0 Interface: Selected GP Master AXI Interface/M AXI GP0 Interface: Unselected C_USE_M_AXI_GP1 = 1
GP Master AXI Interface/M AXI GP1 Interface: Selected GP Master AXI Interface/M AXI GP1 Interface: Unselected C_USE_S_AXI_GP0 = 1
GP Slave AXI Interface/S AXI GP0 Interface: Selected GP Slave AXI Interface/S AXI GP0 Interface: Unselected C_USE_S_AXI_GP1 = 1
GP Slave AXI Interface/S AXI GP1 Interface: Selected GP Slave AXI Interface/S AXI GP1 Interface: Unselected C_USE_S_AXI_HP0 = 1
HP Slave AXI Interface/S AXI HP0 Interface: Selected HP Slave AXI Interface/S AXI HP0 Interface: Unselected C_USE_S_AXI_HP1 = 1
HP Slave AXI Interface/S AXI HP1 Interface: Selected HP Slave AXI Interface/S AXI HP1 Interface: Unselected C_USE_S_AXI_HP2 = 1
HP Slave AXI Interface/S AXI HP2 Interface: Selected HP Slave AXI Interface/S AXI HP2 Interface: Unselected C_USE_S_AXI_HP3 = 1
HP Slave AXI Interface/S AXI HP3 Interface: Selected HP Slave AXI Interface/S AXI HP3 Interface: Unselected C_USE_S_AXI_ACP = 1
ACP Slave AXI Interface/S AXI ACP Interface: Selected ACP Slave AXI Interface/S AXI ACP Interface: Unselected FCLK_CLKTRIG0_N
General/Enable Clock
Triggers/FLCK_CLKTRIG0:
Selected
General/Enable Clock
Triggers/FLCK_CLKTRIG0:
Unselected
FCLK_CLKTRIG1_N
General/Enable Clock
Triggers/FLCK_CLKTRIG1:
Selected
General/Enable Clock
Triggers/FLCK_CLKTRIG1:
Unselected
FCLK_CLKTRIG2_N
General/Enable Clock Triggers/FLCK_CLKTRIG2:
Selected
General/Enable Clock Triggers/FLCK_CLKTRIG2:
Unselected
FCLK_CLKTRIG3_N
General/Enable Clock Triggers/FLCK_CLKTRIG3:
Selected
General/Enable Clock
Triggers/FLCK_CLKTRIG3:
Unselected
FCLK_RESET0_N
General/Enable Clock Resets/FCLK_RESET0_N:
Selected
General/Enable Clock Resets/FCLK_RESET0_N:
Unselected
FCLK_RESET1_N
General/Enable Clock
Resets/FCLK_RESET1_N:
Selected
General/Enable Clock
Resets/FCLK_RESET1_N:
Unselected
- In the Page
Navigator, select Clock
Configuration. Search the MHS file and set the following options
based on the selections in the following table. The Requested Frequencies are set automatically based upon the imported XML file.
Table 2. CLock Configurations Port Exists Does Not Exist FCLK_CLK0
PL Fabric
Clocks/FCLK_CLK0:
Selected
PL Fabric
Clocks/FCLK_CLK0:
Unselected
FCLK_CLK1
PL Fabric
Clocks/FCLK_CLK1:
Selected
PL Fabric
Clocks/FCLK_CLK1:
Unselected
FCLK_CLK2
PL Fabric
Clocks/FCLK_CLK2:
Selected
PL Fabric
Clocks/FCLK_CLK2:
Unselected
FCLK_CLK3
PL Fabric
Clocks/FCLK_CLK3:
Selected
PL Fabric
Clocks/FCLK_CLK3:
Unselected
- If interrupts are used:
- In the Page Navigator, select Interrupts.
-
Check Fabric Interrupts and select the interrupts used by the Zynq device.
With BSB designs, IRQ_F2P[15:0] under PL-PS Interrupts Ports were used.
Check IRQ_F2P[15:0]
under PL-PS Interrupt Ports.
- In the Re-customize IP dialog box, click OK to save the imported settings.