minor bug fix
This commit is contained in:
parent
2dd5f1d873
commit
f56369e7ff
|
@ -35,13 +35,9 @@ public class Simulator {
|
||||||
while(simulationComplete == false)
|
while(simulationComplete == false)
|
||||||
{
|
{
|
||||||
processor.getIFUnit().performIF();
|
processor.getIFUnit().performIF();
|
||||||
Clock.incrementClock();
|
|
||||||
processor.getOFUnit().performOF();
|
processor.getOFUnit().performOF();
|
||||||
Clock.incrementClock();
|
|
||||||
processor.getEXUnit().performEX();
|
processor.getEXUnit().performEX();
|
||||||
Clock.incrementClock();
|
|
||||||
processor.getMAUnit().performMA();
|
processor.getMAUnit().performMA();
|
||||||
Clock.incrementClock();
|
|
||||||
processor.getRWUnit().performRW();
|
processor.getRWUnit().performRW();
|
||||||
Clock.incrementClock();
|
Clock.incrementClock();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue