3.7 Changing the address mapping
Addressable bus mappings, connections that have bold lines, have editable address maps.
Follow this procedure to change the address mapping.
Procedure
-
Double-click the
pvbus_m_range
port of
the BusDecoder component to open the Port Properties dialog.
Figure 3-10 Viewing the address mapping from the Port Properties
dialog
-
Open the Edit Connection dialog by doing either of
the following:
- Select the
Memory.pvbus
Slave
Port line, and click Edit Connection....
- Double click on the entry.
Figure 3-11 Edit Connection dialog
-
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 step maps the master port to the selected address range. If
mapping the master port to a different address range on the slave port is required, select
Enable slave port address range. Checking it
makes the parameters for the slave port editable. The default values are the same as for
the master port when the slave address range is enabled. Disabling the slave address range
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 3-12 Edit address map for master port
-
Click OK to close the
Edit Address Mapping dialog for the
Memory.pvbus
slave port.
-
Click OK to close the
Port Properties dialog.