|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectde.michab.simulator.DefaultChip
This is a helper class providing a default implementation for the memory attribute and a simple port array factory.
| Constructor Summary | |
DefaultChip()
|
|
| Method Summary | |
protected Port[] |
createPorts(int numOfRegs)
This creates an array of Ports tied to the Chip.
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface de.michab.simulator.Chip |
getPorts, reset |
| Methods inherited from interface de.michab.simulator.Addressable |
read, write |
| Constructor Detail |
public DefaultChip()
| Method Detail |
protected final Port[] createPorts(int numOfRegs)
Ports tied to the Chip.
A write operation on the Port is forwarded to
Chip.write(). Just a helper, can be used by subclasses but
not overridden.
numOfRegs - The number of registers to be supported.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||