HAL  v4.5.0-83-g30c8f0afc
The Hardware Analyzer - a comprehensive reverse engineering and manipulation framework for gate-level netlists.
plugin_netlist_simulator.cpp
Go to the documentation of this file.
3 
4 namespace hal
5 {
6  std::string NetlistSimulatorPlugin::s_engine_name;
7 
8  extern std::unique_ptr<BasePluginInterface> create_plugin_instance()
9  {
10  return std::make_unique<NetlistSimulatorPlugin>();
11  }
12 
14  {
15  return std::string("hal_simulator");
16  }
17 
19  {
20  return std::string("0.1");
21  }
22 
24  {
25  return std::string("Deprecated HAL build-in simulation engine (for tests only)");
26  }
27 
28  std::set<std::string> NetlistSimulatorPlugin::get_dependencies() const
29  {
30  std::set<std::string> retval;
31  retval.insert("netlist_simulator_controller");
32  return retval;
33  }
34 
36  {
37  // constructor will register with controller
38  s_engine_name = (new NetlistSimulatorFactory)->name();
39  }
40 
42  {
44  }
45 }
std::string get_name() const override
std::string get_version() const override
std::set< std::string > get_dependencies() const override
std::string get_description() const override
void deleteFactory(const std::string nam)
static SimulationEngineFactories * instance()
Definition: defines.h:45
std::unique_ptr< BasePluginInterface > create_plugin_instance()
std::string name