|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.cmpware.cmp.Network
com.cmpware.cmp.networks.Ring
public class Ring
This implements a ring network. It assumes a single row of processors. Each processor also contains a "null device" which is an unsynchronized pipeline register which goes nowhere. This is often useful in software for terminating a data stream.
Copyright (c) 2007 Cmpware, Inc. All Rights Reserved.
| Field Summary | |
|---|---|
static java.lang.String |
copyright
Copyright string |
static int |
DEV_NULL
The address of the 'null device' IO register |
static int |
EAST
The address of the 'east' IO register |
static int |
IO_ANCHOR
The start address of the IO registers |
static int |
WEST
The address of the 'west' IO register |
| Constructor Summary | |
|---|---|
Ring()
|
|
| Method Summary | |
|---|---|
void |
connectNetwork(Multiprocessor mp,
java.lang.String linkName)
This method is called to build the interconnection network for the newly allocated processor array. |
| Methods inherited from class com.cmpware.cmp.Network |
|---|
get |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String copyright
public static int IO_ANCHOR
public static int EAST
public static int WEST
public static int DEV_NULL
| Constructor Detail |
|---|
public Ring()
| Method Detail |
|---|
public void connectNetwork(Multiprocessor mp,
java.lang.String linkName)
throws LinkException
Network
connectNetwork in class Networkmp - The multiprocessor to be connected.linkName - The name of the link type to be used
to build this network. This shouyld be a
fully qualified class name. This parameter
may or may not be used in this method, depending
on the type of network constructed.
LinkException - if there is a problem allocating
or using the Link objects.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||