2.8 Changing the address mapping

Addressable bus mappings, connections that have bold lines, have editable address maps.

Procedure

  1. Double-click the pvbus_m_range port of the BusDecoder component to open the Port Properties dialog.
    Figure 2-14 Viewing the address mapping from the Port Properties dialog
    Viewing the address mapping from the Port Properties dialog

  2. Open the Edit Connection dialog:
    • Select the Memory.pvbus Slave Port line, and click Edit Connection....
    • Double click on the entry.
    Figure 2-15 Edit Connection dialog
    Edit Connection dialog

  3. Select the Enable address mapping checkbox to activate the address text fields. The address mapping for the master port is shown on the left side of the Edit Connection dialog. Start, End, and Size are all editable. If one value changes, the other values are automatically updated if necessary. The equivalent LISA statement is displayed at the bottom of the Edit Connection dialog.
  4. Enter a Start address of 0x00000000 and an End address of 0x10FFFFFF in the active left-hand side of the Edit Connection dialog. The Size of 0x11000000 is automatically calculated. This maps the master port to the selected address range.
  5. If mapping the master port to a different address range on the slave port is required, select Enable slave port address range. If Enable slave port address range is checked, the parameters for the slave port can be edited. The default values are the same as for the master port when the slave address range is enabled.

    Note

    When the slave address range is disabled, this is equivalent to specifying the address range 0...size-1, and not the master address range.
    In this case, a slave port address range is not required, so deselect the Enable slave port address range checkbox.
    Figure 2-16 Edit address map for slave port
    Edit address map for slave port

  6. Click OK to close the Edit Address Mapping dialog for the Memory.pvbus slave port.
  7. Click OK to close the Port Properties dialog.
Non-ConfidentialPDF file icon PDF versionARM DUI0370S
Copyright © 2007-2014 ARM. All rights reserved.