2.8. Changing the address mapping

All addressable bus mappings, that is connections that have bold lines, are parameterized by editable address maps.

  1. Double-click the pvbus_m_range port of the BusDecoder component to open the Port Properties dialog for the port, shown in Figure 2.14.

    Figure 2.14. Viewing the address Mapping from the Port Properties dialog

    Viewing the address Mapping from the Port Properties dialog

  2. Select the Memory.pvbus Slave Port line, and click Edit Connection... to open the Edit Connection dialog shown in Figure 2.15.

    Figure 2.15. Edit Connection dialog

    Edit Connection dialog

    You can also double-click on the entry to open the 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.

    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.

  4. If mapping the master port to a different address space 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 as shown in Figure 2.16. The default values are the same as for the master port. In this tutorial, 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

  5. Click OK to close the Edit Address Mapping dialog for the Memory.pvbus slave port.

  6. Click OK to close the Port Properties dialog.

Copyright © 2007-2010 ARM Limited. All rights reserved.ARM DUI 0370K
Non-ConfidentialID110210