OpenASIP
2.0
|
#include <ModelsimSimulator.hh>
Public Member Functions | |
ModelsimSimulator (std::string tbFile, std::vector< std::string > hdlFiles, bool verbose, bool leaveDirty) | |
virtual | ~ModelsimSimulator () |
virtual bool | compile (std::vector< std::string > &errors) |
virtual bool | simulate (std::vector< std::string > &errors) |
Public Member Functions inherited from ImplementationSimulator | |
ImplementationSimulator (std::string tbFile, std::vector< std::string > hdlFiles, bool verbose, bool leaveDirty) | |
virtual | ~ImplementationSimulator () |
Protected Member Functions | |
virtual std::string | createWorkDir () |
Protected Member Functions inherited from ImplementationSimulator | |
void | setWorkDir (std::string dir) |
std::string | workDir () const |
std::string | tbDirectory () const |
std::string | tbFile () const |
int | hdlFileCount () const |
std::string | file (int index) const |
bool | verbose () |
void | parseErrorMessages (std::vector< std::string > &inputMsg, std::vector< std::string > &errors) |
Private Member Functions | |
bool | mapWorkDir (std::string file, std::vector< std::string > &errors) |
bool | compileOneFile (std::string file, std::vector< std::string > &errors) |
Definition at line 40 of file ModelsimSimulator.hh.
ModelsimSimulator::ModelsimSimulator | ( | std::string | tbFile, |
std::vector< std::string > | hdlFiles, | ||
bool | verbose, | ||
bool | leaveDirty | ||
) |
Definition at line 45 of file ModelsimSimulator.cc.
|
virtual |
Definition at line 53 of file ModelsimSimulator.cc.
|
virtual |
Implements ImplementationSimulator.
Definition at line 56 of file ModelsimSimulator.cc.
References FileSystem::changeWorkingDir(), compileOneFile(), createWorkDir(), ImplementationSimulator::file(), ImplementationSimulator::hdlFileCount(), ImplementationSimulator::tbDirectory(), ImplementationSimulator::tbFile(), and ImplementationSimulator::workDir().
|
private |
Definition at line 132 of file ModelsimSimulator.cc.
References ImplementationSimulator::file(), Application::runShellCommandAndGetOutput(), and ImplementationSimulator::verbose().
Referenced by compile().
|
protectedvirtual |
Reimplemented from ImplementationSimulator.
Definition at line 98 of file ModelsimSimulator.cc.
References FileSystem::DIRECTORY_SEPARATOR, mapWorkDir(), Application::runShellCommandAndGetOutput(), ImplementationSimulator::setWorkDir(), ImplementationSimulator::tbDirectory(), and ImplementationSimulator::verbose().
Referenced by compile().
|
private |
Referenced by createWorkDir().
|
virtual |
Implements ImplementationSimulator.
Definition at line 83 of file ModelsimSimulator.cc.
References ImplementationSimulator::parseErrorMessages(), Application::runShellCommandAndGetOutput(), and ImplementationSimulator::verbose().