Setting Up The Master Bus Memory Map; Example; Setting Up A24/A32 Slave Images On The Bus - Performance Computer PT-VME161 User Manual

Extensible single board computer/controller
Table of Contents

Advertisement

Setting Up the Master Bus Memory Map

When the host accesses the VMEbus, the address used by the CPU determines the address and data
modes the SCV64 will use to perform the cycle. All outgoing VMEbus accesses are affected by a
programmed memory map. See "SCV64 Memory Map" on page 100. Memory Map Pages 1-30 are dedi-
cated to A32 space, while pages 0 and 31 can be customized by the following steps:
!
CAUTION: For PTI products, one must set bit 31 of the address to specify that it is a VME address. The
PAGE bit in the Control Register is then used as bit 31 of the VME address before being used by the
SCV64. From this point forward, all address references will be in respect to what the SCV64 sees.
Step 1
Make sure the system is not in BI-mode (refer to steps 6-9 of Setting Up A24/A32 Slave
Images) if VMEbus accesses are desired.
Step 2
Clear the A16DI bit in the SCV64 Mode Control Register, if the A16 region is desired; set
this bit to disable A16 space, in which case that address range becomes A32. When A16
space is enabled, the local CPU can access the region by using the address range
FFFF0000h-FFFFFFFF. The low four bytes constitute the actual VME address of the 16-
bit device, while the upper four bytes tells the SCV64 to generate a D16 address modifier.
Step 3
Clear the SCV64 Mode Control Register, A24DI bit to enable A24 space; set this bit to
disable the A24 space programmed in the memory map which causes that space to become
A32.
Step 4
Set the SCV64 Mode Control Register, A24PO bit to assign page 31 as A24 space; clear it
to locate A24 space in page 0. Addresses 00000000h-00FFFFFFh (if in page 0) and
F8000000h-F8FFFFFFh (if in page 31) are used to perform an A24:D16 cycle. Addresses
01000000h- 01FFFFFFh (if in page 0) and F9000000h-F9FFFFFFh (if in page 31) are used
to perform an A24:D32 cycle.

Example:

To set up a master memory map with A16 disabled and A24 space located at page 0, perform the
following steps:
Step 1
Exit BI-mode if VMEbus accesses are desired. Follow steps 7-9 of the section "Setting Up
A24/A32 Slave Images on the Bus" in this appendix.
Step 2
Set SCV64 Mode Control Register A16DI bit to disable the A16 space.
Step 3
Clear SCV64 Mode Control Register A24DI bit to enable the A24 space.
Step 4
Set SCV64 Mode Control Register A24P0 bit to locate the A24 space at 00xxxxxxh of
VME space.

Setting Up A24/A32 Slave Images on the Bus

In order for other boards in a VMEbus system to access the host's DRAM, the following steps must be
taken to present a slave image onto the bus:
Step 1
Program SCV64 VMEbus Slave Base Address Register with appropriate A24 and/or A32
image size and base address value according to the register description.
Extensible Single Board Computer/Controller User's Manual 105
Performance Computer

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the PT-VME161 and is the answer not in the manual?

Table of Contents