Qsys System Design Tutorial

ID 683378
Date 5/04/2015
Public
Document Table of Contents

1.4.1.2. Add a Pipeline Bridge

The components that make up the data pattern generator include several Avalon-MM slave interfaces. To allow a higher-level system to access the Avalon-MM slave interfaces by reading and writing to a single slave interface, you can consolidate the slave interfaces behind an Avalon-MM pipeline bridge, and export a single Avalon-MM slave interface out of the system.

To determine the required address width for a bridge, you must know the required addresses span of the other components in the system. Memory-mapped component interfaces outside the system address each interface in the system by specifying a memory offset value relative to the base address of the bridge.

A pipeline bridge can also improve system timing performance by optionally adding pipeline registers to the design.

  1. In the Library search box, type bridge to filter the component list and show only bridge components.
  2. Select Avalon-MM Pipeline Bridge, and then click Add.
  3. In the parameter editor, under Parameters, type 11 for the Address width.
    This width accommodates the memory span of all memory-mapped components behind the bridge in this system. As you add the other components in the system, you specify their base addresses within the span of the address space.
  4. Accept all other default settings, and then click Finish.
    The pipeline bridge is added to your system with the instance name mm_bridge_0.
  5. On the System Contents tab, right-click mm_bridge_0, click Rename, and then type mm_bridge.
  6. In the Clock column for the mm_bridge clk interface, select clk_0 from the list.
  7. To export the mm_bridge s0 interface, double-click the Export column, and then type slave.