|
HAL
v4.5.0-83-g30c8f0afc
The Hardware Analyzer - a comprehensive reverse engineering and manipulation framework for gate-level netlists.
|


Public Member Functions | |
| SimulationEngineScripted (const std::string &nam) | |
| virtual int | numberCommandLines () const =0 |
| virtual std::vector< std::string > | commandLine (int lineIndex) const =0 |
Public Member Functions inherited from hal::SimulationEngine | |
| SimulationEngine (const std::string &nam) | |
| virtual | ~SimulationEngine () |
| std::string | name () const |
| State | state () const |
| int | get_state () const |
| std::string | get_working_directory () const |
| void | set_working_directory (const std::string &workDir) |
| bool | clock_events_required () const |
| bool | can_share_memory () const |
| bool | install_saleae_parser (std::string dirname) const |
| virtual bool | setSimulationInput (SimulationInput *simInput)=0 |
| virtual void | setResultFilename (const std::string filename) |
| std::string | get_result_filename () const |
| virtual bool | finalize () |
| virtual void | failed () |
| virtual void | set_engine_property (const std::string &key, const std::string &value) |
| virtual std::string | get_engine_property (const std::string &key) |
| virtual const std::unordered_map< std::string, std::string > & | get_engine_properties () const |
| virtual SimulationInput * | get_simulation_input () const |
Additional Inherited Members | |
Public Types inherited from hal::SimulationEngine | |
| enum | State { Failed = -1 , Done = 0 , Running = 1 , Preparing = 2 } |
Protected Attributes inherited from hal::SimulationEngine | |
| bool | mRequireClockEvents |
| bool | mCanShareMemory |
| std::string | mResultFilename |
| State | mState |
| std::unordered_map< std::string, std::string > | mProperties |
| SimulationInput * | mSimulationInput |
| std::string | mWorkDir |
The base class for simulation engines that run as external processes driven by a sequence of shell commands.
Definition at line 257 of file simulation_engine.h.
|
inline |
Definition at line 262 of file simulation_engine.h.
|
pure virtual |
Must be implemented by derived class
Returns command and argument to be executed
| [in] | lineIndex | the line index of the script starting from 0 |
Implemented in hal::verilator::VerilatorEngine, and hal::DummyEngine.
|
pure virtual |
Must be implemented by derived class
Returns the information how many command lines are to be executed
Implemented in hal::verilator::VerilatorEngine, and hal::DummyEngine.