30 Pass(std::string name, std::string
short_help =
"** document me **");
48 void cmd_error(
const std::vector<std::string> &
args,
size_t argidx, std::string msg);
77 virtual void execute(std::istream *&f, std::string filename, std::vector<std::string>
args,
RTLIL::Design *design) = 0;
80 void extra_args(std::istream *&f, std::string &filename, std::vector<std::string>
args,
size_t argidx);
93 virtual void execute(std::ostream *&f, std::string filename, std::vector<std::string>
args,
RTLIL::Design *design) = 0;
95 void extra_args(std::ostream *&f, std::string &filename, std::vector<std::string>
args,
size_t argidx);
void cmd_error(const std::vector< std::string > &args, size_t argidx, std::string msg)
virtual void run_register()
void cmd_log_args(const std::vector< std::string > &args)
void handle_extra_select_args(Pass *pass, std::vector< std::string > args, size_t argidx, size_t args_size, RTLIL::Design *design)
static std::string last_here_document
#define YOSYS_NAMESPACE_END
static void frontend_call(RTLIL::Design *design, std::istream *f, std::string filename, std::string command)
std::string frontend_name
std::map< std::string, Frontend * > frontend_register
virtual void execute(std::vector< std::string > args, RTLIL::Design *design)=0
static FILE * current_script_file
void extra_args(std::ostream *&f, std::string &filename, std::vector< std::string > args, size_t argidx)
static void backend_call(RTLIL::Design *design, std::ostream *f, std::string filename, std::string command)
virtual void execute(std::vector< std::string > args, RTLIL::Design *design) YS_OVERRIDE YS_FINAL
static std::vector< std::string > next_args
std::map< std::string, Backend * > backend_register
virtual void execute(std::vector< std::string > args, RTLIL::Design *design) YS_OVERRIDE YS_FINAL
static void done_register()
virtual void run_register()
Pass(std::string name, std::string short_help="** document me **")
Backend(std::string name, std::string short_help="** document me **")
#define YOSYS_NAMESPACE_BEGIN
static void call_on_module(RTLIL::Design *design, RTLIL::Module *module, std::string command)
pre_post_exec_state_t pre_execute()
virtual void run_register()
static void init_register()
static void call_on_selection(RTLIL::Design *design, const RTLIL::Selection &selection, std::string command)
std::map< std::string, Pass * > pass_register
void extra_args(std::vector< std::string > args, size_t argidx, RTLIL::Design *design, bool select=true)
static void call(RTLIL::Design *design, std::string command)
void extra_args(std::istream *&f, std::string &filename, std::vector< std::string > args, size_t argidx)
Frontend(std::string name, std::string short_help="** document me **")
void post_execute(pre_post_exec_state_t state)