Systran SCRAMNet SC150 Application guide

SC150 PCI Bus
Hardware Reference
Document No. D-T-MR-PCI#####-A-0-A8


FOREWORD
The information in this document has been carefully checked and is believed to be accurate; however, no
responsibility is assumed for inaccuracies. Systran reserves the right to make changes without notice.
Systran makes no warranty of any kind with regard to this printed material, including, but not limited to,
the implied warranties of merchantability and fitness for a particular purpose.
ãCopyright 2003 Systran Corporation. All Rights Reserved.
SCRAMNetis a registered trademark of Systran Corporation. US Patent # 4,928,289
STis a registered trademark of AT&T.
Any reference made within this document to equipment from other vendors does not constitute an
endorsement of their product(s).
Revised: April 25, 2003
S
y
stran Corporation
4126 Linden Avenue
Dayton, OH 45432-3068 USA
(800) 252-5601 (U.S. only)
(937) 252-5601

FCC
This product is intended for use in industrial, laboratory or military environments. This product uses and
emits electromagnetic radiation, which may interfere with other radio and communication devices. The
user may be in violation of FCC regulations if this device is used in other than the intended market
environments.
CE
As a component part of another system, this product has no intrinsic function and is therefore not subject
to the European Union CE EMC directive 89/336/EEC.

TABLE OF CONTENTS
1. INTRODUCTION ...............................................................................................................................1-1
1.1 How To Use This Manual....................................................................................................1-1
1.1.1 Purpose.............................................................................................................1-1
1.1.2 Scope................................................................................................................1-1
1.1.3 Style Conventions..............................................................................................1-1
1.2 Related Information.............................................................................................................1-1
1.3 Quality Assurance ...............................................................................................................1-1
1.4 Technical Support ...............................................................................................................1-2
1.5 Ordering Process.................................................................................................................1-3
2. SCRAMNET NETWORK....................................................................................................................2-1
2.1 Overview............................................................................................................................2-1
2.2 Shared Memory...................................................................................................................2-1
2.2.1 Dual Port Memory Controller ............................................................................2-1
2.2.2 Control/Status Registers (CSRs).........................................................................2-3
2.2.3 Virtual Paging ...................................................................................................2-3
2.3 FIFO Buffers.......................................................................................................................2-3
2.3.1 Transmit FIFO...................................................................................................2-3
2.3.2 Transceiver FIFO ..............................................................................................2-3
2.3.3 Interrupt FIFO...................................................................................................2-3
2.3.4 Receiver FIFO...................................................................................................2-3
2.4 Network Ring......................................................................................................................2-4
2.4.1 Protocol ............................................................................................................2-4
2.5 Auxiliary Control RAM (ACR)............................................................................................2-5
2.6 Interrupts ............................................................................................................................2-5
2.6.1 Network Interrupt Writes...................................................................................2-6
2.6.2 Selected Interrupt ..............................................................................................2-6
2.6.3 Forced Interrupt.................................................................................................2-7
2.7 External Triggers.................................................................................................................2-8
2.8 General Purpose Counter/Global Timer................................................................................2-8
2.9 LED Status Indicators..........................................................................................................2-9
2.9.1 Network Access ................................................................................................2-9
2.9.2 Internal Access..................................................................................................2-9
2.10 Modes of Operation...........................................................................................................2-9
2.10.1 Data Filter Mode .............................................................................................2-9
2.10.2 High Performance (HIPRO) Mode .................................................................2-10
2.10.3 Holdoff Mode................................................................................................2-10
2.10.4 Loopback Modes ...........................................................................................2-10
2.10.5 Write-Me-Last Mode.....................................................................................2-11
3. PRODUCT OVERVIEW .....................................................................................................................3-1
3.1 Overview............................................................................................................................3-1
3.2 Network Features ................................................................................................................3-1
3.3 Options...............................................................................................................................3-2
3.4 PCI Board Features .............................................................................................................3-2
3.5 PCI Specification Level.......................................................................................................3-2
3.6 Hardware ............................................................................................................................3-2
3.7 PCI Controller.....................................................................................................................3-3
3.8 PC Software........................................................................................................................3-3
3.9 Utility Software...................................................................................................................3-3
3.9.1 SCRAMNet Diagnostics....................................................................................3-3
3.9.2 EEPROM Initialization (EPI).............................................................................3-3
3.9.3 SCRAMNet Monitor .........................................................................................3-3
3.10 Options .............................................................................................................................3-3
3.10.1 Electronic Bypass Switch.................................................................................3-3
3.10.2 Quad Switch....................................................................................................3-4
Copyright 2003 i SCRAMNet+ SC150 PCI HARDWARE REFERENCE

TABLE OF CONTENTS
4. INSTALLATION.................................................................................................................................4-1
4.1 Installation Procedures ........................................................................................................4-1
4.2 Unpack the Board................................................................................................................4-2
4.3 VisualIy Inspect the Board...................................................................................................4-2
4.3.1 DEC-specific Board...........................................................................................4-2
4.3.2 Non-specific Board............................................................................................4-2
4.3.3 Check SIMM Connections.................................................................................4-4
4.3.4 Media Card .......................................................................................................4-4
4.4 External Configuration ........................................................................................................4-5
4.4.1 Set/Verify VLEN and EEPROM Jumpers..........................................................4-5
4.4.2 Set/Verify Memory Jumper (J2)........................................................................4-5
4.4.3 Set/Verify Ground Jumper (J305).......................................................................4-6
4.4.4 External Triggers...............................................................................................4-6
4.5 Install the Board..................................................................................................................4-7
4.6 Cabling Options ..................................................................................................................4-7
4.6.1 Coaxial Cable Configuration..............................................................................4-7
4.6.2 Fiber-optic Configuration ..................................................................................4-7
4.6.3 Fiber-optic Cables .............................................................................................4-7
4.6.4 Fiber-optic Connection ......................................................................................4-9
4.7 Auxiliary Connection ........................................................................................................4-10
4.8 Internal Configuration .......................................................................................................4-11
4.8.1 SCRAMNet+ SC150 Control/Status Registers (CSR) .......................................4-11
4.8.2 EEPROM Initialization....................................................................................4-12
4.8.3 Node Identification..........................................................................................4-12
4.8.4 Network Time-out ...........................................................................................4-12
4.8.5 Memory Addressing ........................................................................................4-13
4.8.6 Shared Memory...............................................................................................4-13
4.9 Byte Swapping..................................................................................................................4-13
4.10 DMA Operation ..............................................................................................................4-14
4.11 Maintenance....................................................................................................................4-14
4.12 Troubleshooting ..............................................................................................................4-14
4.12.1 LED Indicators..............................................................................................4-14
4.12.2 Hardware ......................................................................................................4-15
4.12.3 Customer Support..........................................................................................4-15
5. OPERATION.......................................................................................................................................5-1
5.1 Introduction ........................................................................................................................5-1
5.2 Shared Memory...................................................................................................................5-1
5.2.1 Virtual Paging ...................................................................................................5-1
5.2.2 Memory Considerations.....................................................................................5-3
5.2.3 Control/Status Registers.....................................................................................5-3
5.3 Initialization........................................................................................................................5-3
5.4 Basic Send/Receive Configuration .......................................................................................5-4
5.5 Network Ring......................................................................................................................5-4
5.5.1 Message Contents..............................................................................................5-4
5.5.2 Protocol ............................................................................................................5-5
5.5.3 Performance ......................................................................................................5-6
5.5.4 Throughput .......................................................................................................5-7
5.6 Auxiliary Control RAM.......................................................................................................5-8
5.7 Interrupt Controls................................................................................................................5-9
5.7.1 Interrupt Options ...............................................................................................5-9
5.8 Interrupt Conditions ..........................................................................................................5-10
5.8.1 Network Data Write.........................................................................................5-10
5.8.2 Network Error .................................................................................................5-14
5.8.3 Interrupt Handling...........................................................................................5-14
5.9 External Triggers...............................................................................................................5-15
5.10 General Purpose Counter/Timer.......................................................................................5-16
5.10.1 Available Modes............................................................................................5-16
5.10.2 Rollover/Reset...............................................................................................5-17
5.10.3 Presetting Values...........................................................................................5-17
5.11 Modes of Operation.........................................................................................................5-17
5.11.1 Data Filter .....................................................................................................5-17
5.11.2 HIPRO Mode ................................................................................................5-18
Copyright 2003 ii SCRAMNet+ SC150 PCI HARDWARE REFERENCE

TABLE OF CONTENTS
5.11.3 Loopback Modes ...........................................................................................5-19
5.11.4 Holdoff Mode................................................................................................5-25
5.11.5 Write-Me-Last Mode.....................................................................................5-27
5.12 Quad Switch....................................................................................................................5-27
APPENDICES
APPENDIX A. SPECIFICATIONS ........................................................................................................A-1
APPENDIX B. CSR DESCRIPTIONS ....................................................................................................B-1
APPENDIX C. CSR SUMMARY ..........................................................................................................C-1
APPENDIX D. CONFIGURATION AIDS..............................................................................................D-1
GLOSSARY .........................................................................................................................GLOSSARY-1
INDEX..........................................................................................................................................INDEX-1
Copyright 2003 iii SCRAMNet+ SC150 PCI HARDWARE REFERENCE

TABLE OF CONTENTS
FIGURES
Figure 2-1 Functional Diagram.................................................................................................................2-2
Figure 2-2 ACR/Memory Access..............................................................................................................2-5
Figure 2-3 Outgoing Interrupt...................................................................................................................2-7
Figure 2-4 Incoming Interrupt ..................................................................................................................2-7
Figure 3-1 SC150 PCI Board, Version C1.................................................................................................3-2
Figure 3-2 Node Inclusion and Isolation ...................................................................................................3-4
Figure 4-1 SC150 PCI Layout ..................................................................................................................4-3
Figure 4-2 SIMM Installation ...................................................................................................................4-4
Figure 4-3 Fiber-optic Media Card (Bottom view).....................................................................................4-4
Figure 4-4 VLEN and EEPROM Jumpers (J3) ..........................................................................................4-5
Figure 4-5 Memory Jumper (J2) ...............................................................................................................4-5
Figure 4-6 Ground Jumper (J305).............................................................................................................4-6
Figure 4-7 External Trigger Connections (J2)............................................................................................4-6
Figure 4-8 Fiber-optic ST Connector ........................................................................................................4-8
Figure 4-9 Fiber-Optic Connections..........................................................................................................4-9
Figure 4-10 Inserted State (Power On)......................................................................................................4-9
Figure 4-11 Bypass State (Power Off).....................................................................................................4-10
Figure 4-12 Auxiliary Connection ..........................................................................................................4-10
Figure 4-13 LED Indicators....................................................................................................................4-15
Figure 5-1 Memory Sharing With Virtual Paging......................................................................................5-2
Figure 5-2 Transmit Interrupt Logic........................................................................................................5-11
Figure 5-3 Receive Interrupt Logic .........................................................................................................5-13
Figure 5-4 Data Filter Logic ...................................................................................................................5-18
Figure 5-5 Monitor and Bypass Mode.....................................................................................................5-20
Figure 5-6 Wire Loopback Mode............................................................................................................5-21
Figure 5-7 Mechanical Switch Loopback Mode ......................................................................................5-22
Figure 5-8 Fiber-optic Loopback Mode...................................................................................................5-23
Figure 5-9 Insert Mode...........................................................................................................................5-25
Figure 5-10 Quad Switch........................................................................................................................5-26
Figure 5-11 Interrupt Service Routine.....................................................................................................5-28
Copyright 2003 iv SCRAMNet+ SC150 PCI HARDWARE REFERENCE

TABLE OF CONTENTS
TABLES
Table 4-1 Trigger Pin Connections (J2).....................................................................................................4-6
Table 4-2 External Trigger Actions...........................................................................................................4-6
Table 4-3 Auxiliary Connection Pinout...................................................................................................4-10
Table 4-4 SCRAMNet+ SC150 Control/Status Registers.........................................................................4-11
Table 4-5 EEPROM Table.....................................................................................................................4-12
Table 4-6 EEPROM Initialization..........................................................................................................4-12
Table 4-7 Byte Ordering Comparisons....................................................................................................4-13
Table 4-8 PCI_MAP0/PCI _MAP1 Swapping Options............................................................................4-14
Table 4-9 LED 1 and LED 2 Definitions.................................................................................................4-15
Table 5-1 SCRAMNet+ Message Contents ...............................................................................................5-4
Table 5-2 ACR Functions.........................................................................................................................5-8
Table 5-3 Interrupt Controls .....................................................................................................................5-9
Table 5-4 Interrupt Error/Status Conditions.............................................................................................5-14
Table 5-5 General Purpose Counter/Timer Modes...................................................................................5-16
Table 5-6 Data Filter Options .................................................................................................................5-17
Table 5-7 Monitor and Bypass Mode States ............................................................................................5-20
Table 5-8 Wire Loopback Mode States...................................................................................................5-21
Table 5-9 Mechanical Switch Loopback Mode States..............................................................................5-22
Table 5-10 Fiber-optic Loopback Mode States........................................................................................5-23
Table 5-11 Node Insert Mode.................................................................................................................5-24
Copyright 2003 v SCRAMNet+ SC150 PCI HARDWARE REFERENCE

TABLE OF CONTENTS
This page intentionally left blank
Copyright 2003 vi SCRAMNet+ SC150 PCI HARDWARE REFERENCE

1. INTRODUCTION
1.1 How To Use This Manual
1.1.1 Purpose
This document is a reference manual for the SCRAMNet+ SC150 PCI host interface
board. It provides a physical and functional description of the SCRAMNet+ SC150 PCI
board. The manual describes how to unpack, set up, install and operate the hardware.
1.1.2 Scope
This information is intended for systems designers, engineers and network installation
personnel. You need at least a systems level understanding of general computer
processing, of memory and hardware operation, and of the specific host processor to
effectively use this manual.
1.1.3 Style Conventions
• Hexadecimal values are written with a “0x” prefix. For example, 0x03FF
• Switch, signal and jumper abbreviations are in capital letters. For example,
RSW1, J5, etc.
• Register bits and bit ranges are specified by the register identification followed
by the bit or range of bits in brackets [ ]. For example, CSR6[4], CSR3[15:0],
ACR[1,2]
• Bit values are shown in single-quotes. For example, set bit 15 to ‘1’
1.2 Related Information
• SCRAMNet Network Programmer’s Reference Guide (Doc. Nr. D-T-MR-
PROGREF) - A collection of routines to assist SCRAMNet users with
application development.
• SCRAMNet Network Utilities User Manual (Doc. Nr. C-T-MU-UTIL) - A user’s
manual for the SCRAMNet Classic, SCRAMNet-LX, and SCRAMNet+ SC150e
hardware diagnostic software, SCRAMNet+ SC150e EEPROM initialization
software, and the SCRAMNet Network Monitor.
• SCRAMNet Network Media User’s Guide (Doc. Nr. D-T-MU-MEDIA)—A
description of network cabling hardware accessories for the SCRAMNet+
SC150e Network.
• All documentation related to the V360EPC PCI Bridge chip, including register
specification can be obtained from the V3 Semiconductor Inc. web site at
http://www.vcubed.com under Products, V3xxEPC, Documentation.
1.3 Quality Assurance
Systran Corporate policy is to provide our customers with the highest quality products
and services. In addition to the physical product, the company provides documentation,
sales and marketing support, hardware and software technical support, and timely product
delivery. Our quality commitment begins with product concept, and continues after
receipt of the purchased product.
Copyright 2003 1-1 SCRAMNet+ SC150 PCI HARDWARE REFERENCE

INTRODUCTION
Systran’s Quality System conforms to the ISO 9001 international standard for quality
systems. ISO 9001 is the model for quality assurance in design, development, production,
installation and servicing. The ISO 9001 standard addresses all 20 clauses of the ISO
quality system, and is the most comprehensive of the conformance standards.
Our Quality System addresses the following basic objectives:
• Achieve, maintain and continually improve the quality of our products through
established design, test, and production procedures.
• Improve the quality of our operations to meet the needs of our customers,
suppliers, and other stakeholders.
• Provide our employees with the tools and overall work environment to fulfill,
maintain, and improve product and service quality.
• Ensure our customer and other stakeholders that only the highest quality product
or service will be delivered.
The British Standards Institution (BSI), the world’s largest and most respected
standardization authority, assessed Systran’s Quality System. BSI’s Quality Assurance
division certified we meet or exceed all applicable international standards, and issued
Certificate of Registration, number FM 31468, on May 16, 1995. The scope of Systran’s
registration is: “Design, manufacture and service of high technology hardware and
software computer communications products.” The registration is maintained under BSI
QA’s bi-annual quality audit program.
Customer feedback is integral to our quality and reliability program. We encourage
customers to contact us with questions, suggestions, or comments regarding any of our
products or services. We guarantee professional and quick responses to your questions,
comments, or problems.
1.4 Technical Support
Technical documentation is provided with all of our products. This documentation
describes the technology, its performance characteristics, and includes some typical
applications. It also includes comprehensive support information, designed to answer any
technical questions that might arise concerning the use of this product. We also publish
and distribute technical briefs and application notes that cover a wide assortment of
topics. Although we try to tailor the applications to real scenarios, not all possible
circumstances are covered.
Although we have attempted to make this document comprehensive, you may have
specific problems or issues this document does not satisfactorily cover. Our goal is to
offer a combination of products and services that provide complete, easy-to-use solutions
for your application.
If you have any technical or non-technical questions or comments, contact us. Hours of
operation are from 8:00 a.m. to 5:00 p.m. Eastern Standard/Daylight Time.
• Phone: (937) 252-5601 or (800) 252-5601
• E-mail: support@systran.com
• Fax: (937) 252-1349
• World Wide Web address: www.systran.com
Copyright 2003 1-2 SCRAMNet+ SC150 PCI HARDWARE REFERENCE

INTRODUCTION
1.5 Ordering Process
To learn more about Systran products or to place an order, please use the following
contact information. Hours of operation are from 8:00 a.m. to 5:00 p.m. Eastern
Standard/Daylight Time.
• Phone: (937) 252-5601 or (800) 252-5601
• E-mail: info@systran.com
• World Wide Web address: www.systran.com
Copyright 2003 1-3 SCRAMNet+ SC150 PCI HARDWARE REFERENCE

INTRODUCTION
This page intentionally left blank
Copyright 2003 1-4 SCRAMNet+ SC150 PCI HARDWARE REFERENCE

2. SCRAMNET NETWORK
2.1 Overview
The SCRAMNet+ Network is a real-time communications network, based on a
replicated, shared-memory concept. Each host processor on the network has access to its
own local copy of shared memory that is updated over a high-speed, serial-ring network.
The network is optimized for the high-speed transfer of data among multiple, real-time
computers that are all solving portions of the same real-time problem. The SCRAMNet+
node board can automatically filter out redundant data.
2.2 Shared Memory
In its simplest form, the SCRAMNet+ Network system is designed to appear as general-
purpose memory. The use of this memory depends only on the conventions and
limitations imposed by the specific host computer system and operating system. On most
processors, this means that the application program can use this memory in basically the
same way as any other data-storage area of memory. The memory cannot be used as
instruction space.
The major difference between SCRAMNet+ memory and system memory is that any data
written into SCRAMNet+ memory is automatically sent to the same SCRAMNet+
memory location in all nodes on the network. This is why it is also referred to as
replicated shared memory. A good analogy is the COMMON AREA used by the
FORTRAN programming language. Where the COMMON AREA makes variables
available to subroutines of a program, SCRAMNet+ makes variables available to
processors of a network.
When a host computer writes to the shared memory, the proper handshaking logic is
supplied by the SCRAMNet+ node host adapter. The shared memory behaves somewhat
like resident or local memory.
A software driver is usually not required except for interrupt handling.
2.2.1 Dual Port Memory Controller
The Dual Port Memory Controller (see Figure 2-1) allows the host to read from or write
to shared memory with a simultaneous network write to shared memory. Unless an
interrupt has been authorized for that memory address, the host is not aware the network
is writing to shared memory. This is why caching must be disabled for SCRAMNet
memory. If an interrupt has been authorized, the interrupt will then be sent to the host
processor.
Copyright 2003 2-1 SCRAMNet+ SC150 PCI HARDWARE REFERENCE

SCRAMNET NETWORK
NODE
IN
NODE
OUT
Interrupt
FIFO
Transceiver
FIFO
Receiver
Network
ControlLogic
Transmitter
Replicated
Shared
Memory
Transmit
FIFO
Dual
Port
Memory
Host
Interface
Logic
AllReads
AllReads
AllWrites
ASIC
Port1-Host
Port2Network
P1
Figure 2-1 Functional Diagram
Copyright 2003 2-2 SCRAMNet+ SC150 PCI HARDWARE REFERENCE

SCRAMNET NETWORK
2.2.2 Control/Status Registers (CSRs)
The operation of the SCRAMNet+ board is controlled by Input/Output (I/O) CSRs. The
location of the CSRs in the computer’s address space is determined by the plug-and play
BIOS in the host system. Address offsets for the CSRs can be found in Chapter 4,
INSTALLATION.
Most modes of operation are set during initialization in registers embedded in the PCI
target controller, and remain unchanged during run time.
2.2.3 Virtual Paging
The SCRAMNet+ network may include a variety of SCRAMNet+ nodes having varying
amounts of shared memory. All SCRAMNet+ nodes use the same 8 MB shared memory
map. This feature permits different SCRAMNet+ boards with 4 MB of shared memory or
less to be paged into different sections of the 8 MB memory map. A board with a 4 MB
or smaller memory may be located on any shared-memory address boundary that is an
even multiple of itself (for example, 2 MB can page to 0, 2, 4 or 6 MB address).
2.3 FIFO Buffers
The SCRAMNet+ board contains various FIFO buffers used for temporarily storing
information during normal send and receive operation of the node. Refer to Figure 2-1.
2.3.1 Transmit FIFO
The Transmit FIFO is a message holding area for native messages waiting to be
transmitted. Each host write to SCRAMNet+ memory may constitute a write to the
Transmit FIFO. (Data Filtering and HIPRO features may interfere with this.) Each write
to the Transmit FIFO contains 21 bits of address (A22-A2), 32 bits of data, and one bit of
interrupt information. The Transmit FIFO can hold up to 1024 writes before becoming
full.
When the Transmit FIFO reaches a FULL condition (CSR1[0] ON), one more host write
could cause a message to be lost. To prevent this, the CSR-controllable, built-in
SCRAMNet+ feature called HOLDOFF mode extends the computer write cycle until the
Transmit FIFO is able to empty at least one message.
2.3.2 Transceiver FIFO
This buffer is used to receive foreign messages from the network, and send them on, or to
hold received foreign messages while inserting a native message from the host onto the
network.
Each node is responsible for receiving foreign messages, writing them to its copy of
shared memory, and re-transmitting the message to the next node.
2.3.3 Interrupt FIFO
The Interrupt FIFO contains a 21-bit address (A22 - A2) and a retry-status bit for each
shared-memory-based interrupt received. The Interrupt FIFO can hold 1024 interrupt
addresses. This FIFO can be read using CSR4 and CSR5.
2.3.4 Receiver FIFO
The Receiver FIFO is designed as a temporary holding place for incoming foreign
messages while the shared memory is busy servicing a host request. This FIFO is three
messages deep, and is designed so it can never be overrun. Each item in the Receiver
Copyright 2003 2-3 SCRAMNet+ SC150 PCI HARDWARE REFERENCE

SCRAMNET NETWORK
FIFO contains 21 bits of address (A22 - A2), 32 bits of data, and one incoming interrupt
bit. When the messages are 1024 bytes, the initial header information data stays in the
FIFO, the subsequent 4 bytes of data are loaded in, and the address is incremented by
four.
2.4 Network Ring
The SCRAMNet+ Network is a ring topology network. Data is transmitted at a rate of
150 Mbits/s over dual fiber-optic cables. The two lines together produce the incoming
data clock. Due to the network speed and message packet size, the network can
accommodate over 1,800,000 message packets passing by each node every second. There
is an approximate 247 ns (minimum) delay at each node as the message packet works its
way around the ring. The maximum delay depends on the selection of fixed-length or
variable-length message packets. A fixed-length message packet has a maximum delay of
800 ns, a 256-byte variable-length message packet is 16.2 µs, and a 1024-byte variable-
length message packet is 62 µs. Delay can be imposed when a node must complete the
transmission of a native message packet before retransmitting a foreign message packet.
A SCRAMNet+ Network can accommodate up to 256 nodes per network ring.
2.4.1 Protocol
The protocol is a register-insertion methodology and is NOT a token ring. Depending on
the protocol selected, all message packets are the same size or are variable (as in the
PLUS modes), and multiple nodes can transmit data simultaneously. There is no master
node, and all nodes have equal priority for network bandwidth. The message protocol is
designed specifically for real-time applications where data must be passed very rapidly.
When the node operates in BURST or BURST PLUS mode, the node will never re-
transmit its own messages for error correction. When operating in PLATINUM or
PLATINUM PLUS mode, error detection is enabled, and re-transmission can occur.
BURST MODE
BURST mode is an open loop, non-error-corrected communication mode. This mode
allows multiple 82-bit messages (46-bit header plus 32-bite data and four parity bits) per
node on the ring at a time. The limited-message-packet length enhances the data latency
characteristics of the network by providing the shortest possible media access delay. The
messages are transmitted as fast as the system will allow.
PLATINUM MODE
PLATINUM mode is BURST mode with error correction enabled. The messages are
transmitted as fast as the system will allow, but error checking is used to detect and re-
transmit corrupted message packets.
PLUS MODES
The PLUS mode protocol enhancement can increase the maximum network throughput
from 6.5 MB/sec to approximately 15.2 to 16.7 MB/sec by the use of variable-length
message packets. Each SCRAMNet+ message packet has a 46-bit header plus the data.
The user-selectable maximum message packet size increases the data size from the
normal 32 bits to either 256 or 1024 bytes of data. Data must be written to sequential
longword addresses.
Copyright 2003 2-4 SCRAMNet+ SC150 PCI HARDWARE REFERENCE

SCRAMNET NETWORK
2.5 Auxiliary Control RAM (ACR)
The Auxiliary Control RAM (ACR) provides a method of external triggering and
interrupt control by offering a choice of four actions to occur when a particular
SCRAMNet+ shared-memory address is written into. Each shared-memory location has
its own action or set of actions associated with it.
0
1
Shared Memory
ACR Memory
CSR0[4]
Host READ/WRITE
request to a specific
32-bit memory address
Byte 0 Byte 1
Byte 2 Byte 3
Byte 0
PHYSICAL
MEMORY CHIP
DOES NOT
REALLY EXIST
LEGEND
Figure 2-2 ACR/Memory Access
In Figure 2-2, host CPU read/write operations are channeled to either SCRAMNet+
memory or to the ACR. The ACR is a physically separate memory from the shared
memory. Channeling is based on a user-controlled switch setting and may be toggled to
the desired position by writing to a bit in the SCRAMNet+ CSR. When access to the
ACR is enabled, shared memory is not accessible by the host and the ACR byte is viewed
as the least significant byte (LSB) of every shared-memory four-byte address. The ACR
bits define what external trigger and/or interrupt action(s) are to be taken whenever
writing to any byte of the SCRAMNet+ shared memory 4-byte word.
Only five bits of the ACR are associated with every four-byte word of shared memory
(on even four-byte boundaries). The other 27 bits of the ACR are phantom bits and do not
physically exist.
2.6 Interrupts
SCRAMNet+ allows a node processor to receive interrupts from and transmit interrupts
to any node on the network, including the originating node, provided the receiving node
is set up to receive an interrupt message. Interrupts can be generated under two different
conditions:
• SCRAMNet+ Network data writes to shared memory; and
• SCRAMNet+ network errors detected on the local node.
SCRAMNet+ interrupts usually require a device driver to interface with the node
processor. The driver is required primarily to permit the host processor to handle
interrupts from the SCRAMNet device.
Copyright 2003 2-5 SCRAMNet+ SC150 PCI HARDWARE REFERENCE

SCRAMNET NETWORK
2.6.1 Network Interrupt Writes
FOREIGN MESSAGE
The node can receive a message from another node with the interrupt bit set. If Receive
Interrupt Enable ACR[0] and Interrupt Mask Match Enable CSR0[5] are enabled, the
data is written to shared memory and the address is placed on the Interrupt FIFO.
NATIVE MESSAGE
If the message received was originated by the node, and Write Own Slot Enable CSR2[9]
and Enable Interrupt on Own Slot CSR2[10] are enabled, the host has authorized a Self-
Interrupt. The data is written to shared memory and the address is placed on the Interrupt
FIFO.
Network Interrupt writes can be accomplished by two methods:
• Selected. Data writes to selected shared memory locations from the network.
• Forced. Any data writes to any shared memory from the network.
In either case, the node can be configured to write to itself. This condition is called “Self
Interrupt”.
2.6.2 Selected Interrupt
The selected-interrupt method requires choosing SCRAMNet+ shared-memory locations
on each node to receive and/or to transmit interrupts. These shared-memory locations
may also be used to generate signals to external triggers. The procedure for selecting
shared-memory locations for interrupts and/or external triggers is explained in the
paragraph on the Auxiliary Control RAM, paragraph 2.5.
OUTGOING INTERRUPT
The Outgoing Interrupt is described in Figure 2-3. If both Transmit Interrupt Enable
ACR[1] and Network Interrupt Enable CSR0[8] are set, and a data item is transmitted to
any of the selected-interrupt memory locations, then an interrupt message is sent out on
the network. This message will generate interrupts to any processors on the network that
have that same shared-memory location selected to receive interrupts.
INCOMING INTERRUPT
Figure 2-4 demonstrates the process of receiving a message with the interrupt bit set. The
data is written to shared memory and the address is placed in CSR5 and CSR4 to await
being sent to the host. If the Receive Interrupt Enable ACR[0], Host Interrupt Enable
CSR0[3], and the Interrupt Memory Mask Match Enable CSR0[5] are set, and network
interrupt data is received for any one of the selected interrupt memory locations the
following occurs:
• The data is stored in that location
• The SCRAMNet+ address of the memory location is placed on the Interrupt
FIFO queue, and
• An interrupt is sent to the processor.
NETWORK ERRORS
The Interrupt on (Network) Errors mode is enabled by setting CSR0[7] ON. Network
errors are defined in CSR1 according to an interrupt mask set in CSR9. When an
incoming foreign message generates an interrupt, there is no way to mask the interrupt
according to the content of the message. However, specific error conditions may be
identified.
Copyright 2003 2-6 SCRAMNet+ SC150 PCI HARDWARE REFERENCE
Other manuals for SCRAMNet SC150
5
Table of contents
Other Systran Network Card manuals