This section includes information about using AMD tools to customize and generate the core in the AMD Vivado™ Design Suite.
If you are customizing and generating
the core in the
Vivado IP integrator, see
the
Vivado Design Suite User Guide: Designing
IP Subsystems using IP Integrator (UG994) for
detailed information. IP integrator might auto-compute certain
configuration values when validating or generating the design. To
check whether the values do change, see the description of the
parameter in this chapter. To view the parameter value, run the
validate_bd_design command in the Tcl
console.
You can customize the IP for use in your design by specifying values for the various parameters associated with the IP core using the following steps:
- Select the IP from the IP catalog.
- Double-click the selected IP or select the Customize IP command from the toolbar or right-click menu.
For details, see the Vivado Design Suite User Guide: Designing with IP (UG896) and the Vivado Design Suite User Guide: Getting Started (UG910).
Figures in this chapter are illustrations of the Vivado IDE. The layout depicted here might vary from the current version.
The following figure shows the AMM Slave Bridge AMD Vivado™ IDE main configuration screen.
The following settings are generally applicable:
- Component Name
- The component name is used as the base name for output files generated for the module. Names must begin with a letter and can include the following characters: a to z, 0 to 9, and "_".
- AXI Protocol
- Select the AXI protocol (AXI4-Lite/AXI4).
- AXI Timeout Cycles
- Select the AXI timeout cycles:
- Select the duration of timeout counter.
- This counter kicks in when the response or acknowledge from the Avalon is not received within that time. The IP gracefully completes the AXI transaction by issuing an ERROR response.
- Address Width
- Select the address width of the slave. Set the width of the address to match the Avalon slave.
- Address Mode of Avalon Slave
- Select the type of addressing on the Avalon side.
- Byte Addressing
- AXI address is passed to Avalon as shown in the following table:
Table 1. Byte Addressing Information AXI Address Avalon Address 0x40000000 0x40000000 0x40000004 0x40000004 0x40000008 0x40000008 - Word Addressing
- Generate Avalon address on data word boundary. For a 32-bit
Avalon slave, Avalon addresses are generated as shown in the following
table:
Table 2. Word Addressing for 32-bit AXI Address Avalon Address 32'h 40000000 32'h 10000000 32'h 40000004 32'h 10000001 32'h 40000008 32'h 10000002 For a 64-bit Avalon slave, Avalon addresses are generated as in the following table:
Table 3. Word Addressing for 64-bit AXI Address Avalon Address 32'h 40000000 32'h 08000000 32'h 40000008 32'h 08000001 32'h 40000010 32'h 08000002 Note: For other AXI data widths of 128, 256, 512 and 1024, the Avalon address is right shifted by 4, 5, 6, and 7 respectively in the Word- Addressing mode.
- Avalon Slave Optional Ports
- Select the optional ports of the Avalon interface that are present (or, absent) on the
Avalon slave.
- Parameter
- Based on the presence/absence of some of the optional ports, the AMD Vivado™
IDE asks for the corresponding parameter. For example, if
the slave does not have a
readdatavalidport, then uncheck the box. The AMD Vivado™ IDE asks for the Read Latency of the slave. - Has Readdatavalid
- Select this if this port is present on the Avalon slave. If this port is not present on the Avalon slave, then uncheck this box. In this case, specify the Read Latency of the slave.
- Has Waitrequest
- If the port is present, the AMM Slave Bridge supports variable wait request using the waitrequest signal. If not present, the bridge gets configured to a fixed wait state.
- Has Response
- If this port is present, the AMM Slave Bridge translates the Avalon response to an AXI response. If not present, the bridge prepares an AXI response for all transactions.
- Has Byteenable
- Select to enable specific byte lane(s) during transfers on
interfaces of width greater than 8 bits. Each bit in byteenable corresponds to a
byte in
writedataandreaddata. - Has Burstcount
- Enable this signal if the port is present in the Avalon slave. This configures width of the burst count port. In AXI4-Lite mode, the AMM Slave Bridge drive burst length of 1 on this port.
- Has Beginbursttransfer
- Enable this signal if the port is present in the Avalon slave. This signal can be enabled only when burstcount is enabled.
- AMM Slave Address Segment
- The AMM Slave Bridge supports up to four address segments to allow different address space in the Avalon slave. Enter the ranges for address segment. No two segments can overlap. A value of 0 indicates that the entire address range is valid. For values other than 0, if the AXI transaction address doesn't fall within any of the mentioned ranges, the transaction returns a slave error response on the AXI interface and no command is generated on the Avalon interface. For example, if the address segments are customized as mentioned in the following figure, any address below 0x100 and any address from and above 0x500 reports a slave error ("SLVERR").