Search in sources :

Example 1 with FileUtils

use of utils.io.FileUtils in project edumips64 by lupino3.

the class WebUi method init.

public void init() {
    // Simulator initialization.
    ConfigStore config = new InMemoryConfigStore(ConfigStore.defaults);
    memory = new Memory();
    symTab = new SymbolTable(memory);
    FileUtils fu = new NullFileUtils();
    IOManager iom = new IOManager(fu, memory);
    cpu = new CPU(memory, config, new BUBBLE());
    dinero = new Dinero();
    InstructionBuilder instructionBuilder = new InstructionBuilder(memory, iom, cpu, dinero, config);
    parser = new Parser(fu, symTab, memory, instructionBuilder);
}
Also used : BUBBLE(org.edumips64.core.is.BUBBLE) InstructionBuilder(org.edumips64.core.is.InstructionBuilder) InMemoryConfigStore(org.edumips64.utils.InMemoryConfigStore) ConfigStore(org.edumips64.utils.ConfigStore) InMemoryConfigStore(org.edumips64.utils.InMemoryConfigStore) FileUtils(org.edumips64.utils.io.FileUtils) NullFileUtils(org.edumips64.utils.io.NullFileUtils) NullFileUtils(org.edumips64.utils.io.NullFileUtils) Parser(org.edumips64.core.parser.Parser)

Aggregations

BUBBLE (org.edumips64.core.is.BUBBLE)1 InstructionBuilder (org.edumips64.core.is.InstructionBuilder)1 Parser (org.edumips64.core.parser.Parser)1 ConfigStore (org.edumips64.utils.ConfigStore)1 InMemoryConfigStore (org.edumips64.utils.InMemoryConfigStore)1 FileUtils (org.edumips64.utils.io.FileUtils)1 NullFileUtils (org.edumips64.utils.io.NullFileUtils)1