To complete the Memory IP design, an AXI master such as a MicroBlaze embedded processor, or an external processor is required. The following procedure lists the steps to instantiate a MicroBlaze processor into the block design.
- Select the Add IP command, type
Micro
into the search field, and select the MicroBlaze processor to add it to the design. - Click Run Block Automation to construct a
basic MicroBlaze system, and configure the settings in the dialog box as
follows:
- Preset: None (or the one that is desired)
- Local Memory: Select the required amount of local memory from pull-down menu.
- Local Memory ECC: Turn on ECC if desired.
- Cache Configuration: Select the required amount of Cache memory.
- Debug Module: Specify the type of debug module from the pull-down menu.
- Peripheral AXI Interconnect: This option must be enabled.
- Interrupt Controller: Optional.
-
Clock Connection:
Select the clock source from the pull-down menu.
The following figure shows the Run Block Automation page.
- Click OK.
The Run Block Automation adds and connects IP needed to support the MicroBlaze processor into the block design. The block design should look similar to the following figure; however, notice that the Memory IP core is not yet connected to the MicroBlaze processor.
- At the top of the design canvas, click Run Connection
Automation to connect the Memory IP core to the MicroBlaze processor. The Run Connection Automation dialog box
opens, as shown in the following figure.
- Select the
S_AXI
interface of themig_7series_0
.Note: For the UltraScale Memory IP, select theC0_DDR4_S_AXI
interface of themig_0
.The
/microblaze_0 (Cached)
option should be selected by default. - You have a choice to select either the
AXI Interconnect
or theAXI SmartConnect
for the Interconnect IP. For high bandwidth application (such as the Memory IP), the Auto option selects the AXI SmartConnect IP. - Leave the rest of the options to their default values.
- Click OK.
This instantiates an AXI Interconnect and makes the required connection between the Memory IP core and the MicroBlaze processor, as shown in the following figure.
From here you can complete any remaining connections to the design, such as connecting to an external reset source, or connecting any interrupt sources through a concat IP to the MicroBlaze processor.