Language selection

Search

Patent 1242284 Summary

Third-party information liability

Some of the information on this Web page has been provided by external sources. The Government of Canada is not responsible for the accuracy, reliability or currency of the information supplied by external sources. Users wishing to rely upon this information should consult directly with the source of the information. Content provided by external sources is not subject to official languages, privacy and accessibility requirements.

Claims and Abstract availability

Any discrepancies in the text and image of the Claims and Abstract are due to differing posting times. Text of the Claims and Abstract are posted:

  • At the time the application is open to public inspection;
  • At the time of issue of the patent (grant).
(12) Patent: (11) CA 1242284
(21) Application Number: 521180
(54) English Title: COMPUTER VECTOR MULTI-PROCESSING CONTROL
(54) French Title: CONTROLE DE MULTITRAITEMENT POUR ORDINATEUR VECTORIEL
Status: Expired
Bibliographic Data
(52) Canadian Patent Classification (CPC):
  • 354/234
(51) International Patent Classification (IPC):
  • G06F 15/16 (2006.01)
  • G06F 9/28 (2006.01)
  • G06F 13/38 (2006.01)
(72) Inventors :
  • CHEN, STEVE S. (United States of America)
  • SCHIFFLEGER, ALAN J. (United States of America)
(73) Owners :
  • CRAY RESEARCH, INC. (Not Available)
(71) Applicants :
(74) Agent: SIM & MCBURNEY
(74) Associate agent:
(45) Issued: 1988-09-20
(22) Filed Date: 1984-04-24
Availability of licence: N/A
(25) Language of filing: English

Patent Cooperation Treaty (PCT): No

(30) Application Priority Data:
Application No. Country/Territory Date
488,083 United States of America 1983-04-25

Abstracts

English Abstract


Abstract of the Disclosure

A multiprocessing system and method for multiprocessing
disclosed. A pair of processors are provided, and each
are connected to a central memory through a plurality
of memory reference ports. The processors are further
each connected to the plurality of shared registers
which may be directly addressed by either processor at
rates commensurate with intra-processor operation. The
shared registers include registers for holding scalar
and address information and registers for holding
information to be used in coordinating the transfer of
information through the shared registers. A multiport
memory is provided and includes a conflict resolution
circuit which senses and prioritizes conflicting
references to the central memory between the CPU. Each
CPU is interfaced with the central memory through three
ports, with each of the ports handling different ones
of several different types of memory references which
may be made. At least one I/O port is provided to be
shared by the processors in transferring information
between the central memory and peripheral storage devi-
ces. A vector register design is also disclosed for
use in vector processing computers, and provides for at
least two independently addressable memories for vector
data for delivery to or acceptance from a functional
unit. The method of multiprocessing permits multi-
tasking in the multiprocessor, in which the shared
registers allow independent tasks of different jobs or
related tasks of a single job to be run concurrently,
and faciliates multithreading of the operating system
by permitting multiple critical code regions to be
independently synchronized.


Claims

Note: Claims are shown in the official language in which they were submitted.


THE EMBODIMENTS OF THE INVENTION IN WHICH IN EXCLUSIVE
PROPERTY OR PRIVILEGE IS CLAIMED ARE DEFINED AS FOLLOWS:
1. A multiprocessor memory system comprising:
a central memory having a plurality of access
paths, said central memory comprised of a plurality of
independently addressable banks organized into a
plurality of sections, said access paths being
distributed among said sections;
a plurality of processing machines each connected
to said central memory access paths through a plurality
of ports, said ports for receiving central memory
reference requests from said processing machines and for
generating and controlling memory references to said
central memory through said access paths; and
memory reference conflict resolution means
connected to each of said ports for coordinating and
prioritizing conflicting memory reference attempts to
said central memory, said conflict resolution means
including a plurality of conflict resolution circuits
equal in number to said memory sections and each
controlling the procession of memory references to one
of said sections, each of said resolution circuits
receiving references associated with said section, and
including means for checking the readiness of a bank
for referencing and holding a reference until the bank
is ready if need be and including means for monitoring
all references for identifying conflicts between
references being attempted as between different ports an
holding all but one of conflicting references to the
same bank.
2. A multiprocessor memory system comprising:
a central memory comprised of a plurality of
independently addressable memory banks organized into a
plurality of sections each accessible through a
plurality of access paths;
a plurality of processing machines;
each of said processing machines including a
plurality of ports for generating memory references to
any one of said central memory sections; and

43

conflict resolution means interfacing each of said
ports to each of said central memory sections through
said central memory access paths, said resolution means
for receiving referenced from said ports and
coordinating and controlling the procession of those
references along to the access paths, said conflict
resolution means comprising a plurality of conflict
resolution circuits corresponding in number to said
memory sections, each of said circuits receiving
references to its corresponding section from any one of
said ports and selectively conveying the references to
the access paths for the section, said circuits each
including.
means for checking the readiness of a bank to be
referenced and holding a reference to a busy bank until
the bank is ready;
means for detecting simultaneously pending
references to the same bank and holding all but one
reference; and
means communicating with said ports and the other
of said conflict resolution circuits to cause a port to
suspend generation of further references when a
reference from that port is being held and to cause the
other of said conflict resolution circuits which have
received a reference from a port issued subsequent to a
held reference generated by that port to hold that
reference until all priorly generated references from
that port have proceeded so that references to the
memory are kept in the order generated.
3. A method of conveying memory references from the
processing machines to the central memory and resolving
memory reference conflicts in a multiprocessor memory
system, said system including:
a central memory having a plurality of
independently addressable memory banks organized into a
plurality of sections each accessible through a
plurality of access paths;
a plurality of processing machines;
each of said processing machines including a

44

plurality of ports for generating memory references to
any of said central memory sections and banks;
a conflict resolution circuit for each section of
memory for interfacing each of said ports from said
processing machines to the corresponding section of
memory, said resolution circuit providing one access
path to the memory section for each processing machine
in the system so that all ports of a given processing
machine reference a given section of memory through the
same access path;
within a conflict resolution circuit, said method
comprising the steps of:
(a) receiving memory reference requests from said
ports;
(b) determining for each reference request which
of said memory banks within the memory section
associated with said conflict resolution circuit
has been requested;
(c) checking the status of said requested memory
bank to determine whether said bank is ready to be
referenced or whether said bank is busy;
(d) determining whether there are simultaneous
reference requests to the memory section
associated with said conflict resolution circuit
from multiple ports of the same processing machine;
(e) determining whether there are simultaneous
reference requests to any one bank within the
memory section associated with said conflict reso-
lution circuit from ports of different processing
machines;
(f) resolving bank busy conflicts, conflicts
between simultaneous references from ports of the
same processing machine and conflicts between
simultaneous references from ports of different
processing machines so that only one memory
reference to any one memory bank is allowed at one
time, only one memory reference to the memory
section associated with said conflict resolution
circuit from any one processing machine is allowed
at one time, and all memory references from any one



port proceed in the order in which the references
were generated.
4. A multiprocessor memory system comprising:
a central memory comprised of a plurality of
independently addressable memory banks organized into a
plurality of sections each accessible through a
plurality of access paths:
a plurality of processing machines equal in number
to said plurality of access paths;
each of said processing machines including a
plurality of ports for generating memory references to
any one of said central memory sections; and
conflict resolution means interfacing each of said
ports to each of said central memory sections through
said central memory access paths, said resolution means
for receiving references from said ports and
coordinating and controlling the procession of those
references along to the access paths, said conflict
resolution means comprising a plurality of conflict
resolution circuits corresponding in number to said
memory sections, each of said circuits connected to
each of said ports for said processing machines so that
any port in any one of said processing machines may
access any section and bank in said central memory, said
circuit organized so that all references from ports in a
given processing machine are directed through a single
one of said access paths so that each processing machine
has a corresponding access path, each of said circuits
including:
(a) bank detection means for determining which of
said memory banks within the memory section asso-
ciated with said circuit has been requested;
(b) bank busy conflict means for determining
whether the requested memory bank is ready to be
referenced or is busy;
(c) means for determining whether said circuit has
received simultaneous reference requests to the
memory section associated with said circuit from
multiple ports of the same processing machine:

46


(d) means for determining whether said circuit has
received simultaneous reference requests to any one
bank within the memory section associated with said
circuit from ports of different processing
machines;
(e) resolution means for resolving bank busy
conflicts, conflicts between simultaneous referen-
ces from ports of the same processing machine, and
conflicts between simultaneous references from
ports of different processing machines so that only
one memory reference to any one memory bank is
allowed at one time, only one memory reference to
the memory section associated with said circuit
from any one processing machine is allowed at one
time, and all memory references from any one port
proceed in the order in which the references were
generated.
5. The multiprocessor memory system of claim 4
wherein said resolution means of each of said conflict
resolution circuit comprises:
(a) means for assigning priority to ports of the
same processing machine simultaneously refer-
encing the memory section associated with said
circuit according to a predetermined priority
scheme;
(b) means for assigning priority between said
processing machines on an alternating basis;
(c) means for handling conflicts between ports of
the same processing machine so that the highest
priority port with no bank busy conflict and no
simultaneous reference from a different processing
machine conflict is allowed to proceed;
(d) means for handling simultaneous references
from different processing machines conflicts so
that the port of the highest priority processing
machine with no bank busy conflict and no conflict
with another port of the same processing machine is
allowed to proceed.
6. The multiprocessor memory system of claim 5 wherein
said resolution means further comprises:

47

means for holding all memory references that have
bank busy conflicts, conflicts with simultaneous
references from the same processing machine or conflicts
with simultaneous references from a different processing
machine.
7. The multiprocessor memory system of claim 6
wherein said resolution means further comprises:
means for signalling all ports that have a
reference being held at said circuit so that said ports
do not generate another memory reference request.
8. The multiprocessor memory system of claim 6 wherein
said resolution means further comprises:
means for signalling all other conflict resolution
circuits that have received a memory reference request
from a port issued subsequent to a held reference
generated by that port so that memory reference requests
from that port are kept in the order generated.

48

Description

Note: Descriptions are shown in the official language in which they were submitted.


2~
- COMPUTER VECTOR
~, MULTIPROCESSING CONTROL
:.

.
-~ Back~round of the Inventlon
:~ The present invention pertains to the field of high
5 speed digital data processors, and more particularly to 50m-
puting machines adapted for vector processing.
Many scientific data processing tasks involve
extensive arithmetic manipulation of ordered arrays of da-ta.
-, Commonly, this type of manipulation or "vector" processing
10 involves performing the same operation repetitively on each
- successive element of a set of data. Most computers are
organized with an arithmetic unit which can communicate with
a memory and with input-output (I/O). To perform an arith-
~: metic function, each of the operands must be successively
15 brought to the arithmetic unit from memory, the functions
must be performed, and the result must be returned to the
~; memory. Machines utilizing this type of organization, i.e.
~' "scalar" machines, have been found too slow and hardware
: inefficient for practical use in large scale vector pro-
d 20 cessing tasks.
In order to increase processing speed and hardware
efficiency when dealing with ordered arrays of data,
"vector" machines have been developed. Basically, a vector
machine is one which deals with ordered arrays of data ~y
25 virtue of its hardware organization, rather than by a soft-
- ware program and indexing, thus attaining higher speed of
operation. One such vector machine is disclosed in U. S.
Patent No. 4,128,880, issued December 5, 1978. The vector
; processing machine of this patent employs one or more
30 registers for receiving vector data sets from a central
memory and supplying the same at clock speed to segmented
functional units, wherein arithmetic operations are per-
formed. More particularly, eight vector registers, each
adapted for holding up to sixty-four vector elements, are

c~s,,~

v ~ -2-
provided. Each of these registers may be selectively con-
nected to any one of a plurality o~ functional units and one
or more operands may be supplied thereto on each clock
period. Similarly, each of the vector registers may be
5 selectively connected for receiving results. In a typical
operation, two ~ector registers are employed to provide
operands to a functional unit and a third vector register is
s employed to receive the results from the functional unit.
A single port memory is connected to each of the
10 vector registers through a data bus for data transfers bet-
ween the vector registers and the memory. Thus, a block of
vector data may be transferred into vector registers from
memory and operations may be accomplished in the functional
units using data directly from the vector registers. This
15 vector processing provides a substantial reduction in memory
j usage, where repeated computation on the same data is
required, thus eliminating inherent control memory start up
delays for these computations.
Additionally, scalar operation is also possible and
20 scalar registers and functional units are provided therefor.
The scalar registers, alony with address registers and
instruction buffers are employed to minimize memor~ transfer
operations and speed up instruction execution. Transfer
intensity is further reduced by two additional buffers, one
25 each between the memory and the scalar registers and address
registers. Thus, memory transfers are accomplished on a
block transfer basis which minimizes computational delays
associated therewith.
Further processing concurrency may also be accom-
30 plished in the above noted system using a process called
"chaining". In this process, a vector result register beco-
mes the operan~ register for a succeeding functional opera-
tion. This type of chaining is restricted to a particular
clock period or "chain slot" time in which all issue con-
35 ditions are met. Chaining of this nature is to some extent
dependent upon the order in which instructions are issued
and the functional unit timing.

~ 3~ 22~
~3, Thus, the system of U. S~ Patent No. 4,128,880
accomplishes a significant increase in processing speed over
J
conventional~ scalar processing for the large class of
~ problems which can be vectorized. The use of register to
- 5 register vector instructions, the concept of chaining, and
the use of the plurality of independent segmented functional
units provides a large amount of concurrency of processing.
Further, since the start up time for vector operations are
nominal, the bene~its of vector processing are obtainable
10 even for short vectors.
The present invention employs an improved version
3 of the above described vector processing machine to provide
~,~ a general purpose multiprocessor system for multitasking
- applications. In operation, independent tasks of different
15 jobs or related tasks of a single job may be run on multiple
processors. While multiprocessor organization has been
A accomplished in the prior art, inter-CPU communication in
J~ these prior art machines has been accomplished through the
~A main memory, in a "loosely coupled" manner. Inter-CPU com-
20 munication of this nature is hampered by the need to repeti-
tively resort to relatively slow main or central memory
references, and by access conflicts between the processors.
`; The multiprocessor of the present invention over-
comes the substantial delays and software coordination
1 25 problems associated with loosely coupled multiprocessing by
providing a "tight-coupling" communication circuit hetween
the CPU's which is independent of the shared or central
memory. The tight coupling communication circuits provide a
set of shared registers which may be accessed by either CPU
j 30 at rates commensurate with intra CPU operation. Thus, the
i shared registers provide a fast inter-CPU communication path
to minimize overhead for multitasking of small tasks with
frequent data interchange. The present multiprocessor
system may also couple tasks through the shared memory as
35 provided by the prior art. ~owever, the tight coupling com-
munlcation circuits provide a hardware s~nchronization

~ 4- ~ 2~
i,. device through which loosely coupled tasks as well as
tightly coupled tasks may be coordinated efficiently.
Typically, prior art multiprocessors are charac-
terized by a master-slave relationship between the
processors. In this organi2ation the master processor must
initiate and control multitasking operations so that only
one job may be run at a time. Because many jobs do not
require multiprocessor efficiency this type of master-slave
organization often results in und~erutilization of the
! lo multiprocessor.
In the present multiprocessor system all processors
are identical and symmetric in ~heir programming functions,
! so that no master-slave relationship is required. Thus, one
or more processors may be selectively "clustered" and
assigned to perform related tasks of a single job by the
operating system. This organization also allows each pro-
cessor to operate independently whereby independent tasks
of different jobs may be performed. Accordingly, the pre-
sent multiprocessor system avoids the problems of underuti-
lization and provides higher system throughput
The multiprocessor system of the present inventionis also uniquely adapt~d to minimize central memory access
time and access conflicts involving memory to CPU and memory
to I/O operations. This is accomplished by organizing the
central memory in interleaved memory banks, each indepen-
dently accessible and in parallel during each machine clock
period. Each processor is provided with a plurality of
parallel memory ports connected to the central memory
through a hardware controlled access conflict resolution
hardware capable of minimizing memory~ access delays and
maintaining the integrity of conflicting memory referencesO
This interleaved and multiport memory design, coupled with a
short memory cycle time, provides a high performance and
balanced memory organization with sufficient bandwidth to
support simultaneous high-speed CPU and I/O operations.

~ - s -
~ Processing speed and efficiency is further improved
-~ in the present system through a new vector register design
~ and organi~ation which provides additional memory-vector
- register data transfer paths and substantially enhanced
hardware automatic "flexible" chaining capability. This new
vector register organization and the parallel memory port
configuration allow simultaneous memory fetches, arithmetic,
./ and memory store operations in a series of related vector
operations which heretofore could not be accomplished.
Thus, the present multiprocessor design provides higher
speed and more balanced vector processing capabilities for
both long or short vectors, characterized by heavy register-
~ to-register or heavy memory-to-memory vector operations.

; SummarY of the Invention
The present invention relates to a general purpose
; multiprocessor system for multitasking applications
involving vector processing. Two or more vector processing
machines, each identical and symmetric in their programming
functions, are provided. All processors share a central or
shared memory organized in interleaved memory banks which
may be accessed independently and in parallel during each
rnachine clock period. Each processor has a plurality of
parallel memory ports connected to the central memory for
! handling central memory references.
2~ A plurality of shared data and synchronization
register ~ets are provided for the inter-communication of
selected processors. A cluster of one or more processors
may be assigned to perform a single task, utilizing a unique
set of shared registers. Each processor in a cluster may
asynchronously perform either scalar or vector operations
dictated by user programs.
Each processor includes vector registers organized
in odd-even memory banks and is provided with a plurality of
parallel data paths to the central memory ports. The vec-
tox registers may be controlled automatically through hard-
waxe to provide flexible chaining capability in which

-6-

simultaneous memory fetches, arithmetic, and memory
store operations may be performed in a series of related
vector operations.
According to another aspect of the invention, the
multiport memory has a built in conflict resolution
hardware network to minimize delay and maintain the
integrity of all memory references to the same bank and
the same time, from all processors' ports.
Other aspects of the invention are as follows:
A multiprocessor memory system comprising:
a central memory having a plurality of access
paths, said central memory comprised of a plurality of
indepPndently addressable banks organized into a
plurality of sections, said access paths being
distributed among said sections;
a plurality of processing machines each connected
to said central memory access paths through a plurality
of ports, said ports for receiving central memory
reference requests from said prosessing machines and for
generating and controlling memory references to said
central memory through said access paths; and
memory reference conflict resolution means
connected to each of said ports for coordinating and
prioritizing conflicting memory reference attempts to
said central memory, said conflict resolution means
including a plurality of conflict resolution circuits
equal in number to said memory sections and each
controlling the procession of memory references to one
of said sections, each of said resolution circuits
receiving references associated with said section, and
including means for checking the readiness of a bank
for referencing and holding a re~erence until the bank
is ready if need be and including means ~or monitoring
all references for identifying conflicts between
references being attempted as between different ports an
holding all but on~ of conflicting references to the
same bank.
A multiprocessor memory system comprising:
a central memory comprised of a plurality of
independently addressable memory banks organized into a

.~
,....

-6a-

plurality of sections each accessible through a
plurality of access paths;
a plurality of processing machines;
each of said processing machines including a
plurality of porks for generating memory references to
any one of said central memory sections; and
conflict resolution means interfacing each of said
ports to each of said central memory sections through
said central memory access paths, said resolution means
for receiving re~erenced from said ports and
coordinating and controlling the procession of those
references along to the access paths, said conflict
resolution means comprising a plurality of conflict
resolution circuits corresponding in number to said
memory sections, each of said circuits receiving
references to its corresponding section from any one of
said ports and selectively conveying the references to
the access paths for the section, said circuits each
including:
means for checking the readiness of a bank to be
referenced and holding a reference to a busy bank until
the bank is ready;
means for detecting simultaneously pending
references to the same bank and holding all but one
reference; and
means communicating with said ports and the other
of said con~lict resolution circuits to cause a port to
suspend generation of further references when a
reference from that port is being held and to cause the
other of said conflict resolution circuits which have
received a reference from a port issued subsequent to a
held reference generated by that port to hold that
reference until all priorly generated re~erences from
that port have proceeded so that references to the
memory are kept in the ordar generated.
A method of conveying memory references from the
processing machines to the central memory and resolving
memory reference conflicts in a multiprocessor memory
system, said system including:

-6b-
a central memory having a plurality of
independently addressable memory banks organized into a
plurality of sections each accessible through a
plurality of access paths;
a plurality of processing machines:
each of said processing machines including a
plurality of ports for generating memory references to
any of said central memory sections a:nd banks;
a conflict resolution circuit for each section of
memory for intarfacing each of said ports from said
processing ma~hines to the corresponding section of
memory, said resolution circuit providing one access
path to the memory section for each processing machine
in the system so that all ports of a given processing
machine reference a given section of memory through the
same access path;
within a conflict resolution circuit, said method
comprising the steps of:
(a) receiving memory reference requests from said
ports;
(b) determining for each reference request which
of said memory banks within the memory section
associated with said conflict resolution circuit
has been re~uested;
(c) checking the status ~f said requested memory
bank to determine whether said banX is ready to be
referenced or whether said bank is busy;
(d) determining whether there are simultaneous
reference requests to the memory section
associated with said conflict resolution circuit
from multiple ports oE the same processing machine;
te) determining whether there are simultaneous
reference requests to any one bank within the
memory section associated with said conflict reso-
lution circuit from ports of different processing
machines;
(f) resolving bank busy conflicts, conflicts
between simultaneous references from ports of the
same processing machine and conflicts betwe~n
simultaneous references from ports of different

-6c- ~2~2~

processing machines s~ that only one memory
reference to any one memory bank is allowed at one
time, only one memory reference to the mamory
section associated with said conflict resolution
circuit from any one processing machine is allowed
at one time, and all memory references from any one
port proceed in the order in which the re~erences
were g~nerated.
A multiprocessor memory system comprising:
a central memory comprised of a plurality of
independently addressable memory banks organized into a
plurality of sections each accessible through a
plurality of access paths;
a plurality of processing machines equal in number
to said plurality of access paths;
each of said processing machines including a
plurality of ports for generating memory references to
any one of said central memory sections; and
conflict resolution means interfacing each oE said
ports to each o~ said central memory sections through
said central memory access paths, said resolution means
for receiving re:Eerences from said ports and
coordinating and controlling the procession o~ those
references along to the access paths, said conflict
resolution means comprising a plurality of conflict
resolution circuits correspondiny in number to said
memory sections, each of said circuits connected to
each of said ports for said processing machines so that
any port in any one of said processing machines may
access any section and bank in said central memory, said
circuit organized so that all references from ports in a
given processing machine are directed through a single
one of said access paths so that each processing machine
has a corresponding access path, each of said circuits
including:
(a) bank detection means for determining which of
said memory banks within the memory section asso-
ciated with said circuit has been requested;
(b) bank busy conflict means for detPrmining


,, .
~t~ G~

-6d- ~ 2~. 2Z84

wheth~r the requested memory bank is ready to be
refer~nced or is busy;
(c) means for d~termining whether said circuit has
received simultaneous reference requests to the
memory section associated with said circuit from
multiple ports of the same processing machine:
(d~ means for determining whether said circuit has
received simultaneous reference rlequests to any one
bank within the memory section associated with said
circuit from ports of different procassing
machines;
(e) resolution means for resolving bank busy
conflicts, conflicts between simultaneous referen-
ces from ports of the same processing machine, and
conflicts between simultaneous references fr~m
ports of different processing machines so that only
one memory refer~nce to any one memory bank is
allowed at one time, only one memory reference to
the memory section associatad with said circuit
from any one processing machine is allowed at one
time, and all memory references from any one port
proceed in the order in which the references were
generated.

Z~
~ -6e-

Brlef Descri~tion of the Drawinqs
In the Drawing, Figure 1 is a block diagram of the
overall system organization of the presenlt invention;
Figure 2 is a block diagram overview of the tlght
couplîng communications circuits of the present invention;
Figures 3 and 4 constitute a functlonal block
diagram of the tight coupling communications circuits of the
present invention;
Figure 5 is a functional block diagram of the
me~ory por~ to CPU interface of the present invention;
Figures 6a and 6b constitute a unctional block
diagram of the conflict resolution network of the present
in~ention;
Figures 7 and 8 constitute a functional block
diagram of one section of th~ confllct resolution circuit of
the present invention;
Figures 9 and 10 constitute a functional block
dia~ram of r/o memory reference generation and control cir-
cuits o~ the present in~ention;
Figures 11 and 12 are functional block diagrams of
the I/O reference prioritizing circuits of the present
invention;
Figuxe 13 is a functional block diagram of the CPU
memory reference generation and control circuits of the pre-
sent invention;
Fiqure 14 is a functional block diagram of the sca-
lar reference control circuits of the pre~ent invention;
Figure lS is a functional block diagram of further
I/O reference control circuits og the present invention;

--7--
Figure 16 is a functional block diagram of the
fetch and exchange reference control clrcuits of the present
invention;
Figure 17 is a functional block diagram of the
memory address selection circuit, of the present inventioni
Figure 18 is a functional block diagram of the
memory write data selection circuits of the present
inven~ion;
Figure 19 is a functional block diagram of the I/0
input data channels of the present invention;
Figure 20 is a functional block diagram of the
memory read data routing circuits of the present invention;
Figure 21 is a functional block diagram of the I/o
output data channels of the present invention; and
Figure 22 is a functional block diagram of the vec-
tor registers of the present invention.

Detailed Description
o~ the Invention
The overall system organization of the present
invention is diagrammatically illustrated in Figure 1. In
the preferred embodiment, two vector processors 10 and 11
are provided. Generally, these processors each resemble the
vector processing machine set forth in U. S. Patent No.
4,128,880, particularly
2S with regard to the buffer, register and functional unit-
organization. Hereinafter, references in this specification
to CPU data paths, f or example Ai, Si, etc., shall be pre~
s~med to be to corresponding data paths in the system
disclosed in said patent application, subject to certain
modifications of that system which are herein set forth.
Central memory 12 is provided for processors 10 and
11. Each processor has a respective data path 13 and i4 and
respective control path 15 and 16 to the central memory 12.
Each processor is similarly connected to a CPU IjO control 20
through respective control paths 21 and 22. Control 20 is
further connected to the central memory 12 via data
transmission path 23.

: ~ -8- ~
In operation, I/Q may be directed through control
to the SSD 30 or the input output processor IOP 31
through the respective data paths 32 and 33 with the respec-
.tive control paths 34 and 35 providing control com-
5 munication. IOP 31 is further interfaced through data path
- 36 to any one of a number of mass s~orage devices 40.
Processors 10 and 11 may communicate through the
communication and control circuit 50. Data paths 51 and 52
and control paths 53 and 54 connect each of CPU's 10 and 11
to control circuit 50 respectively. Communication and
control circuits 50 generally comprise a set of shared
registers under the common control of processors 10 and 11
- and which may be read or written from either CPU through the
respective data paths 51 and 52. Generally, communication
.15 and control circuits 50 provide a fast and time efficient
mechanism for passing scalar data between the processor such
as loop counts, memory addresses, and scalar constants.
Circuits 50 further provide registers, hereinaEter referred
to as the semaphore registers, which may be tested, set or
cleared by either processor and which provide a mechanism
for coordinating data trans.fers through the regis-ters of
circuit 50 or the central memory 12. Circuits 50 further
include a shared clock whereby system clock cycles are
counted.
Data transfers between the central memory 12 and
the processors 10 and 11 may be accomplished independently
under processor control via the respective paths 13-16. I/O
transfers between the central memory 12 and the CPU I/O
control 20 and I/O devices 30, 31 and 40 may proceed under
either the control of either processor 10 or 11 or under the
control of IOP 31. CPU I/O control 20 has an independent
access to central memory 12 via data path 23, whereby cer-
tain I/O functions may be accomplished without resort to
processors 10 or 11.
The SSD 30 provides a large solid state storage
mechanism capable of very high block transfer ra-tes between

~-~9 ~
it and the central memory 12 through ~he CPU I/O control 20.
The IOP 31 includes at least two different types of I/O chan-
nels betwee~ the mass storage devices 40 and the central
memory 12, and also provides for control of these channels
whereby the processors 10 and 11 are relieved to perform a
higher percentage of processing operations.
Processors 10 and 11 are identical and symmetric in
their programming functions and may operate independently to
perform independent tasks of different jobs or may be
"clustered" to perform related tasks of a single job. In
clustered operation, one or more processors may be assigned
to a particular set or cluster of registers in communication
and control circuit 50. Each set of registers or cluster in
control circuit 50 provides memory registers for passing
data and semaphore regisiters. In the present embodiment,
two processors and three clusters of shared registers are
provided. Thus, each processor may be assigned its own uni-
que set of shared registers with one cluster reserved for
the operating system. However, it will be understood that
the invention is not limited to a two processox system, but
may be employed for any number of processors P wherein P-~l
sets of shared registers are provided.
Multitasking in the present invention may be
accomplished either through the shared or central memory 12
or through the shared registers of circuit 50 or a com-
bination of both. Tasks accomplished in the former manner
may be said to be loosely coupled, while tasks accomplished
in the latter manner may be said to be tightly coupled. For
tightly coupled operation, shared registers reduce the
overhead of task initiation to the range of one microsecond
to one millisecond, depending on the granularity of the
tasks and software implementation techniques. In the case
of loosely coupled operation, communication through the
central memory 12 may be synchronized or coordinated throu~h
the sihared registers, and in particular the semaphore
registers.

{ --10-- ~
Thus, it will be seen that the organization of the
present multiprocessor system provides a flexible architec-
ture for processor clustering. Thls architecture allows a
cluster of K processors to be assigned to perform a single
task by the operating system whereby the processors may
share data and synchronization regist,ers for tight coupling
communication. Further, each processor in a cluster may run
in either monitor or user mode as controlled by the
operating sys-tem and can asynchronously perform either sca-
lar or vector operations dictated by programming requirements.Still further, any processor running in monitor mode can
interrupt any other processor and cause it to switch from
user mode to monitor mode allowing the operating system to
control switching between tasks. Furthermore, because the
design supports separation of memory segments for each
user's data and program, concurrent programming is facili-
tated.

Tigh-t Couplinq Communlcation Circuits
A general overview of the tight coupling com-
~0 munication circuits 50 is diagrammatically presented inFigure 2. These circuits provide for direct communication
between the CPU's, including passing or exchanging data
through the common or shared registers 200 and the super-
vision or control of data transfers accomplished through the
shared registers 200 or the central memory as further faci-
litated by the semaphore registers 160.
To realize effective multiprocessing, shared data
resources such as vector, scalar! and address information
must be protected from simultaneous usage by both processors.
The semaphore registers 160 provide a fast hardware mecha-
nism for software communication between processors, which
may directly access registers 160 to either test, set or
clear one or more of a plurality of semaphore registers.
Common parameters, such as loop index values,
memory addresses and scalar data may be passed through the

~2422~
-
shared registers 200. Thus, certain ].oops either nested or
; unnested may be divided for concurrent execution in both
processors under software control, the location in memory of
shared data may be quickly exchanged, and scalar constants
may be passed without resort to the relatively slow central
memory. Freeing the central memory of these types of data
transfers not only speeds execution, but allows vector data
to be passed or exchanged through the central memory with
fewer delays.
10The shared registers of communlcation circuits 50
are utilized under software control via the CI~ control
registers 151 and 152. Instructions forwarded to these
registers are monitored by control circuit 140 and permitted
to issue through the respective issue control lines 141 and
142 if conditions allow. Control circuit 140 also provides
for multiplexing data paths 143 and 144 to a selected one of
registers 160, 195 or 200.
Referring now to Figures 3 and 4, which may be laid
side by side to form a single functional block diagram, the
. 20 communication circuits 50 will be described in more detail.
Shared registers 200 and semaphore registers 160 are
3 accessible in three clusters. Each cluster is comprised of
thirty-two 1 bit semaphore registers, eight 24 bit SB
registers, and eight 64 bit ST registers. Access by a CPU
to any one of the semaphore register clusters 161-163 is
accomplished via multiplexing as explained mor~ fully below.
: The shared SB and ST register clusters 200 constitute a
memory module, and access to any one of these clusters is
. accomplished via selective addressing, with a portion of the
30 address indicative of the cluster to be accessed. Whether
or not a cluster is accessible to a CPU, and if so which
cluster is accessible is determined by the operating system
3 and effected by assigning a cluster number to the job to be
executed at startup. More particularly, the operating
35 system loads the assigned cluster number into the jobs
exchange package image in memory, which contains all the

~2~2~

~ necessary information for switching program execution.
I Registers 148 and 149 are provided for CPU 0 and 1 respec-
t tively to hold the assigned cluster number, whereby access
rights to the shared registers may be indicated to the
7 5 shared register control circuits. Registers 148 and 149 may
be read or written during an exchange from a CPU data path,
or may be manipulated by the operating system by instruc-
j tion, as will be hereinlater explained.
,~ The cluster number assigned to the job may have any
one of four different values. The value of zero prevents
access to any shared registers. A value of one, two or
~ three permits the CPU to access the corresponding cluster.
E To accomplish tightly coupled communication between con-
currently operating CPU's, both must be assigned to the same
cluster. If it is desired to execute a different job in
each CPU or if only one CPU is available to execute a job
coded for multiprocessing, access to a cluster may be
limited to only one CPU. Cluster number 1 is typically
j reserved for the operating system, which may run in either
processor, to provide operating system synchronlzation bet-
ween processors. This provides maximum flexibility in uti-
~ lizing the multiprocessor as will be more fully evidenced
I hereinbelow.
Software instructions are provided for utilization
¦25 of the shared registers. These instructions enable com-
munication with the semaphore registers 161-163 and access
to the shared SB and ST registers 200. A test and set
instruction is provided to test the condition of a semaphore
register and set the same if it is clear. A clear instruc-
tion and a set instruction are provided for unconditionally
clearing or setting a semaphore register respectively. The
CIP registers 151 and 152 are provided to receive current
Iinstruction parcels, more generally described in U. S.
Patent 4,128,880, from CPU 0 and CPU 1 respectively. In
operation, the instruction held in register 151 or 152 is
evaluated and if conditions allow the instructlon is per-
mitted to issue as provided by issue signals 141 and 142

~ 22~ ~

respectively. Conditions examined include the availability
of other CPU registers and data paths, and the status of the
shared registers as described more fully below.
Access to each semaphore register cluster 161-163
is controlled by the respective gates 164-166 according to
the CPU issuing -the instruction and the cluster number
assigned thereto. Gates 167 and 168 are similarly controlled
to connect the appropriate cluster of semaphore registers 160
through to the respective test semaphore circuits 170 and
171, set or clear circuits 172 and 173 and the select read
data circuits 174 and 175, for either CPU 0 or CPU 1 respec-
tively.
Test semaphore circuits 170 and 171 receive at one
input five data bits from the respective one of CIP registers
151 and 152 indicative of the semaphore to be tested, and the
32 semaphore register bits (received in parallel) from the
appropriate cluster. If the tested semaphore bit is clear,
a test and set instruction will be permitted to issue
through the corresponding one of issue control circuits 153
or 154. The corresponding one of set or clear semaphore
circuits 172 or 173 is thereby permitted to set the
appropriate semaphore bit, and load the bits back into the
selected cluster via the respective one of select data gates
180 and 181. If the tested semaphore bit is set, the
testing CPU will normally hold issue until the bit is
cleared, which may be accomplished by the other CPU.
Gates 180 and 181 may also be switched to permit a
parall~l load of a semaphore register cluster from a respec-
tive CPU 0 data path Si 182 or CPU 1 Si data path 183, and a
software instruction to effect the same is provided.
Similarly, select read data control 174 and 175 may also be
switched to permit the respective CPU 0 or 1 to read the
entire contents of a semaphore register cluster through
their corresponding Si data paths, as provided for by data
paths 184 and 185. Again, a software instruction is pro-
vided to effect this operation. These instructions are par-


~2~;~2~3~
~ -14- ~
ticularly useful for loading the registers at the beginning
of a job or saving the register contents at the end of a
job's execu~ion interval, as may be accomplished by the
operating system.
A set or clear instruction will be permitted to
issue unconditionally. When issued, the appropriate one of
set or clear semaphore controls 172 or 173 sets or clears
the appropriate semaphore re~isters. Semaphore control cir-
cuit 155 will not prevent simu:ltaneous attempts to
accomplish either the parallel write or read of a semaphore
register cluster.
Access to any one of the three clusters of shared
registers 200 is normally controlled solely by CPU software~
utilizing the semaphore registers to coordinate the same
between processors since no reservations on the registers
are made in the instruction issue control. However, a hard-
ware shared register access control 190 is provided to pre-
vent simultaneous access by both CPU's on the same clock
cycle, as required by limita-tions in the present register
configuration. Shared register access control 190 receives
at its inputs the appropriate bits of the read or write
instructions residing in either CIP registers 151 or 152 and
is connected at its outputs to the respective one of issue
control circuits 153 and 154. Access conflict situations
i 25 include simul~aneous attempts to read the SB or ST registers
200, in which case one CPU will be required to hold issue
for one clock period. The CPU required to hold issue is
selected according to a predetermined priority hierarchy
which may take into account factors such as the order in
3~ which the instructions enter CIP. Access conflicts for
write instructions may be handled the same way, but must
take into account the three clock period delay inherent in
~ write operations. Thus, if a read operation is in ~he CIP
! three clock periods following the issuance of a write
! 35 instruction, a simultaneous access conflict would result,
requiring the issue of the read instruction to be held for

~ _15_ ~
at least one clock period. For example, if a read instruc-
tion enters the CIP 151 ~or CPU 0 and a write instruction
was issued from CPU 0 three clock periods before, CPU 0 will
hold issue for one clock period. Similarly, if a write
instruction has issued three cloc~ periods before in CPU 1,
CPU 0 will also hold issue for one clock period. Thus,
shared register access control circuit 190 prevents simulta-
neous access to the shared B or T registers.
~hen a read or write instruc:tion is permitted to
issue, the appropriate CPU instruction parcel is routed
through select address gate 191 to the appropriate cluster
of shared registers 200 as determined by the cluster number
associated with the instruction issuing CPU. In the case of
a write data instruction, select write data gate 192 is
switched to route the appropriate respective data or address
information Si or Ai to the shared registers 200 three clock
cycles after issue, due to delays associated with accessing
the appropriate CPU registers. The address of the
appropriate register in the selected cluster is provided
through the instruction parcel and affected by selec-t
address gate 191, delayed three clock cycles in delay 199
and a write to that register is accomplished three cloclc
cycles after the instruction has issued. In the case of a
read instruction the cluster and address are similarly
selected and the appropriate one of select read data gate
174 or 175 is switched to route the output of the selected
register to the Si or Ai data path as the case may be.
An instruction is provided for use by the operating
system to change the contents of the cluster number
registers 148 or 149 so that it has access to all clusters.
The contents of the cluster number register can be changed
by ~his instruction only if the CPU is operating in the
monitor mode, as determined by the active exchange package.
The communication circuits 50 further include a
shared real time clock ~RTC) register 195 which may be
selected for a write via select real time clock gate 196

~ -16
from the Sj data paths of either CPU or selected for a read
via select read data gate 174 ~nd 175 for CPU 0 and CPU 1
respectively. The clock register incrementing circuit 197
is provided to increment the count in the real time clock
register 195 each clock cycle.
To accommodate the execution of a multiprocessing
task by a single CPU and to eliminate the possibility of
both CPU's holding issue concurrently on a test and set
instruction, a deadlock interrupt mechanism is provided,
comprising detection circuits 145 and 146 and comparator
147. Circuits 145 and 146 each receive a holding issue
signal from both the respective issue control circuits 153
and 154, and a cluster number comparator signal :Erom com-
parator 147, which is connected to cluster number registers
148 and 149. A deadlock interrupt may occur in a CPU in
either one of two situations. In one situation, a CPU is
holding issue on a test and set and the cluster numbers in
the two CPU's are different, as indicated by comparator 147.
Accordingly, it is not possible for the other CPU to access
and clear the selected semaphore bit and allow the holding
CPU to continue. In this case a deadlock interrupt will be
generated by the appropriate one of circuits 145 or 146, and
an exchange of the job in the deadlocked CPU will be
effected so that processing may continue. In the second
situation both CPU's are in the same cluster ancl holding
issue on a test and set instruction. In this deadlock con-
dition, the deadlock interrupt will similarl~ exchange the
currently executing jobs in both CPU's so that processing
may continue.
Thus, the tight coupling communication circuits 50
provide a fast communication path between CPU's for address
or scalar data and for control and protection of shared data
resources. The clustered arrangement of the semaphore
registers and SB and ST registers provide the ability to run
some multiprocessor jobs on only one CPU and permits one
cluster to be reserved for use by the operating system. ~he

~ -17- ~
tight coupling communication circuits thereby eliminate the
need for slower and more complex software protection methods
and significantly reduce the need to communicate through the
substantially slower central memory path.

Central Memory
The ports which interface CPU's 0 and 1 to the
central memory are generally illustrated in Figure 5. For
the sake of clarity and brevity, only a portion of the CPU 1
interface is shown. However, it will be understood that a
mirror image is provided for CPU 1. The functional units
and certain interconnections associated therewith have been
omitted from the drawing for the sake of clarity and bre-
vity. However, it will be understood that the same are con-
nected to the variousl registers herein illustrated in the
same manner shown in U. S. Patent 4,128,880, with the excep-
tion of certain few modifications illustrated herein. For
one, only one set of CA and CL registers are provided for
both CPU's, and may be accessed by either CPU as herein-
before set forth. Similarly, only one RTC register is pro-
vided, as was more particularly described hereinbefore.
Central memory 12 is provided with eight ports,with four ports associated with each CPU. Generally, each
of the ports provides control over memory reference opera-
tions, including supervising memory reference requests,
memory addressing, and data routing between the CPU
registers or I/0 devices and memory. Three ports, namely
port A, port B and port C, provide for transfer of data bet-
ween the memory and CPU registers. A fourth port, -the I/0
port, is provided for transferring data between the memory
and peripheral storage as provided for example by disk or
SSD storage devices.
Port A is connected through data path 250 for the
txansfer of data from the memory to either the V (vector)
registers 260, the B registers 261 or A registers 265. Port
B provides a further transfer path from the memory through

~2~
~ -18~ ~
data path 251 to V registers 260 and is in addition con-
nected for transfers to the T registers 262 or the S
registers 263. Thus, port A and port B provide for reading
data from memory and transferring it to any one of the
respective V, B, T, S or A registers, 260, 261, 262, 263 and
265 respectively. -Port C is connec-ted for transferring data
from the V registers 260, B registers 261 and T registers
262 for storage into the memory throush data path 253. Port
C additionally may transfer data from the A ~address) and S
(scalar) registers 265 and 263 respectively. All I/O is
directed through the I/0 port.
Active exchange package registers 266 are connected
to data path 250 and data path 253 for exchange read and
write references respectively. Data paths 250 and 253 are
lS each 64 bits wide. The upper 40 bits are selectively con-
nected to registers 266 and convey data only during an
exchange operation, and are otherwise set ~o zero. The
operation of the exchange register 266 will be hereinlater
explained in some detail.
The instruction buffers 264 are provided with a
memory access bus 270 independent of the ports to accom-
modate the unique nature of an instruction fetch operation,
to be more fully described hereinlater. The A, B and C
ports are controlled and utilized exclusively by their
corresponding CPU. The two I/O ports are a shared system
xesource, each handling a different set of I/O channels, and
either I/O port may be activated and utilized by either CPU.
Thus, the I/O current address (CA) and channel limit (CL)
registers are connected to both CPU's through their respec-
tive Ai and Ak data paths. The shared I/0 control and
storage circuits 252 are responsive to the CA and CL
registers, and accomplish I/O operations through the two I/O
ports in accordance with their hardware organization, as
will be hereinlater described in more detail. Thus,
although each I/0 port interfaces with a diffexent set of
I/O channels, either CPU may utilize any channel without

--19--
regard to which port the channel is controlled by.
The central memory of the present multiprocessor
is segmented into thirty-two independently controllable
memory banks. These banks are organized into four sections,
5 each containing eight banks. As shown in Figure 6, each
section includes 8 of the memory's 32 banks in an
~interleaved arrangement. Section 0 includes banks 0, 4, 8,
J12, 16, 20, 24 and 28, Section 1 banks 1, 5, 9, 13, 17, 21,
.25 and 29 and so on. Each of the four sections is provided
¦10 with two independent access paths, each controlled by one of
jthe CPU's, to the memory banks therewithin. Each access
3path comprises one memory address path, one write data path,
one read data path, and one control path. An access path
will allow one memory reference, either a read or write, in
15 each clock cycle. Thus, up to two banks in each section may
be referenced in each clock cycle, and up to eight memory
references are possible in the same clock cycle.

Conflict Resolution
Referring to Figure 6, it will be seen that each
20 port is connected to all four of the memory sections 0~3,
280-283 respectively, through a memory conflict resolution
network 290 which is provided to guarantee that: a memory
banX is referenced no more than once every four clock
icycles; only one reference per CPU per clock cycle is
25 allowed to a section of memory; and all references made by a
iport are kept in the sequence in which they were generated
Memory conflict resolution network 290 comprises four iden-
tifical conflict resolution circuits 291-294, one
corresponding to each section of memory, and each is con-
30 nected to all eight ports and provides two independent
~access paths to a section. As indicated hereinabove, the
3,instruction buffers 264 are provided with an independent
memory access bus 270, which as shown includes 8 data paths
~which bypass the confliction resolution network 290.
.7 35 Generally, only one instruction may issue to a port

~2~
-20-
at a time, as provided for by reservation flags in the
instruction issue control, i.e. the CIP register, which
indicates an instruction has been issued to the port. The
reservation remains set, preventing further use of the port
by instructions, until ail references for the instruction
issued to it have been made at which time the port control
will release the reservation, as will be explained in more
detail hereinlater.
Referring to Figures 7 and 8, which may be laid
side by side to form a single diagram, one section conflict
resolution circuit is illustrated. In Figure 7, input gates
300-303 receive the five LSB's (least significant) bits of
memory reference requests from ports A, B, C and I/O respec-
tively, the two LSB's enable the appropriate section
conflict network. Memory reference requests comprise
twenty-two bits of address data. The least slgnificant two
bits designate one of the four sections of memory and the
next three bits designate one of the eight banks within the
section. Input gates 30~-307 receive corresponding
reference requests from CPU 1. Input ga~es 302 and 306 may
also receive scalar memory reference requests as will be
more fully described hereinlater. When a reference reques-t
is received at any one of input gates 300-307 the three bits
indicating the bank are decoded and compared against a bank
¦25 busy signal corresponding to the respective one of the eight
banks to which the reference is directed. A bank busy moni-
toring circuit 310 is provided for monitoring the activity
of each bank in the section. The output signals of circuit
310 are connected through a data path 311 to each one of
bank conflict checking circuits 320-327. Bank conflict
checking circuits 320-327 compare their corresponding bank
busy signal against each of the references gated through
~input gates 300-307 respectively. The result of this com-
¦parison is conveyed to the corresponding one of reference
conflict resolution circuits 330-337.

.
.

~2~

Each reference request is also compared to any
valid request pending at the outputs of the lnput gates
corresponding to the other CPU. This comparison is
accomplished by simultaneous bank reference checking circuit
312, which receives the output of each of input gates 300-307
and which provides an output to each of the port reference
conflict resolution circuits 330-337, which also receive
; conflict signals for that port from the other 3 section
conflict circuits. If a reference for a particular port has
a conflict in one section network, all other section net-
works are notified so that the next reference from that
port, which may be to a different section, will not be
allowed to proceed. This guarantees sequential operation
for the references from each port. Based on the results of
this comparison, the bank busy comparison, other conflicts,
inter-CPU priority and intra-CPU priority, reference
conflict resolution circuits 330-337 determines if a
reference request may proceed. If not, a conflict signal to
the corresponding port is generated, whereby the port is
prevented from making any further reference requests until
the conflict is resolved. Inter-CPU priority is dete~lined
on an alternating basis, so that each CPU has priority four
out of every eight clock cycles.
If multiple ports within a CPU are requesting banks
within ~he same section, the highest priority port with no
bank busy conflict and no simultaneous reference conflict is
allowed to make a reference and the other ports will receive
a conflict signal. If two ports have no bank busy sonflict
or simultaneous reference conflict, a port with an odd
address increment is allowed to proceed over a port with an
even address increment. If both have the same increment,
' the earliest activated ports' reference requests will be
¦ allowed to proceed first~ Thus, the number of references to
a section is limited to one per CPU per clock cycle.
When a port is preven-ted from making any more
memory reference requests, the re~uest that receives the

~ -22- ~
conflict is resubrnitted via the upper inputs of the respec-
tive ones of input gates 300-307 until no conflic~ exists.
This guarantees the sequential operation of each port. When
a memory reference request has no confict a memory reference
is made to the requested bank and the c:orresponding bank busy
signal in bank busy circuit 310 is set for four clock cycles
to insure that another request for that bank is not allowed
until the bank reference cycle is complete. When a reference
is made, control signals are contemporaneously generated to
route the most si~nificant seventeen bits of the memory
reference address to the section and bank that are
referenced, as will be hereinlater illustrated in more
detail.
Proceeding references are routed through gates 340
and 341 to the respective gates 342 and 343. Gates 342,
343, 344 and fetch or exchange conflict resolution circuit
345 are provided to accommodate the special case of a fetch
or exchange memory referencing operation. In the case of a
fetch or exchange reference operation, conflicts are forced
on all ports. A fetch or exchange operation will not start
until all bank busies are clear. Referring back to Figure
5, it will be seen that this is necessary because fetch or
exchange operations bypass memory conflict resolution net-
work 290. In the case of an exchange reference, up to two
references to the memory may be accomplished during each
clock cycle, utilizing ports A, B and C to read and write
exchange package words sequentially from each section. Some
reading and writing may be done concurrently, as read opera-
tions may proceed through port A or B and write operations
through port C. In the case where simultaneous fetch or
exchange requests are made by both CPU's a conflict occurs,
and conflict resolution circuit 345 holds the request made
from CPU 1. When the fetch or exchange reference is
completed b~ CPU 0, CPU 1 is allowed to proceed.
Although only one section conflict resolution cir-
cuit is shown, it will be understood, as hereinbefore

~2~2~
-23-
explained, that each section in the meMory has a corre-
sponding conflict resolution circuit. Thus, it is possible
for all four ports of each CPU to make a reference on the
same clock cycle provided that each is to a different sec-
tion. Also, it is possible for each CPU to make a simulta-
neous reference to the same section provided that they are
to different banks within the section. Further, it will be
seen then that under certain conditions up to eight referen-
ces may be accomplished during each clock period.

Memory Reference Generation
and Control
Circuits for collecting and controlling the
generation of memor~ reference requests from the CPU's and
the IOP (input-output processor) are diagramatically
illustrated in Figures 9, 10, 11, 12, 13, 14 and 15. As
hereinbefore described, reference requests may be generated
by any one of ports A, B, C or I/O, and in addition may be
accomplished for the special cases of fetch or exchange
references without resort to the ports. Figures 9, 10, 11,
12 and 13 diagrammatically illustra-te the I/O reference
collecting and control circuit.s for the present multipro-
cessing system. These circuits are more generally repre-
sented in Figure 5 by I/O control circuit 55.
Figures 9 and 10 illustra-te in functional block
diagram form the circuits in which I/O memory re~erence
requests are generated and controlled for eventual input to
the conflict resolution network. There are three different
types of I/O channels available for transferring data bet-
ween the memory and peripheral storage devices. A first
type of channel is the low speed channel (LSP), four pairs
of which are provided. Each pair comprises an input channel
and an output channel. To activate or initiate a transfer
operation through a low speed channel, a current address CA
and a channel limit address CL are loaded into the appro-
priate one of registers 401 403, which are more generally

~2~2;~
~ -24-
illustrated in Figure 5 in which it is seen that either pro-
cessor may access the registers through the Ai and Ak data
paths. Registers 401, 403, 405 and 407 comprise low speed
input channel address registers. Each of these are paired
with the respective registers 402, 404, 406 and 408, which
are provided for accomplishing low speed output referencing
operations. CA and CL addresses may be loaded into any one
of registers 401-408 by either CPU through multiplexor 410,
which receives at its input a branch of the Ak data path for
1 10 both CPU's.
Two high speed channel (HSP) pairs are also pro-
vided. Memory references are made through these channels
utilizing registers 420, 422 and 421, 423 which retain the
respective input or output current address CA and block
15 length BL loaded from the input-output processor (IOP 31),
which indicate to the central memory where to start the
reference and how many words will be transferred. These
high speed channels cannot be controlled through the CPU's.
; Two more pairs of I/O channels are provided. These
20 channels may interface the memory with a high speed solid
state storage device (SSD), and utilize registers 424 and
426 for receiving the CA and BL data from the CPU, in the
same manner the low speed channels 401-408 receive CA and CL
. data, to initiate and control input or output transfers. In
3 25 this case BL designates how many blocks of data to transfer
: from the SSD, with each block comprising a plurality of data
words. Preferably, the SSD employed is that described in
-t the copending application entitled "Solid State Storage
. Device'/, filed of even date herewith, and having serial
30 number XXX. These SSD channels are under control of the
CPU's and may be activated by either CPU via multiplexor
410.
~ Each of registers 401-425 are provided with an
J enter address signal 409 generated on issue of the
35 appropriate instruction for selectively loading any one of
the registers 401-408, 429-425 with the reference addressing

:,

~%~2~ ~
-25-
data provided at its input. Upon loading of any of the
regis-ters 401-425 the corresponding I/O channel is activated
to begin an I/O memory reference operation. The references
to memory begin at the current address CA initially loaded
into the register. For the low and high speed channels
401-408 and 420-423 the addresses are incremented by one via
increment circuits 428 and 429 as the reference proceeds
until the channel limit address or b:Lock length is reached
as the case may be. SSD channel references always proceed
conjunctively through both CPU's, allowing two memory
references to be accomplished in each clock cycle. There-
fore, addresses in registers *24-425 are incremented by two
for each reference cycle. Initially 425 is advanced by 1
with no reference made. An SSD channel control 427 is pro-
vided to the SSD interface cable for supplying an SSDstarting address and a BL parameter to the SSD and for pro-
viding transfer protocol between -the multiprocessor and the
SSD.
The present system provides for flexible handling
of I/0 interrupts, which occur upon completion of an I/O
transfer. To cause an I/O interrupt to be serviced by a
CPU, a flag indicative of such must be set in the CPU's
active exchange register 266, which cause that CPU to enter
the monitor mode to service the interrupting I/O channel.
The selection of which CPU will service the interrupt is
accomplished in I/0 control 252, which provides a CPU I/O
interrupt signal to the selected CPU's exchange register,
setting the appropriate flag. A CPU I/O interrupt will not
b~ generated by I/0 control 252 if either CPU is proceeding
with an exchange operation or if one of the CPU's is in
monitor mode. Thus, I/0 control 252 provides a means for
delaying or preventing needless I/O interrupts. For
example, in the case where a CPU is in the process of an
exchange, that exchange may be to the operating system (i.e.
monitor mode~, which will by definition service the I/0, in
which case neither the exchanging CPU or the other need be

-26-
interrupted. If neither CPU i5 in monitor mode or in the
process of an exchange, the I/O interrupt will be permitted
to proceed according the following scheme. If a CPU1s
active exchange register 266 has an external interrupt mode
select bit or flag set (provided for manipulation by the
operating system),- the I/O interrupt will be caused in that
cPu. If neither CPU has its external interrupt bit set, the
interrupt will be directed towards a CPU holdiny issue on a
test and set instruction. If neither or both of these con-
ditions are present for both CPU's, the I/O interrupt willbe directed to the last CPU which se.rviced an interrupt to
the presently interrupting channel. Thus, only one CPU is
interrupted to service an I/O interrupt, with the most
desirable CPU being selectedj as may be determined by the
operating system via the external interrupt mode select
flag, or by the operating conditions of the CPU's.
Multiplexor and control circuits 440--442 and
443-44$ are provided -to switch the output of any one of the
corresponding register outputs to a corresponding one of a
CPU's I/0 memory reference control and memory address selec-
tion circuits which will be hereinlater described. Circuits
442 and 445 also control the procession of I/0 reference
requests according to channel priorities and memory
conflicts, as more specifically illustrated in Figures 11
and 12. Registers 440 and 443 also provide the CA of the
selected register to the Ai data paths of CPU 0 and CPU 1,
to allow the progress of reference operations to be moni-
tored.
Control of which memory reference request
currently residing in registers 401-408 and 420-425 will
proceed during each reference cycle is determined by the I/0
reference control scheme illustrated in ll correspond to
those references proceeding through CPU 0, while the
reference control of Figure 12 corresponds to requests pro-
ceeding through CPU l. Reference requests through low speedchannels 0-7 are always subordinated to request from either

~%~ ~
) -27-
the high speed channels or the SSD channels to form four
priority groups or pairs for each of the CPU's reference
control circuits. Thus, outstanding reference request pairs
501 and 502, 503 and 504, 505 and 506, 507 and 508, 509 and
510, 511 and 512, 513 and 514, 515 and 516, are monitored by
the respective pair priority determining circuits 520-527,
and prioritized accordingly. Priority reference requests
from circuits 520-523 and 524-527 are then further priori-
tized by the respective time slot circuits 530 and 531 on a
revolving basis so that each priority group is allowed one
reference every four clock periods. If a high speed channel
(HSP) reference or SSD reference is allowed to proceed, the
time slot will stop to allow 16 references to be made before
continuing. Thus, an I/O channel priority is determined,
15 and circuits 442 and 445 gate I/O reference requests accor-
dingly.
Memory references originating in a CPU are
generated and controlled by the port reference con-trol cir-
cuits depicted in Figure 13 of which one copy is provided
20 for each CPU. Memory reference address registers 551-553
receive a relative memory reference address for ports A, B
and C respectively through the Ao data path. This relative
address is added in the respective adding circuits 554-556
with a data base address acquired from the exchange package
corresponding to the currently executing CPU job. This add
is accomplished in the first two clock cycles of a memory
port operation. In the first clock cycle, registers 551-553
are loaded with the relative memory address and the respec-
tive corresponding registers 557-559 are loaded via the
respective gates 540-542 with the data base address from the
exchange package. On the next clock cycle, the add is
accomplished in the respective add circuits 554-556 and
loaded back into respective registers 551-553. Thereafter,
registers 557-559 serve as incrementation registers, the
selected increment being conveyed on the Ak data path
through the appropriate one of gates 540-542. Memory

~22~ ~
-28-
references residing in registers 551-553 are allowed to
proceed under the control of the port A, port B and por~ C
reference control circuits 561-563 respectively. Each of
these circuits receives a corresponding port conflict signal
from each of the four section conflict resolution circuits
and a "go port" signal for the respective port. The go port
signal indicates that a memory operation instruction has
left CIP and that memory references should be generated by
the port receiving the "go port" signal. Each control
561-563 in turn produces a release port reservation signal,
to clear the reservation flag, hereinbefore described, in
the instruction issue control or CIP. This flag is set when
the go port signal is generated. The control signal output
generally represents the hardware provisions for
accomplishing control functions of the control circuit.
Although illustrated only for port A control 561, each
control 561-563 includes a reference length control circuit
5~5 for receiving a block length parameter from the VL
register ~or a vector transfer or an Ai from the Ai data
path for a B or T reyister transfer and for counting
references and signalling completion of the transfer, at
which point the release port reservation signal is
generated. As each reference request is granted, the memory
reference address is incremented in the respective add cir-
cuits. Port C control 563 additionally provides a go memorydata signal to the vector registers when a request to write
vector data to memory is allowed to proceed.
Reference control circuits for scalar, I/O and
fetch and exchange re~uests are illustrated in Figures K, L
and ~ respectively. Because of the unique nature of a sca-
lar reference operation, it is provided with its own
; control. Scalar reference instructions require that ports
A, B and C reservations are clear before a scalar reference
instruction issues because scalar reference requests are
or'd in with the port C ref~rence requests and because port

~2a ~
-29-
and B read data paths are used to maximize circuit utili-
zation. However, it will be understood that a completely
separate path could be provided for scalar references if
desired. Scalar requests are to only one memory location
and thus no incrementation circuitry is necessary. The add
of the data base address, Ah and jkm data are accomplished
in add circuit 570 and conveyed to scalar memory reference
address register 571. Scalar memory references are retained
in register 571 under the con~rol of scalar reference
control 572, which receives a port C conflict signal from
the conflict resolution network and an issue scalar
reference signal to indicate the issuance of scalar memory
reference instructions. Unlike other reference re~uests, up
to two scalar references may issue and be contemporaneously
outstanding, an exception recognizing that such requests
require only one reference request.
Each CPU is provided with the I/0 reference control
circuits of Figure 15, which receive the five LSB's of a I/0
re~erence reguest address in register 575 from the respec-
tive one of the I/0 memory address circuits of Figures 9 and10. I/0 reference control circuit 576 receives an I/0
conflict signal from the conflict resolution network and an
I/0 memory request signal to indicate a valid I/0 reference
request. Reference control 576 is provided to control the
address and paths for the requested reference.
Figure 16 shows the circuits for controlling fetch
or exchange reference requests to memory. An instruction
base address and program counter (P) data are received by add
circuit 580 and added for input to the fetch or exchange
address re~ister 581. A range check for the fetch operation,
which is always thirty-two words long, is accomplished in the
fetch range check circuit 582, which receives the output of
Iladd circuit 580 and an instruction limit address to produce
¦an abort fetch signal to the fetch and exchange control cir-
!35 cuit 583 when the limit address is exceeded. Fetch and
exchange control 583 also receives a fetch or exchange
i

~ -30- ~
request signal and a go fetch or exchange signal from the
fetch or exchange conflict resolution network 345. Exchange
address register 584 receives the Aj data path and port B
memory read data for loading from a new exchange package.
The output of register 584 is to the port C memory write
data for storin~ an old exchange package and to the fetch or
exchange address 581. Fetch and exchange control 583
controls the address and data paths for fetch or exchange
operations, for example signalling to the instruction buf-
fers that data is available or for entering or sendingexchange parameters to or from exchange parameter
registers.
When a memory reference request to a section is
allowed to proceed by the conflict resolution network, the
most significant seventeen bits of the reference address,
which designate the location within -the section to ~e
referenced is gated to the appropriate section addressing
network of the memory. The memory address selection circuit
of Figure 17 is provided for this purpose. An address
generated by a port A, port B, port C, scalar, I/O or fetch
or exchange reference request may be gated by this circuit to
the appropriate section when the reference is permitted to
proceed. A gate 600 is provided to select between port C
reference and a scalar reference requests addresses. Gates
601 604 are provided to select between port A, port B, port C
or scalar reference addresses as the case may be. Gates
6C5-608 are provided to select between the outputs of gates
601-604, an I/O reference address or a fetch or exchange
reference address. Thus, any one o~ the port A, port B, port
C, scalar, I/O or fetch or exchange reference addresses may
be gated through any one of the four memory section
addressing networks.
Range checking circuits 620-623 are provided to
guarantee that reference addresses are within specified
limits, and to generate an abort reference signal to the
respective memory section when appropriate. A range limit

~242~
~ -31- ~
register 610 receives a data base address and data limit
address from the exchange package for port A, B, C and scalar
references. As hereinbefore described, fetch reference range
checks are accomplished in circuit 582 of Figure 16 and the
abort signal generated thereby is inputted ~o each one of
range checking circuits 620-623. No range checking capabi-
lity is provided for I/O addressing or exchanges.
The data for each write reference to the memory
must be routed from the appropriate register or I/O channel
to the appropriate section of memory. As hereinbefore men-
tioned, write references to memory may be accomplished
through port C or the I/O port. Memory write data selection
is accomplished in the circuit represented in Figure 18. Gate
650 may select data from the port C Ai, B data path, Si, T
data path, or the Vj data path for input to the checkbyte
generating circuit 651. Due to a three clock cycle delay in
the propagation of vector data to the conflict network 290
and a one clock period delay for a memory section conflict
signal back to the registers of the CPIJ, three data stacking
registers 655~657 are provided to hold three words of vector
data when a conflict occurs, one word per register, with
circuit 650 holding the first word, if need be. Gate 658
provides for selection between the three data paths inpu-tted
to port C. When a port C write operation is allowed to
proceed, circuit 650 sequentially gates the output o a
register 655-657 through to checkbyte generator 651 on each
succeeding reference cycle the particular data stack 655-657
depending on the number of words stacked. Checkbyte genera-
tor 651 generates eight bits of parity information and com-
bines this with the sixty-foux bit word received from gate
650 to provide a seventy-two bit word for memory write~
Gates 660-663 are provided to select between -the
output of checkbyte generator 651 and I/O write data. Thus,
a total of two different write operations per CPU are
possible per clock period.
The I/O write data supplied to gate 660-663 arrives

-32-
from the I/O channels after processing in -the circuits of
Figure 19. In the case of low s~eed input channels 0, 2, 4,
and ~, data is received from the I/O device in sixteen bit
words that must be assembled into sixty-four bit words in the
respective assembly registers 670-673.
For the case of the high speed channels 0 and 2 and
the SSD input channels, buffers 674-681 are provided to
buffer the incoming data. Multiplexors 690 and 691 are pro-
vided to receive the respective input channels for CPU 0 and
CPU 1 respectively and to select the appropriate write data
for output to the respective error correct and checkbyte
generating circuits 692 and 693. The outputs of circuit 692
and 693 are delivered to the appropriate one of the I/O write
data paths of the corresponding CPU memory write data selec-
tion circuits.
Data routing for memory read reference operationsout of the memory sections into the appropriate CPU registers
and to the I/O output circuit (Figure 21) is accomplished in
the circuits of Figure 20. The memory section data read paths
are connected to one input each of selection gates 701-703,
which are provided to route the data through to the respec-
tive one of the A, B, S, T or V registers of a CPU or to the
I/O output circuit. Memory read operations directed to the V
registers are routed through an additional gate 704 which may
switch the data path to any one of the eight V registers.
Gate 704 is further capable of routing the results of any one
of the six functional units or the Sj data path to a V
register. For storage to I/O, an 8 bit checkbyte is pro-
vided from each of the four sections, and combined in gate
703 for conveyance to the I/O output circuit.
The output of gate 703 is received by the
corresponding one of the I/O output circuits, which include
multiplexing, buffering and disassembling circuits, as shown
in Figure 21. Fan out circuits 750 and 751 receive a
seventy-two bit memory word from the memory data selection-
circuit and multiplex the same to disassembly registers

~2~Z2~
{ -33-
752-755 or buffers 756 763 according to the channel making
the currently executing reference selected. Multiplexors
765-768 are provided to multiplex the corresponding outputs
of buffers 756-763 to the corresponding ones of high speed
output channel cables and SSD output channel cables. The
low speed channel- cables are 20 bit~; wide, the high speed
channel cables 72 bits wide, and the SSD channel 144 bits
wide, to support its two word per clock cycle operating
capability.
I




Vector Reqisters
As hereinbefore mentioned, the CPU's of the present
multiprocessor system are preferably an advanced version of
the vector processing machine of U. S. Patent 4,128,880.
In that machine, as in the present advanced version, the
vector registers 260 (Figure 5) are the major computational
registers of the CPU, with vector operations accomplished by
processing a sequence of vector elements, always beginning
with the first vector element in the register and continuing
until all elements of the vector register involved are pro-
cessed. Here, as before, one or more vector registers maybe designated ~or providing operands, and another vector
register may be designated to receive the results during a
vector processing operation, and mathematical and logical
¦ operations are performed in functional units, which are all
fully segmented and which may be independently opera-ted.
Thus, through utilizing a plurality of vector registers and
functional units, significant increases in vector processing
, speed may be accomplished by concurrent operation.
; Because a vector result register often becomes the
operand register for a succeeding vector processing opera-
tion, it is highly advantageous if the elements of a result
register may be "chained" as operand elements, and this type
of operation is possible in the vector machine of U. 5.
Patent 4,128,880. However, as set forth more particularly
in the patent, chaining is limited in that system to a par-


~ -34- ~
ticular one clock period in the vector data stream through
the vector registers and the functional unit involved. The
present vector register advancement overcomes this limita-
tion, by permitting chaining at any point in the result vec-
tor data stream and without regard to timing con~lictswithin the vector register caused by the rates at which the
results are received and the operands are needed. To
accomplish this "flexible chaining" capability, ~he memory
circuits of the vector registexs, which require one clock
cycle to perform a read or write operation, are arranged in
two independently addressable banks. One bank holds all
even elements of the vector and the other bank holds all odd
elements of the vector. Thus, both banks may be referenced
independently each clock cycle.
Each register has two reservation flags in the
instruction issue control which are set as appropriate
instructions are issued. One reserves a register as an
operand and one reserves a register as a result. A register
reserved as a result and not as an operand can be used a-t
any time as an operand register. A register reserved as an
operand and not as a result cannot be used as a result
register until the operand reservation clears. If both
reservations are clear a register can be used as ~oth
operand and result in the same operation. These reser-
vations are cleared by the appropriate controls 830 or 831in the register.
Referring to Figure 22, the even and odd vector ele-
ment banks are designated with respective reference ~umerals
810 and 820. Vector write data is supplied to banks 810 and
820 via data gates 811 ancl 821 respectively. A~dressing for
references to banks 810 and 820 are provided for by read and
write address registers 812 and 822. Addresses originating
in registers 812 and 822 are routed toward the even and odd
banks 810 and 820 through the respective gates 813 and 823
depending on which reference operation is sought to be
accomplished. In operation, these registers are loaded with

~2~
~ d ~
~- -35- ~
a zexo address and registers 835 or 836, depending on
whether a read or write operation, are loaded with a copy of
the vector length parameter from the vector length register
data path. The address is then incremented each reference
cycle until the VL register is decremented to zero, at which
point the operation is complete and a signal is generated to
release the respective register reservation in the issue
control circuitry. The least significant bit determines
which bank, odd or even, the address and corresponding data
will be routed to. Thus, a sequence of read or write
references will be toggled between banks via gates 813 and
823 depending on the state of the least significant bit of
an address.
Address selection gates 814 and 824 receive
addresses from gates 813 and 823 respectively and in addi-
tion each receive an input from the CPU's Ak data path for
scalar references to the V register. Gates 813 and 823 are
controlled by the lower bit of read address (RA), as held in
register 812. Thus, RA is gated to the bank that is to be
read and WA is gated not to be read. Selection gate 814 is
controllable to gate either inputted address through to
memory bank 810 and the upper input of address selection
gate 824. Address selection gate 824 may be controlled to
route any one of its three inputted addresses through to odd
memory bank 820. As will be explained more fully below,
gates 814 and 824 provide a mechanism for handling the case
where a memory reference conflict occurs.
The availability of vector operands determines the
rate at which a vector operation may proceed. Thus, vector
read control 830 is the central control circuit for the
reading of data out of vector register banks 810 and 820.
Vector read control 830 receives an input from comparator
832, control signal selection gate 833 and a vector operand
issue control signal. Gate 833 receives a vector data ready
control signal from each of the other seven vector registers,
a go memory data signal from port C of the central memory

3~62~ ~
;referencing network and a vector data ready signal from the
output of vector read control 830. Any one of these nine
signals may be selectively switched through gate 833 to vec
tor read control 830 to aid synchronization of delivery of
!5 vector data to functional units or to central memory.
Vec~or read control 830 also monitors the vector
write control circuits 831 in determining when to generate a
;vector data ready signal to other vector registers and the
functional unit timing. In the case where two vector
;10 registers are used as operands in a vector operation, each
register's read control will monitor the other register's
~data ready signal to determine when elements are available to
7be processed by the functional unit. When both registers
have a data ready signal, each regis-ter sends an element to
15 the functional unit. In the case where a vector register is
to be stored to memory, the data ready signal will indicate
to the appropriate memory port C that an element is available
,to write, and then read control 830 monitors the memory
;port's conflict signal to determine when moxe data can be
' 20 sent.
,The vector data ready signal is generated when the
,.read control 830 is activated by issue of an appropriate
vector instruction and one of the following conditions
exists: (1) write control 831 is not active. In other
25 words, all elements are valid and the register will no-t be
used as a result register; (2) RA does not equal WA from
jcomparator 832 or in other words, the element required for
the operation has been written into the register; (3) RA
.equals WA and a go write signal is present at the input to
30 control 831 so that the element required is arriving and the
.~write data should be directed to the read data selection
840; (4) A vector data ready signal has been generated but
~another ready signal has not been received from the control
isignal selection network 833. In most cases, condition (2)
35 means that RA is less than WA, except in the special case
where a register is both operand and result in the same

2~ ~
-37-
operation. Then condition (2) means that RA is greater than
WA. In this special case the first data ready signal is
generated because of condition (1) since the write active
signal is delayed one clock period pursuant to this con-
S dition and both the read and write operations were startedpursuant the same clock period. After the first read RA is
incremented so that RA no longer equals WA whereby condition
(2) then allows reading to continue.
Direct control of vector write operations is pro-
vided by vector write control 831, which receives a go writesignal from a functional unit timing circuit and a vector
result issue signal. The go write signal originates in a
vector read control when an operand is sent to a functional
unit. The go write signal is delivered to the appropriate
functional unit timing, which delays the signal for a number
o clock periods corresponding to its functional unit time
and then conveys it to the vector write control~ Unlike the
system of U.S. Patent No. 4,128,880 in which only one go
write signal is provided for each block of vector operands,
the present system provides a go write signal for each valid
result output from a functional unit. Results not accom-
panied by a go write signal will be desregarded by a result
register. Thus, vector read control 830 indirectly controls
the write timing, subject to limitations caused by the
availability of data to be read.
One function of comparator 832 is to detect the
occurrence of a read request and write request to the same
vector memory bank during the same clock cycle. In this
situation a conflict occurs and the write request is inhi-
bited and the read request is allowed to proceed so thatdata flow to the functional units is uninterrupted. The
write request will be delayed one clock cycle by vector
write control 831, and the write data will be delayed in
data delay regist~r 834 for one clock cycle. On the next
clock cycle, the write is allowed to proceed by the vector
write control 831 through the appropriate one o gates 811

~ -38-
or 821. The sequential nature of a vector operation forces
each succeeding read and write to occur to the opposite bank
and therefore another conflict cannot exist between the
delayed write and the next read and write request, whereby
data flow through the vector register is unaffected by this
conflict.
If the delayed write is in the even bank the write
address is used for the delayed writ~e. Although the least
significant bit of the write address will have been incre-
mented, the most significant five bits will be unchanged sothe address remains valid. If the delayed write is in the
odd bank, the incrementation of the delayed write address
will cause a change in the most significant f:ive bits.
Thus, a valid address must be selected from the even bank
address register as provided for at the upper input of odd
address selection gate 824.
Another function of comparator 832 is to detect
when a simultaneous read request and write request occurs to
the same element of the same bank. When this condition is
~0 detected the vector write data may be routed directly through
select read data gate 8~0 via data path 841. Otherwise, gate
840 is controlled to switch the appropriate one of memory
bank 810 or 820 through to the appropriate functional unit.
It is important to note that a read request will
never occur to a memory location greater than the write
location except where the register is used as both a result
and operand in the same operation. Instruction issue
control prevents a register from being used as a result if
it is already involved in an operation as an operand.
Any reference to a vector register will cause a
vector not used bit in the active exchange package 266 to be
cleared. This allows the operating system to defect when
user code has not referenced vector registers, in which case
the vector registers contect need not be stored in central
memory when switching or exchanging between tasks. Thus, in
certain cases exchange time may be saved and memory usage

~ -3g- ~
reduced, contributing to the data processing efficiency of
the present system.
The vector registers of the present system axe
interfaced with the functional units in the exact same manner
as those of the system described in U. S. Patent No.
4,128,880, except -for the above noted difference in control
of the progression and chaining of functional operations as
provided for by the vector read control 830 and vector data
ready signal to the functional unit timing. However, the
odd-even vector memory organization provides for separate
read and write paths to the vector memory which were not
possible with the vector register memory organization in the
above noted patent. Thus, as will be hereinafter described
in more detail, the vector register to main memory interface
of the present system includes separate read and write data
paths to and from memory respectively, and to this extent
differs from the interface depicted in U. S. Patent No.
4,128,880.
Thus, it will be seen that a vector register archi-
tecture of the present invention reduces the amount of soft-
ware effort necessary to take advan-tage of the speed of the
computer by providing flexible chaining. Accordingly,
enhanced vector processing concurrency is obtained and signi-
ficantly higher processing rates are made possible.

Operation
As seen from the foregoing, the present multipro-
cessor system provides a general purpose multiprocessor
system for multitasklng applications. On a system level,
the shared registers and clustering capability allow inde-
pendent tasks of different jobs or related tasks of a single
job to be run concurrently. Preferably, the operating
system may analyze job requirements on a periodic basis and
¦ control the assignment of jobs or tasks between processors
I to maximize processing efficiency and speed. For example, a
single job may be run on multiple processors communicating

~ -40- C
through the shared xegisters, central memory, or both, with
each processor handling certain ones of related tasks con-
currently wi.th the other, or the processors may be utilized
independently of one another to run independent tasks of
different jobs in each. This operatin~ capability is highly
desirable in the case where multitasking is not required.
The clustering design further allows a multiprocessing job
to run even if one processor is disabled, if need be. In
this situation, the operating system will assign only a
single processor to a particular cluster of shared registers
and assign all tasks to be run successively by that pro-
cessor.
Control of multitasking by the operating system is
facilitated by the shared registers and in particular by
prcviding synchronization of shared data, critical code
regions and shared hardware resources such as the I/O chan-
nels. In addition, the shared registers facilitate
multithreading of the operating system by permitting
multiple critical code re~ions to be independently synchro-
nized, with critical code regions such as disk allocationtables, job and task cues and message cues. The operating
system may include a job scheduler which may multiplex and
interleave the processors against a jobs tasks. In this
mode of operation a job starts out as a dataset and is sche-
duled by the job scheduler f~r activation. The job may thenbe loaded into the central memory at which point the job
scheduler may schedule one or more processors for the job to
accomplish multitasking.
The multitasking capability of the present
multiprocessor system is further enhanced by the multiport
memory design, the conflict resolution network, and the
interleaved memory bank organization. on a system level,
the conflict resolution network and interleaved memory bank
design combine to minimize reference delays associated with
conflicts and to maintain the integrity of all memory

~ -41-
references to the same bank at the same time. More par-
ticularly, in many situations a pluralit~ of memory referen-
ces may be accomplished simultaneously through various
different ports. Furthermore, the conflict resolution net-
work provides for prioritizing reference requests wherebypotential conflicts may be avoided and lower priority
re~uests may be subordinated. According to still another
aspect of the multiport design, I/O references may proceed
through the I/O port for any processor independent of the
processor making the request, and for the case of high speed
I/O transfers to and from the SSD the I/O ports for both
processors may be employed to accomplish extremely high data
transfer rates.
On the processor level the multiport memory organi-
zation makes possible memory-to-memory data streaming opera-
tions, with port A or B handling vector fetch referènces
from the memory and port C handling vector store operations
concurrently. E'or example, two vector registers may be
loaded from the central memory through ports A and B at the
same time, while port C is simultaneously utilized to store
results from a vector register back into the central memory.
This operation greatly enhances the data streaming and pro-
cessing concurrence capabilities of the processor.
The data streaming capability of the present
! 25 multiprocessor system is also aided by the hardware automa-
tic flexible chaining capability of the vector registers.
Utilizing the odd-even memory bank organization in each vec-
tor register, a result vector register may be employed as an
operand register substantially irrespective of the clock
period on which the first result is received and of the rate
at which they are received. The organization of the vector
register memory further provides for the utilization of an
operand register as a result register, as each register is
provided with two independent addressing controls. Thus,
vector registers may be utilized in a more efficient manner
and in conjunction with a greater number of functional units

~g~
~ ~ -42- ~
in a concurrent manner, so that overall processing con-
currency is greatly enhanced. Since this flexlble chaining
capability is hardware automatic, processing speed is made
more software independent and similarly, programming
S complexity and overhead may be reduced.

Representative Drawing

Sorry, the representative drawing for patent document number 1242284 was not found.

Administrative Status

For a clearer understanding of the status of the application/patent presented on this page, the site Disclaimer , as well as the definitions for Patent , Administrative Status , Maintenance Fee  and Payment History  should be consulted.

Administrative Status

Title Date
Forecasted Issue Date 1988-09-20
(22) Filed 1984-04-24
(45) Issued 1988-09-20
Expired 2005-09-20

Abandonment History

There is no abandonment history.

Payment History

Fee Type Anniversary Year Due Date Amount Paid Paid Date
Application Fee $0.00 1986-10-22
Owners on Record

Note: Records showing the ownership history in alphabetical order.

Current Owners on Record
CRAY RESEARCH, INC.
Past Owners on Record
None
Past Owners that do not appear in the "Owners on Record" listing will appear in other documentation within the application.
Documents

To view selected files, please enter reCAPTCHA code :



To view images, click a link in the Document Description column. To download the documents, select one or more checkboxes in the first column and then click the "Download Selected in PDF format (Zip Archive)" or the "Download Selected as Single PDF" button.

List of published and non-published patent-specific documents on the CPD .

If you have any difficulty accessing content, you can call the Client Service Centre at 1-866-997-1936 or send them an e-mail at CIPO Client Service Centre.


Document
Description 
Date
(yyyy-mm-dd) 
Number of pages   Size of Image (KB) 
Drawings 1993-08-19 20 602
Claims 1993-08-19 6 288
Abstract 1993-08-19 1 45
Cover Page 1993-08-19 1 17
Description 1993-08-19 47 2,449