34 log(
" proc [options] [selection]\n");
36 log(
"This pass calls all the other proc_* passes in the most common order.\n");
39 log(
" proc_rmdead\n");
46 log(
"This replaces the processes in the design with multiplexers and flip-flops.\n");
48 log(
"The following options are supported:\n");
50 log(
" -global_arst [!]<netname>\n");
51 log(
" This option is passed through to proc_arst.\n");
56 std::string global_arst;
58 log_header(
"Executing PROC pass (convert processes to netlists).\n");
62 for (argidx = 1; argidx < args.size(); argidx++)
64 if (args[argidx] ==
"-global_arst" && argidx+1 < args.size()) {
65 global_arst = args[++argidx];
75 if (global_arst.empty())
78 Pass::call(design,
"proc_arst -global_arst " + global_arst);
void log_header(const char *format,...)
#define PRIVATE_NAMESPACE_BEGIN
virtual void execute(std::vector< std::string > args, RTLIL::Design *design)
#define PRIVATE_NAMESPACE_END
#define USING_YOSYS_NAMESPACE
void log(const char *format,...)
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)