|
||||||||||
| 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.LinearArray
public class LinearArray
This implements Linear Array network. Because the underlying processor array is two-dimensional, this network "snakes" through the array starting at node(0,0) and ending at node(n,n). To avoid 'dangling' links, the last node(n,n)is connected to the first node(0,0) producing a 'circle'.
Copyright (c) 2004 Cmpware, Inc. All Rights Reserved.
| Field Summary | |
|---|---|
static int |
EAST
The address of the 'east' IO register |
static int |
IO_ANCHOR
The start address of the IO registers |
static int |
NORTH
The address of the 'north' IO register |
static int |
SOUTH
The address of the 'south' IO register |
static int |
WEST
The address of the 'west' IO register |
| Fields inherited from class com.cmpware.cmp.Network |
|---|
copyright |
| Constructor Summary | |
|---|---|
LinearArray()
|
|
| 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 int IO_ANCHOR
public static int NORTH
public static int EAST
public static int SOUTH
public static int WEST
| Constructor Detail |
|---|
public LinearArray()
| 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 | |||||||||