|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MemoryMappedIOWriter
This interface defines the write access to the Memory Mapped IO.
Copyright (c) 2004, 2005 Cmpware, Inc. All Rights Reserved.
| Field Summary | |
|---|---|
static java.lang.String |
copyright
Copyright string |
| Method Summary | |
|---|---|
int |
getValue()
This method returns the most recently written value of the Memory Mapped IO port. |
int |
getWriteAddress()
This method returns the processor address to which the write port of this Memory Mapped IO is mapped. |
int |
getWriteCount()
This method returns the number of times the write port has been accessed. |
int |
getWriteStallCount()
This method returns the number of times the write port has stalled. |
boolean |
isWriteable()
This method returns a true if the Memory Mapped IO port is currently writeable. |
void |
reset()
This abstract class is used to reset the link. |
void |
setWriteAddress(int addr)
This method sets the write address of the Memory Mapped IO. |
void |
write(int val)
This method writes a word to the Memory Mapped IO. |
void |
writeCommit()
All Memory Mapped IO writes are performed whenever data is available. |
| Field Detail |
|---|
static final java.lang.String copyright
| Method Detail |
|---|
void reset()
void write(int val)
throws MemoryMappedIOException
val - 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.void writeCommit()
void setWriteAddress(int addr)
addr - The Memory Mapped IO write address.int getWriteAddress()
int getWriteCount()
int getWriteStallCount()
boolean isWriteable()
int getValue()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||