3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-27 19:05:52 +00:00

Added call_on_selection() and call_on_module() API

This commit is contained in:
Clifford Wolf 2014-07-20 15:16:10 +02:00
parent 2e358bd667
commit 8d04ca7d22
4 changed files with 37 additions and 16 deletions

View file

@ -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();