com.cmpware.cmp.system.memory
Class DualCellBE

java.lang.Object
  extended by com.cmpware.cmp.SystemMemory
      extended by com.cmpware.cmp.system.memory.DualCellBE

public class DualCellBE
extends SystemMemory

This implements the memory architecture for the Cell BE processor. Currently, this sets of the SPE shared memory regions in the PPE. Note that while many memory models are parameterized and can be used with a variety of multiprocessor models, this is highly specific to the Cell BE and should not be used elsewhere.

Copyright (c) 2007 Cmpware, Inc. All Rights Reserved.

Author:
SAG

Field Summary
static int BP_BASE
          The start of the SPE shared memory
static int CELL_COUNT
          The number of Cell BEs
static java.lang.String copyright
          Copyright string
static int PPE_LOCAL_MEMORY_SIZE
          The size of the PPE Local Memory
static int SPE_LOCAL_MEMORY_SIZE
          The size of the SPE Local Memory (256K bytes)
static int SPE_MEMORY_RANGE
          The range in the SPU memory map occupied by the SPE Local Memory
static int SPE_PROBLEM_STATE_OFFSET
          The offset of the problem state area (256K bytes)
static int SPU_COUNT
          The number of SPUs
static int SPU_WrOutIntrMbox
           
static int SPU_WrOutMbox
           
 
Constructor Summary
DualCellBE()
           
 
Method Summary
 void configureMemory(Multiprocessor mp)
          This method is called to build and configure the memory system for the newly allocated processor array.
 
Methods inherited from class com.cmpware.cmp.SystemMemory
get
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

copyright

public static final java.lang.String copyright
Copyright string

See Also:
Constant Field Values

SPU_WrOutMbox

public static final int SPU_WrOutMbox
See Also:
Constant Field Values

SPU_WrOutIntrMbox

public static final int SPU_WrOutIntrMbox
See Also:
Constant Field Values

CELL_COUNT

public static int CELL_COUNT
The number of Cell BEs


SPU_COUNT

public static int SPU_COUNT
The number of SPUs


BP_BASE

public static int BP_BASE
The start of the SPE shared memory


SPE_MEMORY_RANGE

public static int SPE_MEMORY_RANGE
The range in the SPU memory map occupied by the SPE Local Memory


SPE_LOCAL_MEMORY_SIZE

public static int SPE_LOCAL_MEMORY_SIZE
The size of the SPE Local Memory (256K bytes)


SPE_PROBLEM_STATE_OFFSET

public static int SPE_PROBLEM_STATE_OFFSET
The offset of the problem state area (256K bytes)


PPE_LOCAL_MEMORY_SIZE

public static int PPE_LOCAL_MEMORY_SIZE
The size of the PPE Local Memory

Constructor Detail

DualCellBE

public DualCellBE()
Method Detail

configureMemory

public void configureMemory(Multiprocessor mp)
                     throws SystemMemoryException
Description copied from class: SystemMemory
This method is called to build and configure the memory system for the newly allocated processor array. In particular, shared memories should be allocated and connected to processors here. This method may also be used to adding additional banks of local memories or manipulating the default local memory, although this could also be done locally.

Specified by:
configureMemory in class SystemMemory
Parameters:
mp - The multiprocessor.
Throws:
SystemMemoryException - if there is a problem allocating or using the memory objects.