|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthades.models.mips.core.Core
All core parts including pipeline, registers, execution unit and memory managing unit are implemented here
Field Summary | |
Copro0 |
copro0
|
Coprocessor[] |
coproc
|
protected long |
cycleCounter
|
protected boolean |
debug
|
boolean |
firstHalf
|
InstrFrame[] |
instr
|
int |
instrPtr
|
InstrFrame |
iPtr0
|
InstrFrame |
iPtr1
|
InstrFrame |
iPtr2
|
InstrFrame |
iPtr3
|
InstrFrame |
iPtr4
|
InstrFrame |
iPtr5
|
InstrFrame |
iPtr6
|
InstrFrame |
iPtr7
|
AccessMemory |
mem
|
PartHandler |
partHandler
|
Registers |
reg
|
InstrFrame |
tmp
|
Constructor Summary | |
Core(ResetHandler resetHandler,
MipsMemory hadesInterface,
boolean standalone,
boolean fastAccessMemory)
|
Method Summary | |
boolean |
cycle()
Perform a half pipeline stage, if returns true, then internal breakpoint (SYSCALL) ocurred |
long |
getCycleCounter()
|
boolean |
getLog()
|
static void |
main(java.lang.String[] argv)
|
void |
por()
Power on reset or hardware reset |
void |
reset()
software reset |
void |
setCycleCounter(long newCycleCounter)
|
void |
setEntry(int entry,
int globalPointer)
EntryHandler interface, sets entry address if new file is loaded |
void |
setLog(boolean newDebug)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public AccessMemory mem
public Registers reg
public InstrFrame[] instr
public Coprocessor[] coproc
public PartHandler partHandler
public Copro0 copro0
public int instrPtr
public InstrFrame iPtr0
public InstrFrame iPtr1
public InstrFrame iPtr2
public InstrFrame iPtr3
public InstrFrame iPtr4
public InstrFrame iPtr5
public InstrFrame iPtr6
public InstrFrame iPtr7
public InstrFrame tmp
public boolean firstHalf
protected boolean debug
protected long cycleCounter
Constructor Detail |
public Core(ResetHandler resetHandler, MipsMemory hadesInterface, boolean standalone, boolean fastAccessMemory)
Method Detail |
public void por()
por
in interface Resetable
public void reset()
reset
in interface Resetable
public void setEntry(int entry, int globalPointer)
setEntry
in interface EntryHandler
public boolean cycle()
public void setLog(boolean newDebug)
public boolean getLog()
public void setCycleCounter(long newCycleCounter)
public long getCycleCounter()
public static void main(java.lang.String[] argv)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |