|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.cmpware.cmp.Link
com.cmpware.cmp.links.PipelineRegister
com.cmpware.cmp.links.CellBE_MailboxStatus
public class CellBE_MailboxStatus
This class extends the pipeline register. It is used to collect status from three other shared registers and provide status for the mailboxes in the Cell BE. Note that currently the SPU in mailbox status will return '1' if one or more values is available for read. This should not impact functionality.
Copyright (c) 2007 Cmpware, Inc. All Rights Reserved.
| Field Summary | |
|---|---|
static java.lang.String |
copyright
Copyright string |
protected CellBE_FIFO |
spuInMbox
The SPU in mail;box |
protected CellBE_SharedRegister |
spuOutMbox
The SPU out mailbox |
protected CellBE_SharedRegister |
spuOutMboxI
The SPU out mailbox with interrupts |
| Fields inherited from class com.cmpware.cmp.links.PipelineRegister |
|---|
readAddr, readCount, shadow, val, writeAddr, writeCount |
| Constructor Summary | |
|---|---|
CellBE_MailboxStatus(CellBE_SharedRegister spuOutMbox,
CellBE_SharedRegister spuOutMboxI,
CellBE_FIFO spuInMbox)
This constructor sets up the mailbox status port. |
|
| Method Summary | |
|---|---|
int |
read()
This method reads a value from the Memory Mapped IO port. |
void |
write(int val)
This method writes a word to the Memory Mapped IO. |
| Methods inherited from class com.cmpware.cmp.links.PipelineRegister |
|---|
getReadAddress, getReadCount, getReadStallCount, getValue, getWriteAddress, getWriteCount, getWriteStallCount, isReadable, isWriteable, readCommit, reset, setReadAddress, setWriteAddress, writeCommit |
| Methods inherited from class com.cmpware.cmp.Link |
|---|
get, setBufferSize |
| 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
protected CellBE_SharedRegister spuOutMbox
protected CellBE_SharedRegister spuOutMboxI
protected CellBE_FIFO spuInMbox
| Constructor Detail |
|---|
public CellBE_MailboxStatus(CellBE_SharedRegister spuOutMbox,
CellBE_SharedRegister spuOutMboxI,
CellBE_FIFO spuInMbox)
spuOutMbox - the SPU outbound mailboxspuOutMboxI - the SPU outbound mailbox wit interruptsspuInMbox - the SPU inbound FIFO mailbox| Method Detail |
|---|
public void write(int val)
throws MemoryMappedIOException
MemoryMappedIOWriter
write in interface MemoryMappedIOWriterwrite in class PipelineRegisterval - The value to write to the Memory Mapped IO.
MemoryMappedIOException - - this method throws
a MemoryMappedIOException if the write could not
be completed on this cycle. This will typically
cause a stall of the processor and a retry on the
next cycle.
public int read()
throws MemoryMappedIOException
MemoryMappedIOReader
read in interface MemoryMappedIOReaderread in class PipelineRegisterMemoryMappedIOException - - this method throws
a MemoryMappedIOException if the read could not
be completed on this cycle. This will typically
cause a stall of the processor and a retry on the
next cycle.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||