OpenASIP
2.0
|
#include <GhdlSimulator.hh>
Public Member Functions | |
GhdlSimulator (std::string tbFile, std::vector< std::string > hdlFiles, bool verbose, bool leaveDirty) | |
virtual | ~GhdlSimulator () |
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 () |
Private Member Functions | |
bool | importFile (std::string file, std::vector< std::string > &errors) |
bool | compileDesign (std::vector< std::string > &errors) |
Additional Inherited Members | |
Protected Member Functions inherited from ImplementationSimulator | |
virtual std::string | createWorkDir () |
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) |
Definition at line 40 of file GhdlSimulator.hh.
GhdlSimulator::GhdlSimulator | ( | std::string | tbFile, |
std::vector< std::string > | hdlFiles, | ||
bool | verbose, | ||
bool | leaveDirty | ||
) |
Definition at line 44 of file GhdlSimulator.cc.
|
virtual |
Definition at line 52 of file GhdlSimulator.cc.
|
virtual |
Implements ImplementationSimulator.
Definition at line 55 of file GhdlSimulator.cc.
References FileSystem::changeWorkingDir(), compileDesign(), ImplementationSimulator::createWorkDir(), ImplementationSimulator::file(), ImplementationSimulator::hdlFileCount(), importFile(), ImplementationSimulator::tbDirectory(), ImplementationSimulator::tbFile(), and ImplementationSimulator::workDir().
|
private |
Definition at line 120 of file GhdlSimulator.cc.
References Application::runShellCommandAndGetOutput(), ImplementationSimulator::verbose(), and ImplementationSimulator::workDir().
Referenced by compile().
|
private |
Definition at line 108 of file GhdlSimulator.cc.
References ImplementationSimulator::file(), Application::runShellCommandAndGetOutput(), ImplementationSimulator::verbose(), and ImplementationSimulator::workDir().
Referenced by compile().
|
virtual |
Implements ImplementationSimulator.
Definition at line 80 of file GhdlSimulator.cc.
References FileSystem::changeWorkingDir(), FileSystem::fileExists(), ImplementationSimulator::parseErrorMessages(), Application::runShellCommandAndGetOutput(), ImplementationSimulator::tbDirectory(), ImplementationSimulator::verbose(), and ImplementationSimulator::workDir().