|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectde.michab.simulator.Port
A Port models a Chip's register cells. These may
be mapped into the memory space. This results in a forwarding of all memory
read/write accesses to the associated Chip's registers.
Chip| Constructor Summary | |
Port(Chip home,
int portId)
Creates an instance. |
|
| Method Summary | |
byte |
read()
Read a byte from this port. |
void |
write(byte value)
Write a byte to this port. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Port(Chip home,
int portId)
home - The Chip this Port belongs to.portId - The port number.| Method Detail |
public byte read()
Chip of this port.
read in interface Forwarderpublic void write(byte value)
Chip of this port.
write in interface Forwardervalue - The byte to be written.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||