
ASSUMPTIONS
Copyright 1997 3 VME/DMA USER’S GUIDE
The switch and jumpers on the MIDAS-20 board determine the board options and the
memory addresses in the VME space. These settings must be configured correctly so
there is no overlap of address space for any other boards on the VMEbus. The VME
RegisterAccess Image (VRAI) determines the address of the Universe registers. The
Universe registers can then be programmed to provide access to SCRAMNet PCI
configuration registers. Table 2-1 shows the important VME addresses after the Universe
and V3 register sets have been set up (Section 4.0).
Table 2-1 VME Starting Addresses
Device Accessed VME Starting Address
Universe register set MIDAS-20 VRAI
V3 register set (PMC slot #1) MIDAS-20 VRAI + 0x8000 + 0x2800
SCRAMNet CSRs MIDAS-20 VRAI + 0x810000
SCRAMNet Memory MIDAS-20 VRAI + 0x10000
Table 2-2 contains the recommended switch and jumper settings on the MIDAS-20 using
VME register access image address sizeA32.
Table 2-2 MIDAS-20 Board Settings
Jumper or DIP Switch Position
VME Register Access Image (VRAI) Enabled
VME Register Access Image Address
Size A32
VME64 Auto-Slot ID (AUTO ID) Disabled
SYSFAIL* Assertion (S FAIL) Disabled
VME Register Access Base Address
(BASE ADDR) Base address of any free 9 MB block
of VME A32 addresses
2.3 Register Configuration
For any transfers to the SCRAMNet PMC adapter, the Universe VME interface acts as a
VMEbus Slave and the PCI interface acts as a PCI Master. In this example, the Universe
register set is mapped to A32 at 14000000 hex (14 hex is set on the VRAI Base Address
DIP switch). The VME Slave Images in the Universe register set are configured to
provide access to SCRAMNet PCI configuration space (V3 registers). Next, the V3
register set is accessed and configured (VME address 1400a800 hex for PMC Slot #1 in
this example) to allow access to SCRAMNet memory and CSRs.
2.4 SCRAMNet+Card Settings
All examples assume that the SCRAMNet+card’s memory is accessed at VME address
14010000 hex. The SCRAMNet+CSR VME address is at 14810000 hex. The
SCRAMNet PMC card’s CSRs are always at an 800000 hex (8 MB) offset from the
SCRAMNet memory base address. Both SCRAMNet memory and SCRAMNet CSRs
generally reside in the same VME address space.
The VME A32 space is used in these examples for both SCRAMNet memory and CSRs.