diff options
author | Clifford Wolf <clifford@clifford.at> | 2014-07-20 15:16:10 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2014-07-20 15:33:06 +0200 |
commit | 8d04ca7d22e375fbe075dee1f189669046ee8906 (patch) | |
tree | c6c33cff1313f961891dc5b58a89a27615656996 /kernel/register.h | |
parent | 2e358bd6678aba687908fe4a359c82aa5dff110d (diff) | |
download | yosys-8d04ca7d22e375fbe075dee1f189669046ee8906.tar.gz yosys-8d04ca7d22e375fbe075dee1f189669046ee8906.tar.bz2 yosys-8d04ca7d22e375fbe075dee1f189669046ee8906.zip |
Added call_on_selection() and call_on_module() API
Diffstat (limited to 'kernel/register.h')
-rw-r--r-- | kernel/register.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/kernel/register.h b/kernel/register.h index f3d3f70ae..b07c46177 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(); |