hades.models.mips.gui
Class TestMips

java.lang.Object
  extended byhades.models.mips.gui.TestMips

public class TestMips
extends java.lang.Object

TestMips - Text-based methods to simulate the Mips/IDT core


Field Summary
 Core core
           
(package private)  java.io.InputStream in
           
(package private)  java.io.PrintStream out
           
 ResetHandler resetHandler
           
 
Constructor Summary
TestMips()
           
 
Method Summary
 java.lang.String fillString(java.lang.String in, int len)
           
static void main(java.lang.String[] argv)
           
 void printDecode()
           
 void printMemoryPart(Memory mem, int start, int lines)
           
 void printPipeline()
           
 int splitInput(java.lang.String input, java.lang.String[] word)
           
 void workloop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

core

public Core core

resetHandler

public ResetHandler resetHandler

out

java.io.PrintStream out

in

java.io.InputStream in
Constructor Detail

TestMips

public TestMips()
Method Detail

printMemoryPart

public void printMemoryPart(Memory mem,
                            int start,
                            int lines)

printPipeline

public void printPipeline()

printDecode

public void printDecode()

fillString

public java.lang.String fillString(java.lang.String in,
                                   int len)

splitInput

public int splitInput(java.lang.String input,
                      java.lang.String[] word)

workloop

public void workloop()

main

public static void main(java.lang.String[] argv)