![]() |
HAL
|
#include <plugin_dataflow.h>
Public Member Functions | |
GuiExtensionDataflow ()=default | |
Default constructor for GuiExtensionDataflow . More... | |
std::vector< PluginParameter > | get_parameter () const override |
Get a vector of configurable parameters. More... | |
void | set_parameter (const std::vector< PluginParameter > ¶ms) override |
Set values for a vector of configurable parameters. More... | |
void | execute_function (std::string tag, Netlist *nl, const std::vector< u32 > &mods, const std::vector< u32 > &gats, const std::vector< u32 > &nets) override |
Execute the plugin on the given netlist. More... | |
virtual void | register_progress_indicator (std::function< void(int, const std::string &)> pif) override |
![]() | |
GuiExtensionInterface (const std::string &toplabel=std::string()) | |
virtual | ~GuiExtensionInterface () |
virtual std::vector< ContextMenuContribution > | get_context_contribution (const Netlist *nl, const std::vector< u32 > &mods, const std::vector< u32 > &gats, const std::vector< u32 > &nets) |
virtual void | netlist_loaded (Netlist *nl) |
virtual void | netlist_about_to_close (Netlist *nl) |
bool | is_contribution_enabled () const |
void | set_contribution_enabled (bool enabled) |
std::string | contribution_top_label () const |
![]() | |
AbstractExtensionInterface () | |
virtual | ~AbstractExtensionInterface () |
Static Public Attributes | |
static std::function< void(int, const std::string &)> | s_progress_indicator_function = nullptr |
Definition at line 53 of file plugin_dataflow.h.
|
default |
Default constructor for GuiExtensionDataflow
.
|
overridevirtual |
Execute the plugin on the given netlist.
All parameters but the netlist are ignored.
[in] | tag | - A tag (ignored). |
[in] | nl | - The netlist to operate on. |
[in] | mods | - Module IDs (ignored). |
[in] | gats | - Gate IDs (ignored). |
[in] | nets | - Net IDs (ignored). |
Reimplemented from hal::GuiExtensionInterface.
Definition at line 167 of file plugin_dataflow.cpp.
References hal::dataflow::analyze(), hal::clock, hal::enable, hal::ff, log_error, log_warning, hal::reset, s_progress_indicator_function, hal::set, UNUSED, hal::dataflow::Configuration::with_control_pin_types(), hal::dataflow::Configuration::with_expected_sizes(), hal::dataflow::Configuration::with_min_group_size(), and hal::dataflow::Configuration::with_stage_identification().
|
overridevirtual |
Get a vector of configurable parameters.
Reimplemented from hal::GuiExtensionInterface.
Definition at line 109 of file plugin_dataflow.cpp.
References hal::PluginParameter::Boolean, hal::PluginParameter::ExistingDir, hal::PluginParameter::Integer, hal::PluginParameter::PushButton, and hal::PluginParameter::String.
|
overridevirtual |
Register function to indicate work progress when busy
pif | Progress Indicator Function to register |
Reimplemented from hal::GuiExtensionInterface.
Definition at line 232 of file plugin_dataflow.cpp.
References s_progress_indicator_function.
|
overridevirtual |
Set values for a vector of configurable parameters.
[in] | params | - The parameters including their values. |
Reimplemented from hal::GuiExtensionInterface.
Definition at line 123 of file plugin_dataflow.cpp.
|
static |
Definition at line 104 of file plugin_dataflow.h.
Referenced by execute_function(), hal::dataflow::ProgressPrinter::print_progress(), and register_progress_indicator().