OpenASIP
2.0
|
#include <iostream>
#include "TestOsal.hh"
#include "Operation.hh"
#include "Conversion.hh"
#include "SimValue.hh"
#include "Application.hh"
#include "LineReader.hh"
#include "LineReaderFactory.hh"
#include "CmdHelp.hh"
#include "StringTools.hh"
#include "InterpreterContext.hh"
#include "OperationSimulator.hh"
#include "IdealSRAM.hh"
#include "BaseType.hh"
#include "TCEString.hh"
#include "tce_config.h"
#include "OperationBehavior.hh"
#include "OperationPool.hh"
Go to the source code of this file.
Functions | |
void | executeCommand (OsalInterpreter &interpreter, string command) |
int | main (int argc, char *argv[]) |
void executeCommand | ( | OsalInterpreter & | interpreter, |
string | command | ||
) |
Executes given command with interpreter.
interpreter | Interpreter which executes the command. |
command | The command to be executed. |
True, if result is printed. |
Definition at line 1039 of file TestOsal.cc.
References SimpleScriptInterpreter::interpret(), and ScriptInterpreter::result().
Referenced by main().
int main | ( | int | argc, |
char * | argv[] | ||
) |
Main program.
Definition at line 942 of file TestOsal.cc.
References ScriptInterpreter::addCustomCommand(), CmdLineParser::argument(), TesterContext::cont(), SimpleScriptInterpreter::context(), Exception::errorMessage(), executeCommand(), ScriptInterpreter::finalize(), SimpleScriptInterpreter::initialize(), LineReader::initialize(), SimpleScriptInterpreter::interpret(), LineReaderFactory::lineReader(), CmdLineParser::numberOfArguments(), TesterContext::operationContext(), options, CmdLineOptions::parse(), LineReader::readLine(), OperationContext::setMemory(), and StringTools::trim().