summaryrefslogtreecommitdiff
path: root/kernel/register.h
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2014-07-20 15:16:10 +0200
committerClifford Wolf <clifford@clifford.at>2014-07-20 15:33:06 +0200
commit8d04ca7d22e375fbe075dee1f189669046ee8906 (patch)
treec6c33cff1313f961891dc5b58a89a27615656996 /kernel/register.h
parent2e358bd6678aba687908fe4a359c82aa5dff110d (diff)
Added call_on_selection() and call_on_module() API
Diffstat (limited to 'kernel/register.h')
-rw-r--r--kernel/register.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/kernel/register.h b/kernel/register.h
index f3d3f70a..b07c4617 100644
--- a/kernel/register.h
+++ b/kernel/register.h
@@ -60,8 +60,11 @@ struct Pass
static void call(RTLIL::Design *design, std::string command);
static void call(RTLIL::Design *design, std::vector<std::string> args);
- static void call_newsel(RTLIL::Design *design, std::string command);
- static void call_newsel(RTLIL::Design *design, std::vector<std::string> args);
+ static void call_on_selection(RTLIL::Design *design, const RTLIL::Selection &selection, std::string command);
+ static void call_on_selection(RTLIL::Design *design, const RTLIL::Selection &selection, std::vector<std::string> args);
+
+ static void call_on_module(RTLIL::Design *design, RTLIL::Module *module, std::string command);
+ static void call_on_module(RTLIL::Design *design, RTLIL::Module *module, std::vector<std::string> args);
static void init_register();
static void done_register();