VXI SM8000 user manual Programming, Register Access, Addressing, then, Section

Models: SM8000

1 74
Download 74 pages 4.14 Kb
Page 37
Image 37
PROGRAMMING

VXI Technology, Inc.

SECTION 4

PROGRAMMING

REGISTER ACCESS

The SMIP II optical modules are VXIbus register-based devices. Register-based programming is a series of reads and writes directly to the switch module registers. This eliminates the time for command parsing thus increasing speed.

ADDRESSING

The VTI switching modules utilize either the A24 or A32 space of the shared-memory architecture. To read or write to a module register, a register address needs to be specified. This is done by using the offset value (assigned by the resource manager) and multiplying it by 256 or 64 k to get the base address in A24 or A32 address space, respectively

A24 Base Address = Offset value * 0x00FF (or 256)

A32 Base Address = Offset value * 0xFFFF (or 65,535)

The A24 or A32 offset value, assigned by the resource manager, can also be accessed by reading the A16 Offset Register. To address the A16 Offset Register use the following formula:

A16 Base Address = (Logical Address * 64) + 0xC000 (or 49,152)

then

A16 Offset Register Address = A16 Base Address + 6

See following for the A16 Memory Map and the A24/A32 address space allocation.

SM8000 Series Programming

37

Page 37
Image 37
VXI SM8000 user manual Programming, Register Access, Addressing, then, Section